Cheers Moo'toolers,

yesterday i ran mad on a transparent SWF i included in a website using
MooTools Swiff Class.

In MSIE < 9 the Background was always BLACK, even though i set the
wmode to transparent.

After tracking the beast up and down i found the Problem:

I used "wmode" as parameter Name and the Swiff Class has "wMode" as
hardcoded Parameter set to "window".

Inspecting the generated HTML Code i saw the wmode Parameter was there
twice, one "wMode" and one "wmode".

Internet Explorer < 9 seems to have case sensitivity on the parameter
names and as my "transparent" parameter came second i kept using the
"window" wmode.

I hope you understand what i am about.

The "workaround" is to use the same case for the parameters as they
are set by default from within the Class.

In my Version (Moo 1.4.2dev) the affected Parameters are:

quality, allowScriptAccess, wMode and swLiveConnect.

If you use your parameters in this case everything works fine and no
side-effects on different browsers.

Maybe a Swiff patch would be nice to set the parameters in lowercase -
alike what the user defines in the params options (using e.g.
the .toLowerCase())

Reply via email to