Hey all -
I’m trying to reference a cue point from one swf that contains another swf that contains the cue point.
Diagram -
cue point --> flv --> 1.swf --> 2.swf
I’ve got a listener that works fine when in 1.swf, but I’m not sure how to reference it from 2.swf
Here’s the code that works fine in 1.swf -
//Cue Point
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
trace("Elapsed time in seconds: " + myVideo.playheadTime);
trace("Cue point name is: " + eventObject.info.name);
trace("Cue point type is: " + eventObject.info.type);
}
myVideo.addEventListener(“cuePoint”,listenerObject);
Thanks for any help!