stop(); Stage.scaleMode = "noscale";Stage.align = "tl";Stage.addListener({onResize:reposition}); function reposition() { var mc = _root.mainContent_mc; var newX = Math.floor((Stage.width - mc._width) / 2); var newY = Math.floor((Stage.height - mc._height) / 2); mc._x = newX; mc._y = newY;}; reposition();