Flash CS3 Documentation |
|||
| Flash Lite 2.x ActionScript Language Reference > ActionScript classes > Video > 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.
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()
play (Video.play method), stop (Video.stop method), resume (Video.resume method)
Flash CS3