How do you make the animation stop when you put your mouse over the image on flash?

  • Thread starter Thread starter 12win12
  • Start date Start date
1

12win12

Guest
to be precise I just want to know how to make images stop moving when the mouse is over it and carrying on moving when the mouse is off it. Im using macromedia flash studio 8 at the moment. hope some1 can help! thx!
 
Try this method

onClipEvent(load) {
speed = 2
}
onClipEvent (enterFrame) {
this._x += speed;
}
on (rollOver) {
speed = 0
}
on (rollOut) {
speed = 2
}
 
Back
Top