Basic Coding For Flash Video

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]

This video requires Adobe Flash Player.

Visitor Comments »

 

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… ???

 

Comment by Erik | September 20, 2008 @ 12:44 pm

 

[...] Basic Coding Flash Video – Tom Green [...]

 

Pingback by Everyone Needs a UV Lens Filter | Basic Coding Flash Video | Living In Layers | Layers Magazine: For Everything Adobe | September 22, 2008 @ 4:31 pm

 

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”);

 

Comment by Matthew Keefe | October 16, 2008 @ 10:40 am

 

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.

 

Comment by Tom Green | October 16, 2008 @ 6:31 pm

 

Thanks for the help.

 

Comment by Justin | December 15, 2008 @ 4:39 pm

 

[...] Basic Coding for Video: http://www.layersmagazine.com/basic-coding-for-flash-video.html [...]

 

Pingback by Flash Video Tutorials « My Info Depot | January 19, 2009 @ 10:40 am

Leave us a comment

Comments RSS | TrackBack URI

Back to Top

 
 
Advertisement
Creative Suite Tutorials
  1. Photoshop Photoshop
  2. Illustrator Illustrator
  3. Indesign Indesign
  4. Dreamweaver Dreamweaver
  5. Fireworks Fireworks
  6. Premiere Premiere
  7. Flash Flash
  8. After Effects After Effects
  9. Lightroom Lightroom
  10. Acrobat Acrobat

Get the latest tips, tricks and news delivered straight to your inbox.

From our Partners
Subscribe to Layers Magazine
 
 
 
  • Back to the Layers Magazine Homepage
  • Creative Suite Tutorials
  • Layers Magazine
  • Reviews on top products
  • Layers Magazine Reader Forums
  • Subscribe to Layers Magazine