# Scroll Problem

**URL:** <https://forum.kirupa.com/t/scroll-problem/52460>\
**Category:** flash\
**Created:** [May 24, 2004, 10:54am UTC](https://forum.kirupa.com/t/scroll-problem/52460 "2004-05-24T10:54:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GoA](https://avatars.discourse-cdn.com/v4/letter/g/ccd318/32.png) [@GoA](https://forum.kirupa.com/u/GoA)\
**Post date:** [May 24, 2004, 10:54am UTC](https://forum.kirupa.com/t/scroll-problem/52460/1 "2004-05-24T10:54:15Z")

</div>

Hi,

I’m creating and update module for a site I have to re-create, but I’m having trouble with my news scroller.

If I **double-click** on the **scroll arrows** it **goes wrong** , U can see it at [http://www.goadesign.be/nieuws.html](http://www.goadesign.be/nieuws.html)

The code i’m using is

```auto
   scrollDown_mc.onPress = function() {
	var denTellr = 0;
	if (Root_mc._y>-((iTeller-6)*18)) {
	 Root_mc.onEnterFrame = function() {
	  if (denTellr<6) {
	   scrollDown_mc.enabled = false;
	   denTellr++;
	   Root_mc._y = Root_mc._y-3;
	   //trace(denTellr);
	  } else {
	   remove(Root_mc.onEnterFrame);
	  }
	  scrollDown_mc.enabled = true;
	 };
	}
   };
   //
   scrollUp_mc.onPress = function() {
	var denTellr = 0;
	if (Root_mc._y != 0) {
	 Root_mc.onEnterFrame = function() {
	  if (denTellr<6) {
	   scrollUp_mc.enabled = false;
	   denTellr++;
	   Root_mc._y = Root_mc._y+3;
	   //trace(denTellr);
	  } else {
	   remove(Root_mc.onEnterFrame);
	  }
	 };
	}
	scrollUp_mc.enabled = true;
   };
	   

```

Can somebody help me plz :be:
