1 Reply Latest reply on Sep 16, 2009 3:08 PM by christie_sorenson

    Problem with width/height of swfloader


      I am loading in a swf file via swfloader and I want the dimensions to be 600x300:


      <mx:SWFLoader id="loader1" width="600" height="300"/>


      In the loaded swf file, everything is layed out based on the dimensions.  I check the dimensions in the actions of the the first frame of the timeline.  When the swf file is embedded in html, this.stage.width is equal to 600.  However, when I load it via the SWFLoader above, this.stage.width is the size of my browser window.


      Why is this?  Is there a way to force it to stick to the dimensions set by SWFLoader?