1 Reply Latest reply on Aug 16, 2007 2:04 PM by LinkOracleHero

    Event.RESIZE unusual

    LinkOracleHero
      package
      {
      import flash.display.*;
      import flash.events.*;
      public class scrollUnit extends MovieClip
      {
      function scrollUnit () {
      this.stage.scaleMode = StageScaleMode.NO_SCALE;
      this.stage.align = StageAlign.TOP_LEFT;
      this.stage.addEventListener(Event.RESIZE, resizeHandler);
      }

      public function resizeHandler(event:Event):void {
      trace(this.stage.width);
      }
      }
      }

      Any ideas?