开发者

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

开发者 https://www.devze.com 2023-02-08 01:31 出处:网络
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 pageWhen page loads, hide page details us

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

精彩评论

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