0 Replies Latest reply on Feb 7, 2007 2:26 PM by Newsgroup_User

    wierd _width woes

    Level 7
      AS2

      I have a class that extends movieclip...

      public function init(){
      this._width = Stage.width;
      this._height = Stage.height;

      trace("w:"+this._width+"("+Stage.width+")
      h:"+this._height+"("+Stage.width+")");

      ...
      }


      How is it possible that this outputs
      w:0(520) h:0(520)

      Shouldn't it output
      w:520(520) h:520(520)

      ?

      --
      Alex