7 Replies Latest reply on Nov 7, 2012 8:50 PM by kglad

    Using cuepoints in video to advance main timeline

    EverestJ Level 1

      How would I play an intro video and then when the video ends, advance to frame 2?  I know to use cuepoints, but my code seems to be more than broken.  Here is what I have:




      var listenerObject:Object = new Object();

      listenerObject.cuePoint = function(eventObject:Object):Void {


          trace("advance " + eventObject.info.name);

          trace("advance" + eventObject.info.type);


      intro_flv.addEventListener("cuePoint", listenerObject);


      I am not even sure I am on the right track or not.  Any help is much appreciated.  Thanks