Showcase and discover digital art at yex

Follow Design Stacks

Subscribe to our free newsletter to get all our latest tutorials and articles delivered directly to your inbox!

Changing the NetStream Code

Changing the NetStream Code

You have to makeonly one simple change to the VideoSourcePro.as ActionScript to convert it from streaming to progressive download:

14    nc.connect( null );     
//null connection for progressive download

That’s it! Now you can publish your VideoSourcePro.fla file and experience the power of progressive download video streaming (see Figure 1). Vive le FLV!

The final VideoSourcePro.swf file

Figure 1. The final VideoSourcePro.swf file

For a working sample application, go to the VideoSource Pro page.

Comments