You have it on an on release which means that it runs through the code once with each click. So yes you need a for loop or maybe try one of the easing equations out there?
i didnt even bother, there were too many errors in it when flash tried to do that… anyway, can someone tell me how to do a for loop to make that work?
i tried:
on (release) {
for (_root.menu._x != 298.7; _root.menu._x != 298.7; ) {
speed = 3;
_root.menu._x += speed;
}
}
but that came up with something about it being too processor intensive that it will hang my system
im confused… btw lunatic, those scripts didnt work… when i clicked it, nothing happened… and i put the first script on a separate actions layer in frame one, and then i put the second on the button…