Any way to run JS after swf is finished playing?
I'm working on a project wh开发者_高级运维ere a SWF will play (as sort of a splash), followed by JS. After the video plays, the navigation and content will appear, and the video will fade out. I'm just wondering what would be the best way to accomplish this? Play the video first and then load everything via ajax behind the scenes? The goal is to be as seamless as possible and I am having a flash asset provided to me by the client. I have zero experience with flash outside of simply embedding.
The Flash asset can call a JavaScript method via ExternalInterface
when it's done.
However, the use of Flash for splash screens is something generally hated by users. I would recommend against it unless it's an intro they specifically click a "Show Intro" button to show (as opposed to always showing with a Skip Intro to skip).
精彩评论