ciao sul primo frame metti:
creati le voci del menu epoi l'mc istanzialo menu_1,menu_2 menu_3 ecc.....
cosi al rollover si sposta verso sx di 20 px
al roolout torna indietro alla posizione iniziale.
ciaocodice:import mx.transitions.Tween; menu_1.onRollOver = function() { var menu_1_over:Tween = new Tween(this, "_x", Strong.easeIn, 310, 290, 1, true); }; menu_1.onRollOut = function() { var menu_1_out:Tween = new Tween(this, "_x", Elastic.easeOut, 290, 310, 1, true); }; menu_2.onRollOver = function() { var menu_2_over:Tween = new Tween(this, "_x", Strong.easeIn, 310, 290, 1, true); }; menu_2.onRollOut = function() { var menu_2_out:Tween = new Tween(this, "_x", Elastic.easeOut, 290, 310, 1, true); };

Rispondi quotando