1 Reply Latest reply on Jul 7, 2006 12:23 PM by TheBler

    cue points help

      I've managed to figure out how to embedded a cue poins into an FLV and then script an object listener to complete an action when a cue point is reached but what I would like to do and I am having trouble understanding is how do I get specific cue points to complete different actions? I.E. I 've got a short FLV that has 2 cue points "one", and "end". When cue point "one" is reached I want a specific MC to to do something. When cue point "end" is reached I want to go to a labeled frame. That is it! But having trouble finding any specific info on doing this? The following is the code I managed to get working but it is not listening for a specific cue point, but instead any cue point.

      stop();

      var listenerObject: Object = new Object();
      listenerObject.cuePoint = function(eventObject: Object):Void {
      gotoAndStop("end");
      }
      my_FLVPlybk.addEventListener("cuePoint", listenerObject);

      Any help would be greatly appreciated!