Hidding a Flash SWF upon loading
Posted
by Rudy
on Stack Overflow
See other posts from Stack Overflow
or by Rudy
Published on 2010-06-09T00:10:43Z
Indexed on
2010/06/09
1:32 UTC
Read the original article
Hit count: 334
Hello,
I have a question that is probably very simple, but I cannot find an answer here or on Google.
I am loading a SWF in an HTML page the following way (using JavaScript):
AC_FL_RunContent(
"src", "${swf}",
....
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
I have tried to add the line:
"style", "visibility: hidden"
But it has not worked. I can later on make it visible or hidden using:
document.getElementById("flash").style.visibility = "hidden";
But I would like to have the flash invisible and make it visible later on, but by adding a parameter in the AC_FL_RunContent.
I hope someone can please help me. Thanks a lot.
Rudy
© Stack Overflow or respective owner