VideoEvent in Flash Player 10.2 doesn't work
Same code works in 10.1 and earlier but does not work in 10.2... Is it bug or done intentionally? Is there any way to run VideoEvent in flash player 10.2?
Same code works in 10.1 and earlier but does not work in 10.2... Is it bug or done intentionally? Is there any way to run VideoEvent in flash player 10.2?
The compiler seems to be confusing fl.video.VideoEvent with flash.events.VideoEvent. Just use the entire class path, like so:
vidPlayer.addEventListener(fl.video.VideoEvent.READY, videoReady);
And in the event handler:
function videoReady(e:fl.video.VideoEvent):void
{
// do something
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.