EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Resume (Video.resume Method); Stop (Video.stop Method)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Video 715
resume (Video.resume method)
public resume() : Void
Calling this method resumes playback of the video.
If
Video.pause() was previously called, playback begins from the current position. If
Video.stop() was previously called, playback begins from the first frame.
Availability: ActionScript 2.0; Flash Lite 2.0
Example
The following example resumes the video that is playing in a Video object called
video1.
video1.resume()
See also
pause (Video.pause method)
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.
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.stop();
See also
play (Video.play method)

Table of Contents

Related product manuals