Perfect. Thanks. Aran

On Feb 15, 9:17 pm, "Aran Rhee" <[email protected]> wrote:
> You could use the swfobject.addDomLoadEvent() function
> (http://code.google.com/p/swfobject/wiki/api)
>
> <head>
> ...
>
> function doInit()
> {
>   copyMenuStructure();
>   swfobject.embedSWF(...);
>
> }
>
> swfobject.addDomLoadEvent(doInit);
>
> ...
> </head>
>
> Aran
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
>
> Behalf Of JohnInJax
> Sent: Monday, 16 February 2009 12:44 PM
> To: SWFObject
> Subject: Run js before SWFObject but after page load
>
> Hi,
>  I am building a Menu that takes as it's source the div that is
> replaces by  SWFObject. To do this I have a script at the bottom of
> the page that copies the source div before before I call SWFObject to
> setup the flash. Is there a way to get SWFObject to call my copy
> function before it does it's magic? It works fine the way it is, but I
> was hoping to make the implementation a bit cleaner.
>
> Thanks,
> John
--~--~---------~--~----~------------~-------~--~----~
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