Ray.

There should be no issues targeting any nested DIVs. Are you sure you don't
have some CSS styling on the container DIV which is causing the error in
display? Try removing all styling code and see if that works.

Aran

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of hal0gical
Sent: Monday, 24 November 2008 11:59 AM
To: SWFObject
Subject: Issues with embedSWF with container divs.


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