Ciao a tutti.
Vorrei usare un listener al posto di onEnterFrame. Mi è capitato di usarli con Stage, ma non in altre situazioni.
Vorrei che quando l'utente dragga un cursore sia lanciata la funzione qua sotto. Se la lasciassi con un onEnterFrame si appesentirebbe tutto troppo visto che molti elementi saranno presenti contemporaneamente.

this.onEnterFrame = function () {
finestra.tween ("_width",rett._x + rett._width,0.2,"easeOutCubic");
finestra.tween ("_height",rett._y - 4,0.6,"easeOutCubic");
maschera.tween ("_width",rett._x + rett._width,0.2,"easeOutCubic");
maschera.tween ("_height",rett._y - 4,0.6,"easeOutCubic");
};

grazie mille!