Pause (Video.pause Method); Play (Video.play Method) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

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()
Availability: ActionScript 2.0; Flash Lite 2.0
Example
The following example stops the video that is playing in a Video object (called
when the user clicks the
// video1 is the name of a Video object on Stage
video1.pause()
See also

play (Video.play method)

play (Video.play method)
public play() : Boolean
Calling this method opens a video source and begins playback of a video.
Availability: ActionScript 2.0; Flash Lite 2.0
Returns
- A value of
Boolean
Example
The following example pauses and clears video1.flv, which is playing in a Video object (called
).
video1
video1.play( "http://www.macromedia.com/samples/videos/clock.3gp" );
See also
stop (Video.stop method)
714
ActionScript classes
resumes playback from the current position.
instance.
close_btn
if the mobile device can render the video; otherwise,
true
)
my_video
.
false

Advertisement

Table of Contents
loading

Table of Contents