I have an ActionScript project in flex which I place the following code:
package {
import flash.display.Sprite;
import flash.events.Event;
public class testing extends Sprite
{
public function testing()
{
stage.scaleMode = "noScale"
stage.align = "TL"
stage.addEventListener(Event.RESIZE, onResize);
}
public function onResize(event:Event):void{
trace("Width: "+stage.stageWidth);
trace("Height: "+stage.stageHeight);
}
}
}
The problem is when I resize below 465 width it keeps saying the width is 465, it stays fixed. Is there a setting in Flex I am missing? I didn’t see any width or height properties when creating the project? TIA:beam: