Hide/show div in js from flash

closed…

Why not just make a preloader in the SWF?

[LEFT]

[COLOR=#0000ff]getURL[/COLOR]COLOR=#000000[/COLOR];
[/LEFT]

Instead of that ^, try this:


//You have to import the external interface class first
import flash.external.*;
//Call the function with your parameter
ExternalInterface.call("toggleView", "preloader");

BTW, it will only work on a server, not in testing mode on your desktop.