embedSWF() internally waits for the DOM to be ready before adding any content. createSWF() acts immediately, and thus must be ensured to run after DOM-ready has already passed.

--Kyle




--------------------------------------------------
From: "meshgraphics" <[email protected]>
Sent: Friday, June 17, 2011 12:10 PM
To: "SWFObject" <[email protected]>
Subject: [SWFObject] embed function before body render

How does this work?

 swfobject.embedSWF("myContent.swf", "myContent", "300", "120",
"9.0.0");

It gets run before the body and id="myContent" gets rendered dont 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.



--
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