# Text wont scroll and shows only first couple lines

**URL:** <https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043>\
**Category:** Uncategorized\
**Created:** [February 8, 2003, 12:34am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043 "2003-02-08T00:34:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![pithcell](https://avatars.discourse-cdn.com/v4/letter/p/3d9bf3/32.png) [@pithcell](https://forum.kirupa.com/u/pithcell)\
**Post date:** [February 8, 2003, 12:34am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/1 "2003-02-08T00:34:26Z")

</div>

hey,

i followed the kirupa text scroller tute and looked in the forum pages and founs another person who had a similar problem, tryied that method and its didnt work…  
my problem,  
i did the scroller correctly and it wont let me scroll AND it shows only a couple of line from the text file (it shows like the first 7-8) lines.  
any ideas???  
thanks  
P

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 12:36am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/2 "2003-02-08T00:36:34Z")

</div>

You may not have followed the tutorial correctly. The tute works fine. I just tried it. Post your file and I’ll take a look.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 12:50am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/3 "2003-02-08T00:50:23Z")

</div>

here is the .fla and the text file that goes along with it

thanks ahead of time  
P

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 12:56am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/4 "2003-02-08T00:56:33Z")

</div>

I’m sorry. You’re using a component. I don’t know how to use those. I have never used them. I think they are the devil. I always create my own stuff. Sorry… Someone else might know…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 1:00am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/5 "2003-02-08T01:00:42Z")

</div>

id rather not use a component,  
what id like to happen if i made my own buttons was when someone rolled over the button it would CONTINUOSLY scroll until you rolled off, not just scroll a little and then stop, if you know how to do that , thatd be AWESOME!!!

thanks jubba for lookin out…  
late  
P

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 1:04am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/6 "2003-02-08T01:04:36Z")

</div>

Well here is a tutorial to start you out with…

[http://www.kirupa.com/developer/flash5/scrolltext.asp](http://www.kirupa.com/developer/flash5/scrolltext.asp)

and I’ll try to find the code for the continuouse scrolling of the buttons

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 1:08am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/7 "2003-02-08T01:08:54Z")

</div>

hey man,  
i checked it out, but its all bout the continuous scrolling,

thanks for helpin out  
late  
the sauce

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 1:11am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/8 "2003-02-08T01:11:33Z")

</div>

Here is the code for the UP button (make it a movieclip and not a button):

```php

onClipEvent (enterFrame) {
	if (hitTest(_root._xmouse, _root._ymouse)) {
		currentScroll = _parent.scroller.scroll;
		if (Number(currentScroll)>1) {
			_parent.scroller.scroll = currentScroll-1;
		}
	}
}

```

DOWN button (movieclip):

```php

onClipEvent (enterFrame) {
	currentScroll = _parent.scroller.scroll;
	if (hitTest (_root._xmouse, _root._ymouse)) {
		if (Number (currentScroll) < Number (_parent.scroller.maxscroll)) {
			_parent.scroller.scroll = Number (currentScroll) + 1;
		}
	}
}

```

Just replace the code on the movieclips with the code that I gave you.

Should work fine…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 1:13am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/9 "2003-02-08T01:13:23Z")

</div>

the target text field in the scroll bar parameters is wrong …

render your text as html and replace all the **&** characters with [color=red]%26[/color] in the text file

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 1:21am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/10 "2003-02-08T01:21:31Z")

</div>

by the way jubba

> I think they are the devil. I always create my own stuff.

100% agreed 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 4:40am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/11 "2003-02-08T04:40:24Z")

</div>

hey jubba, and kax thanks for both of your replies, so regular ampersands conflct eh…good tip to keep in mind, and jubba thanks for the scroll code…thats HUGE!!!

this forums getting a HUGE thanks on my site, you guys have seriously helped out the cause…big props

lata  
P

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2003, 7:18am UTC](https://forum.kirupa.com/t/text-wont-scroll-and-shows-only-first-couple-lines/13043/12 "2003-02-08T07:18:19Z")

</div>

hey no problem pithcell 🙂

glad i could help =)
