Hi - next instalment:
I've got a flash file with an .flv imported. I've used the parameters cuepoint option to set up 4 actionscript cuepoints.
I've hunted around forever and found that I am supposed to add a listener to an actions layer in my flash file. Which I've done... the listener code is below:
Quote:
import fl.video.*;
import fl.video.MetadataEvent;
function cp_listener(eventObject:MetadataEvent):void
{
trace("Elapsed time in seconds: " + my_FLVPlybk.playheadTime);
trace("Cue point name is: " + eventObject.info.name);
trace("Cue point type is: " + eventObject.info.type);
}
my_FLVPlybk.addEventListener(MetadataEvent.CUE_POI NT, cp_listener);
|
The thing I can't work out - is how does this piece of listener code reference each individual cue point. They have names eg. 1, 2, 3 etc. All it does at the moment is throw up a metadata error.
Please could someone help with a Step by Step guide. I've now spent over 3 full days trying to work this out. There must be someone who can guide me..... please.
Jane