Video class
Availability
Flash Player 6; the ability to play Flash Video (FLV) files was added in Flash Player 7.
Description
The Video class lets you display live streaming video on the Stage without embedding it in your
SWF file. You capture the video by using
later, you can also use the Video class to play back Flash Video (FLV) files over HTTP or from the
local file system. For more information, see the
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
properties, and so on.
_width
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
Video.attachVideo()
Availability
Flash Player 6; the ability to work with Flash Video (FLV) files was added in Flash Player 7.
Usage
my_video.attachVideo(source:Object) : Void
Parameters
A Camera object that is capturing video data or a NetStream object. To drop the
source
connection to the Video object, pass
802
Chapter 7: ActionScript for Flash
Camera.get()
and
properties, you can change its size using its
_x
_y
Description
Specifies a video 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 of the video stream, in pixels.
Specifies whether the video should be smoothed (interpolated) when it
is scaled.
Read-only; the width of the video stream, in pixels.
for
null
ActionScript for Flash
. In files published for Flash Player 7 and
NetConnection class
.
source
CHAPTER 7
and
NetStream class
entries.
_height
Need help?
Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?