Learning ActionScript 2.0 in Adobe Flash |
|
|
|
| Creating Interaction with ActionScript > 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:
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.play() and stop() actions play and stop SWF files. See Playing and stopping movie clips.getURL() action jumps to a different URL. See Jumping to a different URL.For more information, see the following topics:
|
|
|
|