views:

29

answers:

1

Hi guys

I have made a hidden DIV containing a flash-movie, and a button which display the layer. When the Flash is finished, I would like it to hide the DIV again.

Flash CS4 AS2.0

I couldn't find any solution on the web that does it. Does any of you know where, or know a solution?

Thank you in advance...

+1  A: 

Use the ExternalInterface class to call Javascript that hides your div.

Robusto
Thank you, but it's AS2 ... Then that can't be used right?
Kenneth B
I think it will work. Flash used to use fscommand(), so if ExternalInterface doesn't work in your project you can try that. Warning: it's ugly! :)
Robusto
I can't seem to find out... The example page on the link you provided, isn't working... :-/
Kenneth B