![MACROMEDIA Flash Lite 2 Скачать руководство пользователя страница 714](http://html1.mh-extra.com/html/macromedia/flash-lite-2/flash-lite-2_reference_687553714.webp)
714
ActionScript classes
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.
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.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
Boolean
- A value of
true
if the mobile device can render the video; otherwise,
false
.
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)
Содержание Flash Lite 2
Страница 1: ...Flash Lite 2 x ActionScript Language Reference...
Страница 22: ...22 Contents...
Страница 244: ...244 ActionScript language elements...
Страница 760: ...760 ActionScript classes...