Hey,
I’m making a menu where if I rollover a button, an object moves along the x co-ordinate.
Here’s what I got so far…
on (rollOver) {
myMovieX = getProperty(_root.chair, _x);
speed = 4;
chair._x += speed;
if (chair._x > 570) chair._x=-82;
}
Everything seems to work, except the fact that the object only moves once when I rollover. To move it a great distance I have to keep rolling over the button.
What do I need to do to my code to make the object move continuously when i rollover the button?
Thanks,
Tom