# Continuous scrolling: Stop and Start?

**URL:** <https://forum.kirupa.com/t/continuous-scrolling-stop-and-start/204509>\
**Category:** flash\
**Created:** [October 20, 2006, 12:04pm UTC](https://forum.kirupa.com/t/continuous-scrolling-stop-and-start/204509 "2006-10-20T12:04:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashwillkill](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@flashwillkill](https://forum.kirupa.com/u/flashwillkill)\
**Post date:** [October 20, 2006, 12:04pm UTC](https://forum.kirupa.com/t/continuous-scrolling-stop-and-start/204509/1 "2006-10-20T12:04:29Z")

</div>

Hey Kirupians,  
I am trying to build my own ‘newsscroller’.  
So I made 3 mc’s that have 3 different sentences in them.  
These were put in a row to get a horizontal band and converted into a mc. Everything works.  
Now I wanted this horizontal band of text to be a continuous scrolling one … That works, too.  
But I would like the band stop scrolling when I go over it with the mouse.

After reading there are probs deleting an onClipEvent (enterFrame) {, I changed my script to the following.  
Now my scrolling stops, yet I cannot start it again??  
Is there a way to ‘undelete’ 🙂 the hitTest? My brain is completely blank. Hm, …  
Any suggestion will be gratefully appreciated 😉 Thanks.

```auto
onClipEvent (load) {
	onEnterFrame = function(){
	//generating movement
	location = this._x;
	var i;
	i = 1;
	if (this, hitTest(_root._xmouse, _root._ymouse, true)) {
		 delete this.onEnterFrame;
     }
	if (this, hitTest(_root.containerMC.block)) {
		this._x = 4;
	} else {
		this._x = location-i++;
		}
	};
}

```
