Seem to have found a fix - I placed all my code that relies on stage.stageWidth and stageHeight in a function positionElements and delayed the invocation of it:
setTimeout(positionElements,1); _ _ _ Erik Mattheis Senior Web Developer Minneapolis T 952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here. PRWeek Global Agency Report Card 2009 - Gold Medal Winner The Holmes Report Global Agency of the Year PR News Agency of the Year -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik (MIN - WSW) Sent: Thursday, April 08, 2010 10:03 AM To: Flash Coders List Subject: [Flashcoders] IE7 reload stageWidth bug I'm up against the bug discussed here: http://code.google.com/p/swfobject/issues/detail?id=3 - on page reload, IE7 returns 0 for stage.stageWidth and stage.stageHeight. As a quick fix, I hardcoded stageWidth and stageHeight, but I need a solution that will allow the movie to figure things out on its own as it's meant to be embedded by others at any size they want. How have others dealt with this? _ _ _ Erik Mattheis Senior Web Developer Minneapolis T 952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here. PRWeek Global Agency Report Card 2009 - Gold Medal Winner The Holmes Report Global Agency of the Year PR News Agency of the Year _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders