Archive for the ‘bugs’ Category

Flash stage size not properly set, missing content, internet explorer (what else?)

Tuesday, August 11th, 2009

Another day, another bug, another workaround..

Effects:

- on refresh/reload page in internet explorer (all versions if ran in quirks mode or just internet explorer 6 if run in standard mode) stage size is screwed up. Depending on your content`s positioning, you might end up with missing content.

Culprit:

-there’s a sum of factors that cause this behavior, first and most important is the quirks mode, if you dont target older browsers like IE6, you’re just fine switching to standard mode

- second and as important as first is the use of dynamic swf embedding via sfwobject. Swfobject does a great job but not good enough when it comes to antique browsers

Solution:

The best way to go around this, supporting also IE6 is to switch back to static embedding of the swf.  If you dont want this, for whatever reason (eg. you get the content via ajax) you can just switch out of quirks mode but at the same time lose  the IE6 fix.