03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}<br />

return mc;<br />

Video<br />

Object<br />

|<br />

+-Video<br />

public class Video<br />

extends Object<br />

The Video class enables you to display live streaming video on the Stage without embedding it<br />

in your SWF file. You capture the video by using Camera.get(). In files published for Flash<br />

Player 7 <strong>and</strong> later, you can also use the Video class to play back Flash Video (FLV) files over<br />

HTTP or from the local file system. For more information, see the NetConnection class <strong>and</strong><br />

NetStream class entries.<br />

Flash Player 7 supports Flash video (FLV) encoded with the Sorenson Spark video codec.<br />

Flash Player 8 supports Flash video (FLV) encoded with either the Sorenson or the On2 VP6<br />

codec <strong>and</strong> also supports an alpha channel. The On2 VP6 video codec uses less b<strong>and</strong>width<br />

than older technologies, <strong>and</strong> offers additional deblocking <strong>and</strong> deringing filters.<br />

If your Flash content dynamically loads Flash video (using either progressive download or<br />

Flash Media Server), you can use On2 VP6 video without having to republish your SWF for<br />

Flash Player 8, as long as users view your content through Flash Player 8. By streaming or<br />

downloading On2 VP6 video into Flash SWF version 6 or 7, <strong>and</strong> playing the content using<br />

Flash Player 8, you avoid having to recreate your SWF files for use with Flash Player 8.<br />

Codec Content (SWF)<br />

Version(publish<br />

version)<br />

Sorenson Spark 6 6, 7, 8<br />

* If your Flash content dynamically loads Flash video (FLV), you can use On2 VP6 video<br />

without having to republish your SWF for Flash Player 8, as long as users use Flash Player 8 to<br />

view your content. Only Flash Player 8 supports both publish <strong>and</strong> playback of On2 VP6<br />

video.<br />

1294 <strong>ActionScript</strong> classes<br />

7 7, 8<br />

On2 VP6 6 8*<br />

7 8<br />

8 8<br />

Flash Player Version(version<br />

required for playback)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!