![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
You can control playback of an embedded or linked video file by controlling the Timeline that contains the video. For example, to pause a video playing on the main Timeline, you would call a stop()
action that targets that Timeline. Similarly, you can control a video object in a movie clip symbol by controlling the playback of that symbol's Timeline.
You can apply the following actions to imported video objects in movie clips: goTo
, play
, stop
, toggleHighQuality
, stopAllSounds
, getURL,
FScommand
, loadMovie
, unloadMovie
, ifFrameLoaded
, and onMouseEvent
. To apply actions to a Video object, you must first convert the Video object to a movie clip. For more information, see Video class.
You can also use ActionScript to display a live video stream from a camera. First, use the New Video Object in the Library panel to place a Video object on the Stage. Then use Video.attachVideo
to attach the video stream to the Video object. For more information, see Video.attachVideo()
.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |