# Textscroll

**URL:** <https://forum.kirupa.com/t/textscroll/182956>\
**Category:** flash\
**Created:** [March 22, 2006, 7:21pm UTC](https://forum.kirupa.com/t/textscroll/182956 "2006-03-22T19:21:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoakimN73](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Post date:** [March 22, 2006, 7:21pm UTC](https://forum.kirupa.com/t/textscroll/182956/1 "2006-03-22T19:21:21Z")

</div>

Hi!  
I am trying to make a textscroll with two arrows that will control the scrolling. However it doesn’t work out that well. After a while of pressing on the arrows the scroll tilts. It just won’t work well anymore. How can this be solved, what am I doing wrong?

You can watch the textscroll via this page:  
[http://www.redpoint.se/textscroll](http://www.redpoint.se/textscroll)

And you can download the FLA file via this link:  
[http://www.redpoint.se/textscroll/fla/scroll\_txt2.fla](http://www.redpoint.se/textscroll/fla/scroll_txt2.fla)

Or by the attachment!

This is how the actionscript looks like:

Up arrow:

```auto
on(press)
{
upint=setInterval(scrup,100);
}
 
on(release)
{
clearInterval(upint);
}

```

Down arrow:

```auto
on(press)
{
downint=setInterval(scrdown,100);
}
 
on(release)
{
clearInterval(downint);
}

```

Code in a frame above the scene:

```auto
function scrup()
{
txtbox.scroll=txtbox.scroll-1;
}
 
function scrdown()
{
txtbox.scroll=txtbox.scroll+1;
}

```

Please help me out on this one!

Best regards  
JoakimN

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [March 22, 2006, 7:25pm UTC](https://forum.kirupa.com/t/textscroll/182956/2 "2006-03-22T19:25:12Z")

</div>

scrolls fine for me.

(eMac, Mac OS X 10.4.5, Safari 2.0, FP8)

---

<div class="post-metadata">

**Author:** ![JoakimN73](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Post date:** [March 22, 2006, 7:43pm UTC](https://forum.kirupa.com/t/textscroll/182956/3 "2006-03-22T19:43:58Z")

</div>

It doesn’t work on Mac for me after a while of pressing.

> [@Defective](#):
>
> scrolls fine for me.
> 
> (eMac, Mac OS X 10.4.5, Safari 2.0, FP8)

---

<div class="post-metadata">

**Author:** ![dyfrin](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@dyfrin](https://forum.kirupa.com/u/dyfrin)\
**Post date:** [March 22, 2006, 8:04pm UTC](https://forum.kirupa.com/t/textscroll/182956/4 "2006-03-22T20:04:07Z")

</div>

nor does it work on windows xp with netscape, ff, or ie7b.

---

<div class="post-metadata">

**Author:** ![crobar](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/crobar/32/2073_2.png) [@crobar](https://forum.kirupa.com/u/crobar)\
**Post date:** [March 22, 2006, 8:20pm UTC](https://forum.kirupa.com/t/textscroll/182956/5 "2006-03-22T20:20:04Z")

</div>

worked for me xp-fire fox

---

<div class="post-metadata">

**Author:** ![JoakimN73](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Post date:** [March 22, 2006, 8:27pm UTC](https://forum.kirupa.com/t/textscroll/182956/6 "2006-03-22T20:27:35Z")

</div>

Well, it doesn’t work for me after a short while of testing… I guess there is something wrong with the code…

> [@crobar](#):
>
> worked for me xp-fire fox

---

<div class="post-metadata">

**Author:** ![JoakimN73](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Post date:** [March 22, 2006, 8:28pm UTC](https://forum.kirupa.com/t/textscroll/182956/7 "2006-03-22T20:28:35Z")

</div>

Do you have any clue how it can be solved?

> [@dyfrin](#):
>
> nor does it work on windows xp with netscape, ff, or ie7b.

---

<div class="post-metadata">

**Author:** ![JoakimN73](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Post date:** [April 11, 2006, 4:57pm UTC](https://forum.kirupa.com/t/textscroll/182956/8 "2006-04-11T16:57:32Z")

</div>

> [@dyfrin](#):
>
> nor does it work on windows xp with netscape, ff, or ie7b.

Any idea how I can get it work?
