0 Replies Latest reply on Aug 2, 2007 12:06 AM by Webguru1

    Multiple Cue Points

    Webguru1


      What's wrong with this code, it's killing me.

      stop();

      var first_mc:Object = new Object();
      var second_mc:Object = new Object();
      var third_mc:Object = new Object();
      first_mc.cuePoint = function (cues) {
      if(cues.info.type == "actionscript") {
      _root.numbers_mc.gotoAndStop("5");
      second_mc.cuePoint = function (cues) {
      if(cues.info.type == "actionscript") {
      _root.numbers_mc.gotoAndStop("10");
      third_mc.cuePoint = function (cues) {
      if(cues.info.type == "actionscript") {
      _root.numbers_mc.gotoAndStop("15");
      }
      }
      }
      }
      }
      }
      Q2vid.addEventListener("cuePoint",first_mc);
      Q2vid.addEventListener("cuePoint",second_mc);
      Q2vid.addEventListener("cuePoint",third_mc);


      It makes the first change but that's it, it won't make the 2 and 3 change. I've checked over and over and the files are all named right.help!!