After some diggin’ I finally figured out why Internet Explorer didn’t display my SWF movie. The width and the height of my movie are related to the width and height of the Stage. It seems that in IE the Stage isn’t available in the first frame. Therefore the movie has to wait a frame before it can acces the Stage properties.
public function Application() { addEventListener( Event.ENTER_FRAME, onEnterFrame ); } private function onEnterFrame( pEvent:Event ) : void { removeEventListener( Event.ENTER_FRAME, onEnterFrame ); setWidth( stage.stageWidth ); setHeight( stage.stageHeight ); }
Tags: Flash, Internet Explorer



March 13th, 2007 at 1:36 pm
true, ga er nooit van uit dat ’stage’ er al ‘is’.
August 9th, 2007 at 4:02 pm
Thank you! I have been going crazy for the past day trying to figure out WHY ie just couldn’t read the stage size!
August 14th, 2007 at 2:44 am
You’re welcome