xxyurirfxx
05-28-2003, 02:05 AM
hey i need a lil help on actionscript this is really simple but i just forgot hoy to do it..(yeah rigth).
ok i want this buton that is hidden to slide when i put the mouse over it. now heres what i got
the button is a log rectangle masked so only the tip is show
in the actionscript i got:
note:: the but instance name is but1
on (Rollover) {
but1._x = but1._x + 50;
}
on (rollout){
but1._x = but1._x -50;
}
now this works ok..when i put the mouse over it jumps to 50 but what i want is it to slide to 50 you know..nice and slowly
and the same with the roll out
thanks for your help
Yuri
ok i want this buton that is hidden to slide when i put the mouse over it. now heres what i got
the button is a log rectangle masked so only the tip is show
in the actionscript i got:
note:: the but instance name is but1
on (Rollover) {
but1._x = but1._x + 50;
}
on (rollout){
but1._x = but1._x -50;
}
now this works ok..when i put the mouse over it jumps to 50 but what i want is it to slide to 50 you know..nice and slowly
and the same with the roll out
thanks for your help
Yuri