A Video object can be used like a movie clip. As with other objects you place on the Stage, you
can control various properties of Video objects. For example, you can move the Video object
around on the Stage by using its
and
_height
_width
To display the video stream, first place a Video object on the Stage. Then use
Video.attachVideo()
To place a Video object on the Stage:
1.
If the Library panel isn't visible, select Window > Library to display it.
2.
Add an embedded Video object to the library by clicking the options menu on the right
side of the Library panel title bar and selecting New Video.
3.
Drag the Video object to the Stage, and use the Property inspector to give it a unique
instance name, such as
You can also embed recorded streams (FLV files) using the File > Import or File >
Import to Library command. For more information on embedding video files, see
Using Flash.
Method summary for the Video class
Method
Video.attachVideo()
Video.clear()
Property summary for the Video class
Property
Video.deblocking
Video.height
Video.smoothing
Video.width
140
Client-Side ActionScript Language Reference
and
_x
_y
properties, and so on.
to attach the video stream to the Video object.
. (Do not name it Video.)
my_video
Description
Specifies a stream to be displayed within the boundaries of the Video
object on the Stage.
Clears the image currently displayed in the Video object.
Description
Specifies the behavior for the deblocking filter that the video
compressor applies as needed when streaming the video.
Read-only; the height in pixels of the video stream.
Specifies whether the video should be smoothed (interpolated) when
it is scaled.
Read-only; the width in pixels of the video stream.
properties; you can change its size using its
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 and is the answer not in the manual?
Questions and answers