# Button Change

**URL:** <https://forum.kirupa.com/t/button-change/33751>\
**Category:** flash\
**Created:** [October 23, 2003, 2:18am UTC](https://forum.kirupa.com/t/button-change/33751 "2003-10-23T02:18:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![neverrain](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@neverrain](https://forum.kirupa.com/u/neverrain)\
**Post date:** [October 23, 2003, 2:18am UTC](https://forum.kirupa.com/t/button-change/33751/1 "2003-10-23T02:18:14Z")

</div>

ok i have a music off button…i want the text to change from “music off” to “music on” and for the actionscript code to change so that the music will turn on when you press on and not off when you press on. :azn:

Would I use attachMovie and just convert my button to a movieclip or is there another way? etc, loadmovie.

I know there is an easy answer to this and it is at the tip of my tounge. :hangover:

Thanks in Advaned.

---

<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 23, 2003, 5:43am UTC](https://forum.kirupa.com/t/button-change/33751/2 "2003-10-23T05:43:41Z")

</div>

you could just make 2 frames, when button is clicked goto frame 2 where it says music off

---

<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 23, 2003, 1:13pm UTC](https://forum.kirupa.com/t/button-change/33751/3 "2003-10-23T13:13:21Z")

</div>

I didn’t want to do that, but I may have to. ☹

---

<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 23, 2003, 3:42pm UTC](https://forum.kirupa.com/t/button-change/33751/4 "2003-10-23T15:42:44Z")

</div>

you could always have a dynamic textfield and change the text on button event
