The following tutorial illustrates how to handle onMouseMove, onMouseDown, onMounseUp events. NOTE: Minimum Flash Designer version 5.0.17 (verify revision number under “Help” > “About…”, download update if required) Launch Flash Designer and choose “Blank document” from the startup screen. Choose “Edit Field tool” and draw a rectangle to create edit text object. Edit field should [...]
Archive | Actionscript 3.0 Tutorial RSS feed for this section
How to Modify shape color with ActionScript
January 9, 2010
Follow the steps below: Launch Flash Designer and create a blank document. Set the frame delay to “Stop” (“Frame” > “Frame Delay”). Size the frame at about 300×300 (“Frame” > “Frame Size”). Draw 2 circles with the “Ellipse Tool”. Select both shapes (Ctrl+A). Choose “Item” > “Line Width” > “None”. choose “Edit” > “Convert to [...]
How to Pass arguments to Flash movie from ASP or PHP
January 9, 2010
Pass arguments to Flash movie. To pass parameters use query string after the name of SWF file. In the following example a query string was used: <PARAM NAME=”MOVIE” VALUE=”t1039.swf?parameter1=123456789″> and <EMBED SRC=”t1039.swf?parameter1=123456789″ To use a parameter in Flash movie follow the steps below: Launch Flash Designer and create a blank document. Set the frame delay [...]
How to Create scroll buttons: automatic flash scroll
January 7, 2010
Create automatic scroller. The text will scroll when you move the mouse over the arrows. Follow the steps below: Launch Flash Designer and create a blank document. Set the frame delay to “Stop” (“Frame” > “Frame Delay”). Size the frame at about 300×200 (“Frame” > “Frame Size”). Create a new dynamic text paragraph and enter [...]
How to Call frames in an external Flash movie
January 7, 2010
Calling frames in dynamic movie Display frames of external swf file with gotoAndStop and gotoAndPlay commands Minimum Flash Designer version 5.0.22.5. Create main movie: Create a new document and set the size to 500 x 400 (“Frame” > “Frame Size”) Set “Frame 1″ to “Stop” (“Frame” > “Frame Delay” and check “Stop”, click OK) Draw [...]
How to Add Play, Stop, Fast Forward and Rewind buttons to external video
January 7, 2010
Control how external movies play with stop and play buttons Launch Flash Designer and set frame size at 300 x 300 (Frame > Frame Size) Change frame to stop (Frame > Frame Delay and check Stop) Choose “Insert” > “Flash” Type the path to your video file or use the test file “http://www.flashdesignerzone.com/testvideo.swf” Choose Item [...]
How To Insert dynamic Video or Flash movie
January 7, 2010
Insert dynamic Video or Flash movie (external SWF file) Display external Flash file inside Flash Designer movie. You have to convert Video files (mpeg or avi) to SWF format before you can import them. Minimum Flash Designer version 5.0.22.5. Verify your version under Help > About. Create main movie: Create a new document and set [...]
How to Mail flash form with actionscript
January 7, 2010
Use PHP code to send email directly from Flash Create the form: Create a new document and set the size to 400 x 300 (“Frame” > “Frame Size”) or other Set “Frame 1″ to “Stop” (“Frame” > “Frame Delay” and check “Stop”, click OK) Create edit fields and labels Double click each edit field to [...]
How to Create snowfall effect
January 7, 2010
Launch Flash Designer and set movie dimensions 400 x 300 (or any desired). Change frame delay to “Stop”. Add new frame, change “Frame 1″ to “Master Frame (1)” Go to “Frame 1″, select “Master Frame (1)” as the background: Create a snowflake Go to “Frame 1″ Draw ellipse about 16×16 pixels, set line width to [...]
How to Create flying hearts effect
January 7, 2010
Download the source here Launch Flash Designer and set movie dimensions 500 x 500 (or any desired). Change frame delay to “Stop”. Add new frame, change “Frame 1″ to “Master Frame (1)” Go to “Frame 1″, select “Master Frame (1)” as the background: Create a heart Go to “Frame 1″ Choose “Insert” > “Shape or [...]
How to Use FSCommand with the browser.
January 5, 2010
FScommand doesn’t work when the movie plays in a browser. FScommand works only with Macromedia standalone projector. This tutorial describes how to create a “quit button” and use fscommand to communicate with the browser Example of fscommand:quit SOLUTION Step 1: Add the following JavaScript handler to your HTML page: <SCRIPT LANGUAGE=JavaScript> <!– function flashMovie_DoFSCommand(command, args) [...]
Create glass-like buttons
January 4, 2010
Create button base Launch Flash Designer and choose “blank document” Choose “Ellipse” tool and draw button surface hold CTRL to draw a circle Position the circle, choose “Edit” > “Move To” and enter x:75, y:46, width:65, height:65, click OK Choose “Item” >”Line Width” > “4px” Choose “Item” > “Gradient Fill” Choose “Vertical” Click “Top Color” [...]
Create Illuminated buttons
January 4, 2010
Launch Alligator Flash Designer and choose Blank Set movie dimensions 700 x 150 (or any desired) with Frame > Frame Size Change frame delay to “Stop”. Change background color to black “Frame” > “Background Color” Draw an ellipse 100 x 100 pixels (Step 1) Choose Item > Gradient Fill Setup the gradient: (Step 2) Custom [...]
Create a flash scroll text
January 3, 2010
The following tutorial illustrates how to create scrollable text object and use ActionScript to scroll the text up or down. Launch Flash Designer and choose “Blank document” from the startup screen. Choose “HTML Text tool” and draw a rectangle to create blank HTML text object. This will be the text to scroll. Type some text [...]
Create and validate a form in Flash
January 3, 2010
Create dynamic text fields in Flash and send them by email . Minimum Flash Designer version 5.0.22. Create a new document and set the size to 400 x 300 (“Frame” > “Frame Size”) Set “Frame 1″ to “Stop” (“Frame” > “Frame Delay” and check “Stop”, click OK) Draw 2 edit fields with the “Edit field” [...]
Flash Digital clock
January 3, 2010
Display current date and time in a Flash movie. Launch Flash Designer and choose “Blank”. Set frame size to 300 x 100 (“Frame” > “Frame Size”) Create 2 edit fields with the “Edit Field” tool (they should appear as Edit1 and Edit2, if necessary rename edit fields: double click each field and change “variable name”) [...]
Basic to ActionScript
January 3, 2010
You need Flash Designer installed. The following tutorial illustrates the simplest ActionScript code. Launch Flash Designer and choose “Blank document”. Choose “Edit Field” tool and draw a rectangle to create a new edit text object. The Edit field should appear as “Edit1″.g Choose “Frame” > “Frame Delay”, check “Stop” and click OK. Choose “Frame” > [...]

January 9, 2010
0 Comments