Ciao, grazie per averm risposto
Allora, io ho fatto così:
codice:
Stage.align = "";
Stage.scaleMode = "noScale";
wdth = Stage.width;
hght = Stage.height;
controllo = new Object();
controllo.onResize = function() {
w = Stage.width;
h = Stage.height;
cx = (w-wdth)/2;
cy = (h-hght)/2;
};
Stage.addListener(controllo);
MovieClip.prototype.move = function(x, y) {
this._x += (x-this._x)/4;
this._y += (y-this._y)/4;
};
this.onEnterFrame = function() {
suono.move(wdth-2+cx, hght-2+cy);
};
controllo.onResize();
Però il clip suono me lo tiene distante dall'angolo inferiore sinistro..osa sbaglio? :master: