Task: Writing Code in Expert Mode

I l @ ve RuBoard

Now let's create the same script that we used in the first task, but in Expert mode.

  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. Use the pop-up menu to switch to Expert mode.

  5. Click in the typing area.

  6. Type the following line there:

     gotoAndPlay(5); 

Your Actions panel should now look like Figure 2.8.

Figure 2.8. The Actions panel in Expert mode, with a short script that was manually typed in.

graphics/02fig08.jpg

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