0 Replies Latest reply on May 12, 2010 3:33 PM by yogi bear

    cue point problem

    yogi bear Level 1

      I'm trying to make these cue points work in a flash 8 flv. movie. So

      far no luck. Any ideas are appreciated.

       

       

       

      var nc:NetConnection = new NetConnection;

      nc.connect(null);

      var ns:NetStream = new NetStream(nc);

      _root.fred.attachVideo(ns);

       

       

      var fredListener:Object = new Object();

       

      fredListener.cuePoint = function(eventObj:Object){

      var index = Number(eventObj.target.name);

      attachMovie("cue" + index, "cueBox_mc");

      }

      fred.addEventListener("cuePoint", fredListener);

      fred.addCuePoint("0", 1);

      fred.addCuePoint("1", 8);

      fred.addCuePoint("2", 14);

      fred.addCuePoint("3", 31);

      fred.addCuePoint("4", 35);

       

       

      play_btn.onRelease = function(){

       

      ns.play("TA16.flv");

       

      _root.features._visible = false;

      _root.opening.gotoAndPlay(2);

       

      }