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.

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), stop (Video.stop method), resume (Video.resume method)


Flash CS3