Video class
143
Example
The following example pauses and clears the image video1.flv that is playing in a Video object
(called
my_video
) when the user clicks the
pause_btn
instance:
var pause_btn:Button;
var my_video:Video; // my_video is a Video object on the Stage.
var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
my_video.attachVideo(my_ns);
my_ns.play("video1.flv");
pause_btn.onRelease = function() {
my_ns.pause();
my_video.clear();
};
See also
Video.attachVideo()
Video.deblocking
Availability
■
Flash Player 6.
■
Flash Media Server (not required).
Usage
public deblocking : Number
Description
Property; indicates the type of deblocking filter applied to decoded video as part of
postprocessing. Two deblocking filters are available: one in the Sorenson codec and one in the
On2 VP6 codec. The following values are acceptable:
■
0 (the default)—Let the video compressor apply the deblocking filter as needed.
■
1—Do not use any deblocking filter.
■
2—Use the Sorenson deblocking filter.
■
3—Use the On2 deblocking filter and no deringing filter.
■
4—Use the On2 deblocking and the fast On2 deringing filter.
■
5—Use the On2 deblocking and the better On2 deringing filter.
■
6—Same as 5.
■
7—Same as 5.