createswf takes 3 args - I have amended your code inline

- S


On 17 June 2010 18:50, Mark <[email protected]> wrote:

> I tried working with the createSWF method. The new error went away,
> but I'm still getting a blank dialog box. Here's my new js code:
>
> var fn = function() {
>        var att = { data:"http://www.youtube-nocookie.com/v/
> cKqTadKzdwQ&hl=en_US&fs=1&color1=0xe1600f&color2=0xfebd01&border=1",
> width:"500", height:"405"};
>
var par = {play:"false"};

>        var id = "flashHGTVvid";
>        var myObject = swfobject.createSWF(att, par, id);
> };
> swfobject.addDomLoadEvent(fn);
>
>
> On Jun 17, 12:24 pm, Sam Sherlock <[email protected]> wrote:
> > I think  this is because you're using swfobject 1.x and firing it with
> > jQuery
> >
> > I have done much the same as you without issue but using 2.2 and
> createSWF
> >
> > http://code.google.com/p/swfobject/wiki/api#swfobject.createSWF(attOb..
> .)
> >
> > <
> http://code.google.com/p/swfobject/wiki/api#swfobject.createSWF(attOb...)
> >-
> > S
>
> --
> 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]<swfobject%[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