# Simple prob

**URL:** <https://forum.kirupa.com/t/simple-prob/277554>\
**Category:** Uncategorized\
**Created:** [December 13, 2008, 4:38pm UTC](https://forum.kirupa.com/t/simple-prob/277554 "2008-12-13T16:38:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carrumbus](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@Carrumbus](https://forum.kirupa.com/u/Carrumbus)\
**Post date:** [December 13, 2008, 4:38pm UTC](https://forum.kirupa.com/t/simple-prob/277554/1 "2008-12-13T16:38:46Z")

</div>

hello. I have quite a simple problem.  
I am trying to create a website that appears to panto the left or right, whenever the cursor drifts over to that side.  
I have a stop (); on every frame of the animation  
and invisible buttons on the left and right sides that have the simple  
on (rollOver) {  
next/prevframe ();  
}  
but what i forgot to include was a way to keep it going…  
at the moment if i put my cursor over the right side of the screen, it will jump to frame 2, but i want to be able to keep the cursor there, and for the frames to keep jumping along 3, 4, 5, 6, 7…etc

how can i do this?  
thanks for all help
