# Scrollers?Text?

**URL:** <https://forum.kirupa.com/t/scrollers-text/10496>\
**Category:** Uncategorized\
**Created:** [January 2, 2003, 8:57am UTC](https://forum.kirupa.com/t/scrollers-text/10496 "2003-01-02T08:57:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![imxtremelybored](https://avatars.discourse-cdn.com/v4/letter/i/a9a28c/32.png) [@imxtremelybored](https://forum.kirupa.com/u/imxtremelybored)\
**Post date:** [January 2, 2003, 8:57am UTC](https://forum.kirupa.com/t/scrollers-text/10496/1 "2003-01-02T08:57:10Z")

</div>

Okai…

I jus learned how to create scrolling text via a .txt file

it works but it seems to b limited to a number of characters and words

did i do it wrong? n if it isnt wrong, can i change it so dat the length can b longer? how?:hangover:

---

<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:** [January 2, 2003, 9:05am UTC](https://forum.kirupa.com/t/scrollers-text/10496/2 "2003-01-02T09:05:56Z")

</div>

Hmm, I have had no problems scrolling any lenght txt file. Post the source so I can take a look and see whats up…

---

<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:** [January 2, 2003, 9:16am UTC](https://forum.kirupa.com/t/scrollers-text/10496/3 "2003-01-02T09:16:50Z")

</div>

Da text file is here

---

<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:** [January 2, 2003, 9:26am UTC](https://forum.kirupa.com/t/scrollers-text/10496/4 "2003-01-02T09:26:52Z")

</div>

I think s/he meant to post an FLA file or code snippet…

Did you set your textbox to be multiline?

myTextfield\_txt.multiline = true;

Or select your textfield on the stage and in the Property panel you should see a dropdown list that has three choices

1. Singleline
2. multiline
3. multiline no word wrap

Either way should work.

---

<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:** [January 2, 2003, 9:30am UTC](https://forum.kirupa.com/t/scrollers-text/10496/5 "2003-01-02T09:30:46Z")

</div>

Dis woz da code dat i used…

loadText = new loadVars();  
loadText.load(“profile.txt”);  
//creating the loadVarsText function  
loadText.onLoad = function() {  
scroller.text = this.profiletext;  
};

---

<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:** [January 2, 2003, 9:34am UTC](https://forum.kirupa.com/t/scrollers-text/10496/6 "2003-01-02T09:34:09Z")

</div>

Yes the fla would help…you have scroller as the instance name on the textbox?

---

<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:** [January 2, 2003, 9:34am UTC](https://forum.kirupa.com/t/scrollers-text/10496/7 "2003-01-02T09:34:25Z")

</div>

Give this a go…

```auto
loadText.onLoad = function() {
        scroller.multiline = true;
        scroller.wordWrap = true;
        scroller.text = this.profiletext;       
};

```

---

<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:** [January 2, 2003, 9:53am UTC](https://forum.kirupa.com/t/scrollers-text/10496/8 "2003-01-02T09:53:28Z")

</div>

hmmz…

I gave da dynamic textbox an instance name…but not for the scroller

the code doesnt seem to b working…i tried with the old code with multiline, but it didnt work either

i’ve also attached the amount of text i really want

---

<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:** [January 2, 2003, 9:55am UTC](https://forum.kirupa.com/t/scrollers-text/10496/9 "2003-01-02T09:55:54Z")

</div>

Also…now dat i hav put the old code bak in…it doesnt seem to either

scroll

or

is taking in less characters

---

<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:** [January 2, 2003, 10:00am UTC](https://forum.kirupa.com/t/scrollers-text/10496/10 "2003-01-02T10:00:14Z")

</div>

THANZ DUDES…

:beam:

i kinda figured it out…i had some sort of character dat caused the scrolling to stop…but i got rid of it and it now works!!!

thank u so much…

ps. happy new year

---

<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:** [January 2, 2003, 2:22pm UTC](https://forum.kirupa.com/t/scrollers-text/10496/11 "2003-01-02T14:22:31Z")

</div>

> \*Originally posted by imxtremelybored \*  
> \*\*THANZ DUDES…

:beam:

i kinda figured it out…i had some sort of character dat caused the scrolling to stop…but i got rid of it and it now works!!!

thank u so much…

ps. happy new year \*\*

yeah thanks to this thread , the same problem happen to me too…keep racking my brains why it wont scroll to the end…checked back my txt file and figure out that its the “&” char which prevents it from scrolling! :!:
