NsetInterface - расставляет различные элементы сцены в зависимости от ширины и высоты Stage.

Код AS1/AS2:
Stage.scaleMode = "noScale"
Stage.align = "TL"
function NsetInterface(){
SCHEME._x = Math.round( Stage.width/2 )
SCHEME._y = Math.round( Stage.height/2 )
editorMode._x = Math.round( (Stage.width - editorMode._width )/2 )
editorMode._y = Stage.height - 45
}
this.onResize = function() { NsetInterface() }
Stage.addListener(this)
NsetInterface()