# Embedding a text scroller

**URL:** https://forum.kirupa.com/t/embedding-a-text-scroller/7120
**Category:** Uncategorized
**Created:** [October 24, 2002, 5:41am UTC](https://forum.kirupa.com/t/embedding-a-text-scroller/7120 "2002-10-24T05:41:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mlkcarton](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mlkcarton](https://forum.kirupa.com/u/mlkcarton)
#### Post date: [October 24, 2002, 5:41am UTC](https://forum.kirupa.com/t/embedding-a-text-scroller/7120/1 "2002-10-24T05:41:56Z")

</div>

I have moved well beyond my level of understanding with this one…

I have a small flash file with a text scroller. You can see it here: [http://www.gsrdesigns.com/help/history.swf](http://www.gsrdesigns.com/help/history.swf)

what i’d like to do is embed this guy in a “main” movie - so one button on my screen says “history” and when you click on it, it calls open this movie (history.swf)

I’m loading the movie by using the command: on (release)loadMovie (“history.swf”, “holder”);

- where holder is a movie clip that just sits there and waits for me to load things into.

It works great - but the text scroller does not show up. Eveything else does, but the scroller is not visible.

To see, take look at: [http://www.gsrdesigns.com/help/intro.swf](http://www.gsrdesigns.com/help/intro.swf) and click “history”

I’m loading the text in the scroller from an external text file - using the command:

loadVariablesNum("./text.txt",0);

I have a feeling that the 0 level is the problem, but i don’t know what to do - when I change it to 1, nothig shows up in either movie.

Thanks in advance

---

<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: [October 24, 2002, 5:53am UTC](https://forum.kirupa.com/t/embedding-a-text-scroller/7120/2 "2002-10-24T05:53:10Z")

</div>

Try using loadVariables instead of loadVariablesNum.

Something like…

loadVariables(“yourfile.txt”, “\_root.TargetTextBox”);

Not sure if it will work… but it is worth a try.

---

<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: [October 24, 2002, 2:37pm UTC](https://forum.kirupa.com/t/embedding-a-text-scroller/7120/3 "2002-10-24T14:37:29Z")

</div>

Yes it did! The text now shows up - but it doesn’t scroll. Any ideas why? Thanks for the help - this was def. a move in the right direction.

---

<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: [October 24, 2002, 4:20pm UTC](https://forum.kirupa.com/t/embedding-a-text-scroller/7120/4 "2002-10-24T16:20:34Z")

</div>

Hmm, no clue why. What code are you using to scroll? Do you use the right instance names?

---

<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: [October 25, 2002, 2:56am UTC](https://forum.kirupa.com/t/embedding-a-text-scroller/7120/5 "2002-10-25T02:56:14Z")

</div>

ok - i figured it out - thanks for the help!

---

<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: [October 25, 2002, 3:00am UTC](https://forum.kirupa.com/t/embedding-a-text-scroller/7120/6 "2002-10-25T03:00:17Z")

</div>

I don’t know how you fixed it, but it is great you did 🙂
