Non:

codice:
sw=Stage.width;
sh=Stage.height;
ma:

codice:
sw = larghezzaDefinita;
sh = altezzaDefinita;