• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using Stop Actions

You can think of the Stop action as being like the Pause button on a VCR remote control. When you export a movie (covered in Chapter 16) as a Flash Player (.swf) file or as a projector, Flash is set to play the movie as soon as your viewer opens it. You can override that default by placing a Stop action in the first frame of your movie.

To set the movie to pause at startup:

1.
Open the Flash file for the movie that you want to pause.

If the movie doesn't already have a separate layer for actions, add a layer, name it Actions, and drag it to the bottom of the layers list so that you can always find it easily.

2.
In the Actions layer, select Frame 1.

3.
In the Frame Actions panel, in the Toolbox List, click the Basic Actions button.

4.
In the list of basic actions, double-click Stop.

Flash adds stop (); to the Actions List for Frame 1. There are no additional parameters for the Stop action (Figure 12.19).

Figure 12.19. In the Toolbox List's Basic Actions category, double-clicking Stop adds a stop (); action to the current frame's Actions List.


5.
In the Timeline, deselect Frame 1.

A small letter a now appears in Frame 1 of the Actions layer, indicating that this frame has actions. When you export the movie to a Flash Player file (or create a stand-alone projector) and open the movie, it will not play until it receives further instructions that tell it to do so.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint