Stage.scaleMode = "noScale"; Stage.align = "TL"; Stage.addListener (this); function onResize () { bok2._x = Stage.width - 35; text1._x = Stage.width - 100; } onResize ();