Flash 100%

Out of context: Reply #13

  • Started
  • Last post
  • 13 Responses
  • sureshot0

    Stage.scaleMode = "noScale";

    Stage.align = "lt";
    this.onResize = function()
    {
    updatestageStuff();
    }

    this.onEnterFrame = function()
    {
    updateStageStuff();
    }

    Stage.addListener(this);

    _global.updateStageStuff = function()
    {

    var sw = Stage.width;
    var sh = Stage.height;

    bg._width = sw;
    bg._height = sh;
    };
    bg.onResize = function() {
    this._x = Stage.width - this._width - 50;
    this._y = Stage.height - this._height - 50;
    }
    Stage.addListener(controllo);
    MovieClip.prototype.move = function(x,y){
    this._x += (x-this._x)/0;
    this._y += (y-this._y)/0;
    }

View thread