# Buttons and Embedded text

**URL:** <https://forum.kirupa.com/t/buttons-and-embedded-text/217600>\
**Category:** flash\
**Created:** [February 28, 2007, 7:22am UTC](https://forum.kirupa.com/t/buttons-and-embedded-text/217600 "2007-02-28T07:22:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babooshka](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@Babooshka](https://forum.kirupa.com/u/Babooshka)\
**Post date:** [February 28, 2007, 7:22am UTC](https://forum.kirupa.com/t/buttons-and-embedded-text/217600/1 "2007-02-28T07:22:55Z")

</div>

Hi,

I learned how to make a custom scrollbar here :[http://www.kirupa.com/developer/flash8/scrollbar.htm](http://www.kirupa.com/developer/flash8/scrollbar.htm)

Then, I learned how to make the text dynamic, by embedding the text.  
[http://www.kirupa.com/developer/mx2004/maskfonts.htm](http://www.kirupa.com/developer/mx2004/maskfonts.htm)

But, what I need to do is have a button that changes what the text in the dynamic text box is. But, because the text is embedded, it won’t let me do that. How can I have it so that the dynamic text box has embedded text, and yet I can change the text in the box on the fly with the button?

This is really perplexing me, thanks for your help.

–Thanks,
