Flash CS3 Documentation |
|||
| Flash Lite 2.x ActionScript Language Reference > ActionScript classes > Video > stop (Video.stop method) | |||
public stop() : Void
Stops playback of the video and continues to render the current frame onscreen. A subsequent call to Video.resume() resumes playback from the first frame of the video.
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.stop();
play (Video.play method), pause (Video.pause method), resume (Video.resume method)
Flash CS3