I need to be able to go to the next frame in a scene when FLV is completed. I've tried the following AS:
But it does not seem to work. You can view the videa at It is the Video in on the right-hand side of the page.
I've consulted with the Help files in Flash MX 2004 and I can't seem to find where I'm going wrong. Thanks in advance for any help.
Code:
var myListener = new Object();
myListener.complete = function(eventObject) {
nextFrame();
};
video.addEventListener("complete", myListener);
But it does not seem to work. You can view the videa at It is the Video in on the right-hand side of the page.
I've consulted with the Help files in Flash MX 2004 and I can't seem to find where I'm going wrong. Thanks in advance for any help.