Removing an ActionScript cue point

You can remove an ActionScript cue point using the removeASCuePoint() method. The following example removes the cue point ASpt2 when cue point ASpt1 occurs:

var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
        trace("Cue point name is: " + eventObject.info.name);
        if (eventObject.info.name == "ASpt1") {
            my_FLVPlybk.removeASCuePoint("ASpt2");    
            trace("Removed cue point ASpt2");
        }
}
my_FLVPlybk.addEventListener("cuePoint", listenerObject);

For more information, see FLVPlayback.removeASCuePoint().