sto utilizando questa funzione x fare il menù in questo sito
http://www.flytothai.com/modra/index.htm
ho un bottone e un movieclip con il menù che scende
ma fa strane cose
quando vado via con il mouse e torno subito fa strane cose
questo è il codice
codice:
import mx.transitions.Tween;
import mx.transitions.easing.*;
posizione=dan_mc._y;
this.dan_btn.onRollOver = function() {
trace("apre " + dan_mc._y);
new Tween(dan_mc, "_y", Strong.easeOut, -160, 0, 10, false);
};
this.dan_mc.onRollOut = function() {
trace("chiude " + dan_mc._y);
new Tween(dan_mc, "_y", Back.easeOut, 0, -160 , 40, false);
};
stop;
viva