I had the same bug.

The reason was that I used an element ID starting with a numeric
character:

<div id="1000MK" ...>

when I switched to

<div id="THSDMK" ...>

the error went away.

(When debugging the code, it turned out that a stylesheet rule
referring at "#1000MK" was created which IE didn't like)




On Sep 19, 1:21 pm, Aran Rhee <[email protected]> wrote:
> SWFObject2.2 works fine in IE8 ( many people would be complaining if it
> didn't). There must be something specific in your implementation.Can you
> supply a link to your page?
>
> Aran
>
>
>
> On Sat, Sep 19, 2009 at 5:27 AM, Charles <[email protected]> wrote:
>
> > swfobject 2.2 can't work properly in IE8.
>
> > "the arguments is invalid" line 565.
>
> > in IE 8, the signature of the addRule() is like this:
>
> >                addRule()              addRule(bstrSelector, bstrStyle,
> > lIndex)
> > Number
>
> > but the function call in the swfobject.js is :
>
> >                if (ua.ie && ua.win) {
> >                        if (dynamicStylesheet && typeof
> > dynamicStylesheet.addRule ==
> > OBJECT) {
> >                                dynamicStylesheet.addRule(sel, decl);
> >  //just 2 param
> >                        }
> >                }
>
> > could some one help??
>
> > Thank you~
--~--~---------~--~----~------------~-------~--~----~
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