• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Creating Interaction with Ac... > Controlling SWF file playback

Controlling SWF file playback

The following ActionScript functions let you control the playhead in the timeline and load a new web page into a browser window:

  • The gotoAndPlay() and gotoAndStop() functions send the playhead to a frame or scene. These are global functions that you can call from any script. You can also use the MovieClip.gotoAndPlay() and MovieClip.gotoAndStop() methods to navigate the timeline of a specific movie clip object. See “Jumping to a frame or scene” on page 576.

  • The play() and stop() actions play and stop SWF files. See “Playing and stopping movie clips” on page 577.

  • The getURL() action jumps to a different URL. See “Jumping to a different URL” on page 578.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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