Re: [Flashcoders] RE: IE7 reload stageWidth bug

2010-04-08 Thread Meinte van't Kruis
That timeout isnt excactly bulletproof, but what the heck, fixing this bug never leads to a proper solution ;) Mine would be having a minimum height for the site(lets say 800) and a minimum width(lets say 600) and whenever dimensions goes under that, it automatically assumes a width of 800 and a h

[Flashcoders] RE: IE7 reload stageWidth bug

2010-04-08 Thread Mattheis, Erik (MIN - WSW)
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 A