import necessary actionscript to work with FLV & metadata [ie. cuepoints]


/ Published in: ActionScript 3
Save to your folder(s)

this code loads in the necessary actionscript classes for dealing with FLV [flash video] and metadata [in this case cuepoints]. this needs to be loaded right at the beginning of your code, so flash knows how to handle cuepoints embedded in FLV [flash video] files.


Copy this code and paste it in your HTML
  1. // this should be the first bit of code at the top of your
  2. // actionscript for interactive video code. this stuff needs to
  3. // loaded and be ready for action before anything else
  4.  
  5. // import the necessary actionscript code for dealing
  6. // with metadata embedded in video [ie. cuepoints]
  7. import fl.video.*;
  8. import fl.video.MetadataEvent;
  9. // import the necessary actionscript code for dealing
  10. // with metadata embedded in video [ie. cuepoints]

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.