开发者

How do i display the flash banner first and then the home page details using javascript

How do i display the flash banner first and then the home page details using javascript.I need load the flash fi开发者_Python百科rst and then display the home page


When page loads, hide page details using javascript and then when flash is finished loading
let javascript know that, by triggering a javascript function from flash, using ExternalInterface.call('flashReady');

In javascript you'll have that function:

function flashReady()
{
    /*now display page details*/
}

ExternalInterface is available for AS3, but i'm not sure if it is for AS2. Anyway AS2 has something similar for communicating with javascript.

For details see AS3 help: Communicating between ActionScript and JavaScript in a web browser.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜