all groups > flash actionscript > march 2006 >
You're in the

flash actionscript

group:

Detect when a vidoe is done playing


Detect when a vidoe is done playing rogz
3/23/2006 11:20:09 PM
flash actionscript:
Re: Detect when a vidoe is done playing TimSymons
3/24/2006 1:26:59 AM
You could use the Media.complete event listener.

var listenerObject:Object = new Object();
listenerObject.complete = function(eventObj:Object) {
// ...
};
myMedia.addEventListener("complete", listenerObject);


This would fire when the media has finished playing. This is in the Help files
under the component.s

Tim

AddThis Social Bookmark Button