Hi. How do I detect the end of a video with the FLVplayback instance? I would like to add an overlay at the end of the video that links back to the original page.
Thank you.
Raymond
9:43 am on Apr 27, 2007 (gmt 0)
Just want to add, I tested the following code and it gives me this error: (The property being referenced does not have the static attribute. VideoPlayer.addEventListener("complete", endOfVid); )
import mx.video.*; function endOfVid(eventObject:Object):Void { VideoPlayer.play(); }; VideoPlayer.addEventListener("complete", endOfVid);
Raymond
11:35 am on Apr 27, 2007 (gmt 0)
Just want to add that after I change the instance name to something else, it works.