deblocking_cb.addItem({data:1, label:'No'});
deblocking_cb.addItem({data:2, label:'Yes'});
var cbListener:Object = new Object();
cbListener.change = function(evt:Object) {
my_video.deblocking = evt.target.selectedItem.data;
};
deblocking_cb.addEventListener("change", cbListener);
Use the ComboBox instance to change the deblocking filter behavior on video1.flv.
_height (Video._height property)
public _height : Number
Indicates the height of the Video object, in pixels.
Availability: ActionScript 1.0; Flash Player 8
See also
_width (Video._width property)
height (Video.height property)
public height : Number [read-only]
An integer specifying the height of the video stream, in pixels. For live streams, this value is
the same as the
property of the Camera object that is capturing the video
Camera.height
stream. For FLV files, this value is the height of the file that was exported as FLV.
You may want to use this property, for example, to ensure that the user is seeing the video at
the same size at which it was captured, regardless of the actual size of the Video object on the
Stage.
Availability: ActionScript 1.0; Flash Player 6
Example
The following example sets the
and
properties of the Video Symbol instance
_height
_width
equal to the
and
of the loaded FLV file.
height
width
To use this example, first create a new Video symbol with an instance name of "myVideo" and
place it in the same context as this script. The
and
properties will be zero when
height
width
the
status code is triggered. By resizing the video when the status of
NetStream.Play.Start
is received you make sure that its size is correct before the first
NetStream.Buffer.Full
frame of video is shown.
var netConn:NetConnection = new NetConnection();
Video
1279
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?