FlasherDotOrg FlasherDotOrg FlasherDotOrg
FlasherDotOrg
FlasherDotOrg
FlasherDotOrg
Set Up
Return to the Tutorials page
 

Goal: Create two folders to hold tutorial Flash & ActionScript files, then set the Line Numbers & Word Wrap options in the Actions panel.

Flash version: Flash 9 Professional



In this tutorial we will create the folders that will contain each tutorial file and ensure that the Actions panel's Line Numbering & Word Wrap options are selected.

The first function applies a glow filter to the button on a roll over. The second function removes the glow filter. The third function adds a text field on the stage. The fourth function moves the text field diagonally across the stage. The fifth function blurs the text. The sixth function removes the text field from the stage.


Pre-requisites
A very basic, general knowledge of AS3.0 Foundation Basics (i.e. packages, how .AS files are set up, target paths, etc.). The ActionScript 3.0 Foundation Elements can be found in the Members' Section. If this still does not answer your questions, feel free to place your question on the FlasherDotOrg email chat group (for Members only).


Set Up: Create folders
Flash has begun relying more and more heavily on dynamically created elements (created at run-time once the published movie has begun to play). This allows you total control and keeps movie size to a minimum.

In general there are usually two files needed to create a Flash movie: the Flash (FLA) file and the ActionScript (AS) file. The FLA file is where pre-made objects like graphics are stored in the movie's library and where frame by frame animations can be created using the traditional Timeline. The AS file is where the code is stored.

The following tutorials were designed to be completed in order and will be housed in the same folders throughout. On your computer create a folder named FlasherAS3_PartI. Next create a subfolder inside it and name that subfolder Code.



Set Line Numbering & Word Wrap options
Open Flash 9.
(Note all tutorials were created with Flash 9 Professional in mind and all FLA source files are Flash 9 documents.)

Open a new Flash File (ActionScript 3.0) and open the Actions panel (F9). In the upper right corner is a black, down arrow. Press it to launch the menu.

image 01


Throughout these tutorials we will be using the default settings with two exceptions. First, select the Line Numbers option. The following tutorials frequently refer to a particular line of code by its line number.

Secondly, select the Word Wrap option. No matter how long the line of code is, it will retain the same line number.

image 02


Close the Flash file.



The First Tutorial
On to the first tutorial, Creating Lines & Curves! [ Creating Lines & Curves tutorial ]

 
FlasherDotOrg
FlasherDotOrg