ActionScript 3.0 Tutorials

1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic by 3 people | Log in to rate

Ranked #195 in Games, #3,829 overall

FREE Flash CS4 Tutorial and ActionScript 3.0 Tutorial!

This is you new home page for FREE Flash Tutorials, Flash CS4 Tutorial and ActionScript 3.0 Tutorials.

FREE Flash CS3 and CS4 Tutorials 

Flash CS3, CS4 and ActionScript 3.0

Here are a bunch of links to great FREE Flash and ActionScript Tutorials.
FREE Flash CS4 Tutorials
Here is a growing list of FREE Flash CS3 and CS4 tutorials including ActionScript 3.0. New Tutorials are added Daily.
Flash CS4 Naming Basics
he very basics of ActionScript are the objects and classes. Sound, Graphic and Text are a few examples of Data Type Objects. A data object can pull information from a source of you choice, such as an array, XML or simply the time. All objects belong to a larger group referred to as classes. Flash has prebuilt class that help flash understand how to handle data. such as Array, Math, Sound and Video.
Function within ActionScript 3.0
In Flash Functions enable ActionScript to reuse certain pieces of code over and over.

When building a function you start the line of code with the word function then the name of the function (basically whatever you want), a pair of parentheses and curly braces. What you want the function to do is contained inside the curly braces.
Flash Tutorial, Loops
When you are dealing with a lot of data, you without a doubt will run into the need to use a loop. Lets say you wanted to attach a movieClip to the stage. If its just a few clips it won't form a problem, but what if you wanted to attach a lot more clips?
How to use Event Listeners in Flash
In Flash an event is something that happens, such as a mouse click that Flash can respond to. Events are often things a user does, such as pressing a key or moving the mouse, but events do not have to be user initiated. A function ending or a sound playing can also trigger a response from Flash. Flash and ActionScript needs a way to detect and respond to these events. An event listener or event handler is created to give your object the ability to hear. In basic terms an event lister is something that tells Flash to do this when that happens. Sounds similar to a function, but this event can be user initiated.
How to Create a Drop Down Menu in Flash
I created a basic button for you. I want you to insert a new MovieClip and call it button_mc. in the time line I want you to create 2 new layers. Label the top layer "actions" the next layer "labels" and the last layer "buttons." You do not have to label layers for the movie to work but it is a good practice that I want to help get you in the habit of doing. Select the first Key Frame in the buttons layer and drag an instance of the dropDown_btn that I created for you, to the stage.
Flash Tutorial, Functions
Flash Tutorial covering keyboard controls, In this tutorial you will learn how to control an object with the arrow keys.

Here is a sample of a great FREE Flash Tutorial 

you can download the source files for this FREE Flash Tutorial at FrenchSquared.com

Functions
Functions enable ActionScript to reuse certain pieces of code over and over. You can define some set of action within a function and then call that function whenever you need the code to run.

When building a function you start the line of code with the word function then the name of the function (basically whatever you want), a pair of parentheses and curly braces. What you want the function to do is contianed inside the curly braces.
To call the function you simple need to call it by name, such as aName().

Construct a function
Click on the first key frame on the time line layer called actions and press F9 to open the actions panel.

then add the following code:

function textArea(){
var myText:TextField = new TextField();
myText.text = "F2 Training";
this.addChild(myText);
};
textArea();

function textArea() creates a new function called textArea. var myText creates a new variable called myText, :TextField is data typing which tells flash and programs what type of data will be contained within the variable you just created.
= new TextField(); defines the variable myText as having the value of new TextField(); The next line of code myText.text = "F2 Training". Is telling Flash that the variable myText has a .text property and that it's value is "F2 Training". This is basically the same as drawing a text field on the stage, naming it myText and then typing F2 Training inside that text field. The differance is that this text field is dynamically controlled and can be called on whenever it may be needed. The last line this.addChild(myText); simple adds the new text field myText to the stage and then places the value inside that text field.

My favorite Flash Related Websites 

Flash CS3 Tutorial, ActionScript 3.0

Check out some of my favorite Flash CS3 related websites

Loading Fetching RSS feed... please stand by

FREE Flash Tutorials on Video 

Check out these graet FREE FLash CS3 Tutorials

The Best Flash Tutorial Videos available on the web.
YouTube thumbnail
Adobe Flash Tutorial -- Basic ...

Runtime: 9:18 | 395602 views | Comments

YouTube thumbnail
KnowFlash.com - Create A Carto...

Runtime: 6:50 | 342425 views | Comments

YouTube thumbnail
Scrolling Thumbnails w/ Mouse ...

Runtime: 30:35 | 260755 views | Comments

YouTube thumbnail
FlashLearner.com - How To Make...

Runtime: 15:11 | 49660 views | Comments

YouTube thumbnail
Flash Tutorial : Learn how to ...

Runtime: 30:10 | 131658 views | Comments

YouTube thumbnail
Flash CS4 Tutorial: How To Mot...

Runtime: 5:17 | 41146 views | Comments

YouTube thumbnail
Flash Tutorial :: Learn how to...

Runtime: 32:50 | 110841 views | Comments

YouTube thumbnail
Advanced glint shine light eff...

Runtime: 11:12 | 14519 views | Comments

YouTube thumbnail
Import/Export Flv Video: Flash...

Runtime: 19:56 | 46404 views | Comments

automatically generated by YouTube"

by FrenchSquared

Gordon French is a Flash Programmer and Flash Designer. Check out My site at
Gordon French
Flash Tutorials
F2-4Kids.com.com
IT Admin
CSS How To (more)

Explore related pages

Create a Lens!