Chapter 7. Building Your Own Video Player

Believe it or not, sometimes your best choice for your video won’t be the FLVPlayback components. For example, if you want only simple controls for your video playback, you can quickly build your own video player. You can, of course, continue to build on your video player code and even add more advanced features. One of the best reasons to build your own basic video player is reduced complexity and file size. You can make a Flash movie (SWF file) smaller than 1 KB and play a video! Compare that to the size of the FLVPlayback component, which adds 32 KB to your Flash movie file size.

In this chapter, you’ll learn how to use the NetConnection, NetStream, and Video classes to play a video. You’ll also implement ...

Get Video with Adobe Flash CS4 Professional Studio Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.