I’ve noticed a few issues with different browsers and not getting the stage.stageWidth property on load. To fix this I use an enterFrame to check when the stage.stageWidth property is greater than zero and the continue building the display list.

I hadn’t noticed this issue before, because I use a resize event for full flash sites or projects that expand with the browser size. I’ve done a few projects that don’t resize after the initial build, and that is where the issue lies.

Code after jump.

Read Full Post