This tutorial starts with a visual analogy about how streaming Flash video works and moves on to explain the basic Action Script code behind delivering Flash video.

[If you want to create your own project and follow along with this tutorial, the lesson files are available for download here]

Share & Enjoy


 

  1. Erik (Reply) on Thursday September 18, 2008

    Great tutorial – I will try it.
    But how do I put in a video-player with this code – you know – with a play-button, stop-button etc… ???

  2. Matthew Keefe (Reply) on Thursday September 18, 2008

    Good video overall, however the error when the metaData is not found is not “Flash freaking out”. Its occurring because the NetStream event doesn’t have a default onMetaData callback function defined.

    Many other functions/methods/classes/objects will create this same result. For instance:

    // throw an unhandled IOError
    new URLLoader().load(new URLRequest(“path/to/fake/file”);

  3. Tom Green (Reply) on Thursday September 18, 2008

    I agree Matt and I never use a video object without an onMetaData callback function. The issue I confront is how to explain some of the bizarre error messages kicked out by the compiler. In this case, if I am in class or at a conference, I can take the minute or two to explain what is going on. When you have a maximum time limit you cut corners and tell those that are new to the technique it is “flash freaking out”. Still thanks for weighing in.

  4. Justin (Reply) on Thursday September 18, 2008

    Thanks for the help.



Planet Photoshop Photoshop World Kelby Training Lightroom Killer Tips NAPP Scott Kelby