User Guide
714 ActionScript classes
pause (Video.pause method)
public pause() : Void
Stops playback of the video and continues to render the current frame onscreen. A subsequent
call to
Video.resume() resumes playback from the current position.
Availability: ActionScript 2.0; Flash Lite 2.0
Example
The following example stops the video that is playing in a Video object (called my_video)
when the user clicks the
close_btn instance.
// video1 is the name of a Video object on Stage
video1.pause()
See also
play (Video.play method)
play (Video.play method)
public play() : Boolean
Calling this method opens a video source and begins playback of a video.
Availability: ActionScript 2.0; Flash Lite 2.0
Returns
Boolean - A value of true if the mobile device can render the video; otherwise, false.
Example
The following example pauses and clears video1.flv, which is playing in a Video object (called
video1).
video1.play( "http://www.macromedia.com/samples/videos/clock.3gp" );
See also
stop (Video.stop method)