Showing posts with label Actionscript. Show all posts
Showing posts with label Actionscript. Show all posts

Creating Clothing Store Applications (Online Shop)

Hey guys,
This time i want to share with You relating to making look Applications or inside English people is known as the web look ? : D.
Make it simple, and just need a lot of designs. Suitable for you when they want to make an online application store. Consumers can see the models and skewer with the body, so there is no doubt when they want to buy.

While this application that I even have developed depends offline. I use the programming language is ActionScript 3.0. Do not be afraid to Adobe Flash, many words assume adobe flash has been destroyed. Adobe Flash can still use well, such as making Android applications, and create animations.

Flash tutorial - How to Make Clothing Store Applications?


I will not explain much about the process of making this Clothing Store. Because of its file .fla you can get for free.

Here's the view from the Application Store Clothes I made:

store application
image 1-open application
Enter the OPEN button you will be shown two choices: Male and Female.

store application
image 2-button male and female

Male

Male, buttons that lead to the window menswear.
Entering the Male button you are given with four selections you will be ready to choose the clothes and conjointly the colour of the clothes merely that you just simply like, in addition you will be ready to in addition add designs for clothes.
below you can see for male

store application
image 3 - male costume

Female

Female, window buttons that result in women's consumer goods.
Just like Male, within the feminine you furthermore may will select the garments and also the color of garments, and you'll be able to add garments style.

Below the show to suit women:

store application
image 4 - female costume
You can develop this project much better. Hopefully this article useful, congratulations coding
From the above article may be useful. And could you get the tutorial linked below :
>> Download here

Flash tutorial || Tutorial Flash || Animation and Game || Actionscript 3.0 || Android tutorials



Creating Game Score - Actionscript 3.0

Game may be a digital game that ar rising in the contemporary world. Game Become Necessary as a way of amusement or as a way of relieving fatigue shortly. the passion of the developers still produce creative potential games so players do not get bored, and most well-liked to stay trustworthy to play Reviews their game created. every game features a definite score, as a result of the score to Determine or measure the power of a player.
creating score game
creating score game

How to Make Game Score?

Here I will give you a tutorial on how to make the score in the game. As in the picture below:

game score
game score
In the picture above there is a score column. The name of the column is skor_txt agencies, Classic Text, using the Dynamic Text.

 
create layer
layer

The following script fragment typed in frame 1, layer player:

import flash.events.Event;
stop();


var skorgame:Number=0;

skor_txt.text=""+skorgame;

stage.addEventListener(Event.ENTER_FRAME,stagemc);

function stagemc(e:Event):void{    
skorgame++;    
skor_txt.text=""+skorgame; 

In the higher than script fragment score can increase ceaselessly (incremented by 1). This happens as a result of the employment skorgame ++, if victimization skorgame-- score can still decrease.

~ The test program by pressing Ctrl + Enter.

Explanation :

skorgame ++, together with skorgame = skorgame + 1;

How Adding Score Based on Time?

 
From the above title "How Adding Score Based on Time?", A score that I made this time about how a score value increases after a certain time. As an example :

Score will increase by 1 (one) after 10 seconds, 10 seconds later the score increased again to 2 (two), and so on.

A fragment of the script to score based on time:
 


import flash.events.Event;
stop();


var skorgame:Number=0;

var waktu:Number=0;
skor_txt.text=""+skorgame;
 

stage.addEventListener(Event.ENTER_FRAME,stagemc);
function stagemc(e:Event):void{   
waktu++;    
  if(waktu==20){ 
    skorgame++;        
    skor_txt.text=""+skorgame;         
    waktu=0;    
  }
}


~ Testing program by pressing Ctrl + Enter.

Explanation:

var time: Number;, a variable used to determine the time.

then the event is written with time ++; -> Time will continue to increase by 1 (one), and then forwarded to if (condition), -> writing if (a == 20), if the time count reaches 20, the score will increase by 1 (one). After a period up to 20 (twenty) the time value will be returned to 0 (zero), and then re-calculate a score from 0 to 20, and so on.

Download here

Flash Tutorial || Animation and Game || Free download tutorials

ActionScript 3 fundamentals: Syntax

ActionScript 3 fundamentals: Syntax

The syntax of a programming language is the set of rules you must follow when writing code. Syntax error are some of the most common errors made by developers, especially when they are first leaning a language. Typically, the compiler connot compile code that contains syntax errors. One thing to keep in mind - syntax does not provide information on the meaning behind the symbols or structure in your code.

In this article, you will learn the syntax of Actionscript 3.0 :

Case Sensitivity


Actionscript 3.0 is a case-sensitive language. Identifiers that differ only in case are considered different indetifiers.

var exampleVariable:int;
var ExampleVariable:int;

Looping "For" in Actionscript 3.0 (Part 2)

Looping "For" in Actionscript 3.0 (Part 2)

This time the update statement increments the iteration variable by 5. The loop will stop once is no longer less than 20.

   for(var i:int=0; i<20; i+=5){
      trace(i);
   }
   //output 0 5 10 15


The for loop in the function below instantiates a new instance of a TextField duing each iteration. The iteration variable is used to set the x and y position of each instance. Because I changes each iteration, the x and y position will be different for each instance.
Break And Continue

Break And Continue

Break

The break statement stops the loop immediately. Code in the loop body following the break statement is not executed. Break stops the loop over if the result of the conditional expression in your loop is true.

Example :

   for(var i:int=1; i<23; i+=4){
      if(i==13){
        break;
      }
      trace(i);
   } //output 1 5 9

Writing Actionscript in Flash


In this tutorial I will explain the pattern of writing Actionscript in Flash with actionscript 2.0.



A. Pattern writing actionscript in button

1. Create a new text object on the stage by using the Text Tool (T).


2. The next phase of the object change into a button  by pressing F8 or select the convert to the Symbol (right-click on the stage).