Archive | Actionscript 3.0 Tutorial RSS feed for this section

onMouseMove, onMouseDown, onMouseUp in ActionScript.

January 9, 2010

0 Comments

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 [...]

Continue reading...

How to Modify shape color with ActionScript

January 9, 2010

2 Comments

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 [...]

Continue reading...

How to Pass arguments to Flash movie from ASP or PHP

January 9, 2010

3 Comments

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 [...]

Continue reading...

How to Create scroll buttons: automatic flash scroll

January 7, 2010

2 Comments

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 [...]

Continue reading...

How to Call frames in an external Flash movie

January 7, 2010

3 Comments

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 [...]

Continue reading...

How to Add Play, Stop, Fast Forward and Rewind buttons to external video

January 7, 2010

0 Comments

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 [...]

Continue reading...

How To Insert dynamic Video or Flash movie

January 7, 2010

2 Comments

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 [...]

Continue reading...

How to Mail flash form with actionscript

January 7, 2010

18 Comments

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 [...]

Continue reading...

How to Create snowfall effect

January 7, 2010

1 Comment

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 [...]

Continue reading...

How to Create flying hearts effect

January 7, 2010

0 Comments

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 [...]

Continue reading...

How to Use FSCommand with the browser.

January 5, 2010

2 Comments

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) [...]

Continue reading...

Create glass-like buttons

January 4, 2010

1 Comment

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” [...]

Continue reading...

Create Illuminated buttons

January 4, 2010

0 Comments

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 [...]

Continue reading...

Create a flash scroll text

January 3, 2010

1 Comment

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 [...]

Continue reading...

Create and validate a form in Flash

January 3, 2010

2 Comments

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” [...]

Continue reading...

Flash Digital clock

January 3, 2010

1 Comment

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”) [...]

Continue reading...

Basic to ActionScript

January 3, 2010

0 Comments

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” > [...]

Continue reading...
Page 6 of 6123456