play()
Availability
Flash 2.
Usage
play() : Void
Parameters
None.
Returns
Nothing.
Description
Function; moves the playhead forward in the Timeline.
Example
In the following example, there are two movie clip instances on the Stage with the instance names
and
stop_mc
play_mc
clip instance is clicked. Playback resumes when the
this.stop_mc.onRelease = function() {
stop();
};
this.play_mc.onRelease = function() {
play();
};
trace("frame 1");
See also
gotoAndPlay(),
688
Chapter 2: ActionScript Language Reference
ActionScript Language Reference
. The ActionScript stops the SWF file's playback when the
MovieClip.gotoAndPlay()
instance is clicked.
play_mc
CHAPTER 2
movie
stop_mc
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?