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]
Author: tom green
Tom is a professor of Interactive Multimedia through the Humber Institute of Technology and Advanced Learning's School of Media Studies. Like all faculty in the program, Tom believes his students deserve to be taught by instructors who are regarded as experts in their field and whose knowledge of their subject is current with industry best practice.
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”);
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.
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… ???
[...] Basic Coding Flash Video – Tom Green [...]
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”);
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.
Thanks for the help.
[...] Basic Coding for Video: http://www.layersmagazine.com/basic-coding-for-flash-video.html [...]