O'Reilly logo

ActionScript 3.0 Bible by Roger Braunstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 32. Playing Video

FEATURED CLASSES

  • flash.net.NetConnection

  • flash.net.NetStream

  • flash.media.Video

In this chapter, I'll cover a huge topic: video. Flash Player is, at the moment, the leading way to watch video content on the web. Although many technologies are nipping at its heels, none has the reach that Flash Player does. With wide adoption of the Open Screen Project (http://www.openscreenproject.org), the Flash Platform is poised to continue delivering content on not just computers but a plethora of thin and mobile devices.

To do real justice to all the activities and topics surrounding video in Flash, I'd need another thick book. Not surprisingly, several such tomes exist. For an expertly detailed reference, I recommend Video with Adobe Flash CS4 Professional Studio Techniques by Robert Reinhardt (Adobe Press, 2009). There are other such books and reference materials available in print and online.

In this chapter, I'll survey how the Flash Platform deals with video: how you can create, encode, deliver, and play it. Most of these activities fall outside of Flash Player, but they are important aspects of video in the Flash universe. After this overview, you'll learn about how to handle video inside Flash Player using ActionScript 3.0, building a simple video player from scratch.

Video and the Flash Platform

In this section, I'll overview the topics surrounding video and the Flash platform, without diving into code. I'll cover what Flash Player is capable of, the many kinds of video, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required