# Different text in frames

**URL:** <https://forum.kirupa.com/t/different-text-in-frames/38475>\
**Category:** flash\
**Created:** [December 23, 2003, 3:05pm UTC](https://forum.kirupa.com/t/different-text-in-frames/38475 "2003-12-23T15:05:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustinM](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JustinM](https://forum.kirupa.com/u/JustinM)\
**Post date:** [December 23, 2003, 3:05pm UTC](https://forum.kirupa.com/t/different-text-in-frames/38475/1 "2003-12-23T15:05:31Z")

</div>

I’ve created a dynamic scrolling text box using the kirupa tutorial. It’s the tutorial that uses self-made buttons to scroll up and down. In my movie I’ve got 7 buttons, when one is pressed I want to display different text in the text box. I have it working by loading text from .txt files but it is slow and does not allow me to format the text as I would like. What I’m thinking of doing is creating 7 keyframes on the timeline of the scrollable text. Then in each frame have the different text that I want displayed. When I click on a button it would go to one of those frames thus displaying the corresponding text. I can’t get it to work. I’ve changed the text box to a static text box. I can’t get it to move the playhead to the next frame in the text movie clip which the scrollable text box resides in. Is it possible to do this?

---

<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:** [December 23, 2003, 7:15pm UTC](https://forum.kirupa.com/t/different-text-in-frames/38475/2 "2003-12-23T19:15:29Z")

</div>

yes its possible.

you are better off leaving it as dynamic text though.  
then you could set the value of the textbox everytime the button is clicked

textbox.text = “Blah blah blah”;

---

<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:** [December 23, 2003, 8:51pm UTC](https://forum.kirupa.com/t/different-text-in-frames/38475/3 "2003-12-23T20:51:56Z")

</div>

that makes sense. It’ll be easy to do. Thank you.
