| Brandon_Krakowsky-A5pIpylr7pFSljaRc5+PrA@publi 2005-06-17, 5:45 pm |
| I sent this earlier in the week. Any thoughts or is this just the way it
is?
I have a listener on my mediaDisplay instance.
*******************
var myCuePointListener = new Object();
myCuePointListener.cuePoint = function(eventObject){
var cueName = eventObject.cuePointName;
someFunction(cueName);
}
speakerVid.addEventListener("cuePoint", myCuePointListener);
*******************
It runs a function every time a cuePoint comes up. I have a menu on the
main stage which jumps to different cuePoints in the video using
mediaDisplay.play(cuePoint). If I skip forward to another cuePoint, the
function runs once, upon going to that cuePoint. If I jump backward to a
cuePoint, it seems that the cuePoint function isn't triggered for JUST the
cuePoint I'm jumping to, but for each one I skip over as well. It's
strange.
How does mediaDisplay.play() work? Does it act as a Rewind/Fast-Forward
or more as a gotoAndPlay? If it's the former, it seems that cuePoints
along the way are triggered. Make sense?
Any way to avoid this?
Thanks,
Brandon
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|