Unfortunately no. Params including flashvars and other prameter values are
passed as name value pairs within the parameters Object.

NOTE - any embedSWF() calls are automatically executed when the domReady
event is fired (if available on the browser), otherwise they execute when
the onload event fires.

Also have a look in the API http://code.google.com/p/swfobject/wiki/api for
the following methods which might be of interest:

swfobject.addDomLoadEvent(fn)
swfobject.addLoadEvent(fn)


Cheers,
Aran


On Fri, Dec 23, 2011 at 1:03 PM, mikek12003 <[email protected]> wrote:

> wanna to display a SWF after the DOM has loaded so wanna
> use .createSWF() saw here
> http://code.google.com/p/swfobject/wiki/api that you pass flashvars
> through
> var par = { flashvars:"foo=bar&foo2=bar2" }; in a format like
> "swfobject.createSWF(attributes, params, targetID)" but I wanna pass
> flashvar like the .embedSWF() where I have already declared a js
> object flashvars like 'flashvars={"foo":"bar","foo2","bar2"}' and do
> not want to change it. Can I use my flashvar object with .createSWF()?
>
> --
> 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