With respect to DOMready, unfortunately it's still pretty abysmal (when factoring in legacy browser support)... For instance, IE<=8 has the really ugly DoScroll hack. BUT, `DOMContentLoaded` is now a standardized and well defined event, so modern standards browsers (incl IE9) all play nicely. Some day hopefully we can retire those ugly legacy hacks.

--Kyle




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

Sounds like the eventListeners have gotten more reliable across the
browsers. I guess thats why all the new javascript stuff has come out
lately.

On Jun 17, 1:17 pm, "Kyle Simpson" <[email protected]> wrote:
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.



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