Risolto.....se a qualcuno può interessare:
codice:
onClipEvent (load) {
this._alpha = 0;
this._y = 0;
this._x = 0;
_xscale = 100;
_yscale = 100;
_parent.stop();
tempo = getTimer();
pausa = 5000;
}
onClipEvent (enterFrame) {
//effetto alfa
a = _alpha;
a_fin = 98;
da = a_fin-a;
da /= 10;
_alpha += da;
}
onClipEvent (enterFrame) {
if (getTimer()-tempo>=pausa) {
//movimento y
y = this._y;
y_fin = 210;
dy = y_fin-y;
dy /= 2;
_y += dy;
//movimento x
x = this._x;
x_fin = 210;
dx = x_fin-x;
dx /= 2;
_x += dx;
//scale x
scx = _xscale;
scx_fin = 30;
dscx = scx_fin-scx;
dscx /= 2;
_xscale += dscx;
//scale y
scy = _yscale;
scy_fin = 30;
dscy = scy_fin-scy;
dscy /= 2;
_yscale += dscy;
}
}
Ciao a tutti