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.

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.stop();

See also

play (Video.play method), pause (Video.pause method), resume (Video.resume method)


Flash CS3