I was just wondering if it is possible to make the Flash movie
invisible so the html get visible. I know that i couldn't be in the
div that was replaced. So i got the following code in my body.
<body>
<ul id="ChoiseSite">
<li id="ChoiseFlash"><span>Flash</span></li>
<li id="ChoiseJavascript"><span>Javascript</span></li>
</ul>
<div id="siteFlash"><div id="siteFlashHolder"></div></div>
<div id="siteJavascript"></div>
</body>
It does do the trick. I can from Flash to my normal HTML code and also
back.
The problem now is that my flash movie gets reloaded.
I tried to create a new div inside he siteFlash div but still the
flash gets reloaded.
I am now not sure if it is because of SWFObject or just because of the
browser.
I do it now trought:
document.getElementById("siteFlash").style.display = "None";
document.getElementById("siteJavascript").style.display = "Block";
but I was wondering if there is another/better way to do it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---