Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Stopping slideshow when mouseover.....

Question posted by: vikas1111 (Member) on May 13th, 2008 04:33 AM
Hi All..
I have created a slide show of some images using button,, now i want to stop the slide show when i mouseover the image or button, and restart the slide show when i move mouse out of the image.. Can anyone please give me an idea how to solve this ?? Its urgent.... I am pasting my code what i have done so far..



Code: ( text )
  1. function moving() {
  2.     main._x += -1;
  3.     trace(_currentframe);
  4.     if (main._x == -1519) {
  5.         trace("done");
  6.         _root.gotoAndStop(2);
  7.     }
  8. }
  9. onEnterFrame = moving;
  10.  
  11. stop();
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Reply
Not the answer you were looking for? Post your question . . .
170,099 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Top Flash / Actionscript Forum Contributors