Hey,

I'm having an issue embedding my swf into a div that's inside of
another div. If the div is just in the body it works fine.

Example:

HTML:

<div id="flashContent">
     <a href="http://www.adobe.com/go/getflashplayer";>
          <img src="http://www.adobe.com/images/shared/
download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
     </a>
</div>

JS:

swfobject.embedSWF("flash/homepage.swf", "flashContent", "100%",
"100%", "9.0.28", "expressInstall.swf", flashvars, params,
attributes);

That works just fine. Now, if I put the flashContent inside of a
container div..

HTML:

<div id="container">
     <div id="flashContent">
          <a href="http://www.adobe.com/go/getflashplayer";>
               <img src="http://www.adobe.com/images/shared/
download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
          </a>
     </div>
</div>


JS:

swfobject.embedSWF("flash/homepage.swf", "flashContent", "100%",
"100%", "9.0.28", "expressInstall.swf", flashvars, params,
attributes);

All I get is a black screen. Right clicking shows no flash content.
Any ideas?

Thanks,
Ray
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to