Skip to main content
Known Participant
July 30, 2008
Question

event handler won't work in Firefox

  • July 30, 2008
  • 1 reply
  • 192 views
I have an external swf which launch a flv video. On the first frame of the fla I have a function to handle an event which will load next swf when the video complete playing. This is the code:
function playerCompleteHandler(evnt:Object) {
//load next swf
_root.loader_mc.loadMovie("intro_community.swf");
}
flv_welcome.addEventListener("complete", playerCompleteHandler);

It works well with IE and Safari but not Firefox. Is there any other way to handle this?

Any help will be greatly preciated.
This topic has been closed for replies.

1 reply

wuzhishanAuthor
Known Participant
August 1, 2008
The problem is resolved. Nothing wrong with the code. I delete the old file and create a new one and now it works.