# The dynam text scroller

**URL:** https://forum.kirupa.com/t/the-dynam-text-scroller/26717
**Category:** Uncategorized
**Created:** [July 25, 2003, 5:12pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717 "2003-07-25T17:12:14Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Ctrl\_Z](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@Ctrl\_Z](https://forum.kirupa.com/u/Ctrl_Z)
#### Post date: [July 25, 2003, 5:12pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/1 "2003-07-25T17:12:14Z")

</div>

i’ve added it to a text field where i keep a log on my site.  
in the tut is says that I should name the text field ‘scroller’ and add ‘scroller’ to the params of the scrollbar.  
can we use another inst name instead of ‘scroller’, cause i’d like to use it on a couple of text fields and If you have more than one inst name of ‘scroller’ then i think it’ll have some issues.

---

<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: [July 25, 2003, 5:15pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/2 "2003-07-25T17:15:01Z")

</div>

Of course you can use something else. Instance names are assigned by you and can be whatever you want, it’s like giving a name to your baby 😛

---

<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: [July 25, 2003, 8:37pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/3 "2003-07-25T20:37:47Z")

</div>

well i went and used ‘log’ for both and then the text field didn’t work. so i was wondering what was up with that.

---

<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: [July 25, 2003, 8:54pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/4 "2003-07-25T20:54:04Z")

</div>

the instance name for both can’t be log, the instance name of the textbox needs to be log, and the Target Texfield option in the scrollbar properties needs to be set to the instance name of the textfield (in this case… log)

---

<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: [July 26, 2003, 3:17am UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/5 "2003-07-26T03:17:00Z")

</div>

that’s how i set it up and it doesn’t pull the text in.  
so i’m not sure what’s up with it.

---

<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: [July 26, 2003, 5:52pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/6 "2003-07-26T17:52:47Z")

</div>

so i guess i can’t change it

---

<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: [July 30, 2003, 1:05am UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/7 "2003-07-30T01:05:50Z")

</div>

Post the fla

---

<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: [July 30, 2003, 4:33am UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/8 "2003-07-30T04:33:54Z")

</div>

Yeah I had a problem with this too. If I name it anything other than scroller, it stops working.

---

<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: [July 30, 2003, 4:53am UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/9 "2003-07-30T04:53:17Z")

</div>

You can name your textfield anything you want and it should work. You just need to reference them right.  
And remember the instance name can only contain letters, numbers and underscores, and it cannot begin with a number. Also, words used by ActionScript should never be used to name variables or instances.

[SIZE=1]Please, someone correct me if im wrong[/SIZE]  
🙂

---

<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: [July 30, 2003, 4:23pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/10 "2003-07-30T16:23:40Z")

</div>

Thats what I thought but it didnt work. ?? Maybe I am changing the AS wrong

---

<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: [August 1, 2003, 2:41am UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/11 "2003-08-01T02:41:19Z")

</div>

same here  
just garb the fla on the site cause that’s what i’m using  
go in there and change the text feild and the name it refs and it won’t 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: [August 1, 2003, 2:48am UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/12 "2003-08-01T02:48:42Z")

</div>

It works perfectly fine for me.

Are you sure you updated the script to add the text to the textbox?

scroller.text = this.kirupatext would obviously need to be changed to log.text = this.kirupatext since the textfield instance of scroller doesn’t exist anymore.

---

<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: [August 1, 2003, 4:30pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/13 "2003-08-01T16:30:29Z")

</div>

yup. did that. i can send you the fla if you want to see it

---

<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: [August 1, 2003, 4:34pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/14 "2003-08-01T16:34:04Z")

</div>

Sure, if you could attach it or upload to a server and toss me a link (either via a post or a PM) I will take a look at it.

Right now I gotta take a shower (not that you needed to know that, I guess I just like people to know I am clean :beam: ) so I will be back in a few minutes.

---

<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: [August 1, 2003, 4:40pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/15 "2003-08-01T16:40:16Z")

</div>

Ok. Well I have to find it on my computer 🙂

---

<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: [August 1, 2003, 4:45pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/16 "2003-08-01T16:45:00Z")

</div>

This is it. Desn’t work for me

---

<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: [August 1, 2003, 5:04pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/17 "2003-08-01T17:04:29Z")

</div>

I see your problem. You never updated the target on the scrollbar component itself.

You have scrollPanel in the actions on the frame and scrollPanel as the instance of the textbox, but you need to right click on the scrollbar component itself and open the properties panel and in the “Target Textfield” area you need to update “scroller” to “scrollPanel” (no quotes)

---

<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: [August 1, 2003, 5:06pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/18 "2003-08-01T17:06:13Z")

</div>

ah gotcha.

---

<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: [August 1, 2003, 5:08pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/19 "2003-08-01T17:08:22Z")

</div>

All working now?

---

<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: [August 1, 2003, 5:51pm UTC](https://forum.kirupa.com/t/the-dynam-text-scroller/26717/20 "2003-08-01T17:51:07Z")

</div>

yup

[Next page](https://forum.kirupa.com/t/the-dynam-text-scroller/26717.md?page=2)
