Hi,

I'm trying to make my video unload by themselves upon ending and have just pasted this example code in them, but, one of them works fine and the other one stops before reaching the end.

// The code I used

Code:
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void {
   unloadMovie(TheArea);
};
my_FLVplybk.addEventListener("complete", listenerObject);
Is there a more reliable way to know when the video has really ended playing? I've heard and read a little about cue points, but I don't think I would know how to apply them... I would like to use or create these cue points in embedded flvs. I don't know if it makes any difference. I can't understand so well how you create one from the property inspector if that could be a solution to my need.

thanks

http://webs.ono.com/jpdurba is where I have the videos, under the hobbies section.