Task: Writing Code in Normal Mode

I l @ ve RuBoard

To write scripts in Normal mode, you don't have to type much. Instead, you just point the mouse and click a lot. Let's try to create a short script from scratch.

  1. Create a new movie.

  2. Select the default key frame that is in frame 1, layer 1.

  3. Choose Window, Actions to open the Actions panel. Close all the other panels to make it easier to use the Actions panel.

  4. Click the Actions category to expand it.

  5. Click the Movie Control subcategory to expand it.

  6. Double-click the goto command. This places gotoAndPlay(1); in the script area. At the bottom of the screen, you will see Scene, Type, and Frame fields.

  7. Change the 1 in the Frame field to a 5.

The Normal mode of the Actions panel makes it easy to write script. Before we go any further, it will be useful to take a look at Flash's online help system.

I l @ ve RuBoard


Sams Teach Yourself Flash MX ActionScript in 24 Hours
Sams Teach Yourself Flash MX ActionScript in 24 Hours
ISBN: 0672323850
EAN: 2147483647
Year: 2002
Pages: 272

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net