0 Replies Latest reply on May 20, 2008 10:36 AM by woodyy

    actions  for  flv event cue point

      I have an flv playing back from component in a nested timeline (an actionscript 2 proj) and I want at the end of the video to gotoAndPlay the label"vidend" in the this timeline. I embedded the the event cue point called "end" on the last frame of video when I encoded it in my new CS3.I placed the following on the first frame of the nested timeline... The video plays fine but does not trigger the action. Any suggestions???...I 've found reams of info on navigation events but this is the result of everything I could find on the adobe site and I still not there.
      I'd really appreciate any direction anyone can give me.

      //leave this as is
      var listenerObject:Object = new Object();
      listenerObject.cuePoint = function(eventObject:Object):Void {

      //change this info..."end" is the name that you called your cuepoint when
      //you embedded it into the video
      if(eventObject.info.name == "end"){

      //tell your movie what you want it to do once your cuepoint has been hit
      //my_FLVPB is the name of your video on the stage, the rest stays as is

      my_FLVPB.addEventListener("cuePoint", listenerObject);