# How can content reverse and disappear when another button is clicked?

**URL:** https://forum.kirupa.com/t/how-can-content-reverse-and-disappear-when-another-button-is-clicked/24333
**Category:** flash
**Created:** [June 29, 2003, 6:17am UTC](https://forum.kirupa.com/t/how-can-content-reverse-and-disappear-when-another-button-is-clicked/24333 "2003-06-29T06:17:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Sirenetta1](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Sirenetta1](https://forum.kirupa.com/u/Sirenetta1)
#### Post date: [June 29, 2003, 6:17am UTC](https://forum.kirupa.com/t/how-can-content-reverse-and-disappear-when-another-button-is-clicked/24333/1 "2003-06-29T06:17:13Z")

</div>

I am new to action script, please help! I have three buttons and when you click on them, new content appears. However, I’d like to make it so that when you click on a button, the content on the screen will reverse itself, disappear, and the new content for that button would appear. I don’t know how to do this with action script? What kind of action script could I use?

I’ve posted my problem online at [http://katem95790.tripod.com/bars3.htm](http://katem95790.tripod.com/bars3.htm)

I’ll attach the .fla file to this posting so that you can see what I have so far!!

I really appreciate your 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: [June 29, 2003, 6:28am UTC](https://forum.kirupa.com/t/how-can-content-reverse-and-disappear-when-another-button-is-clicked/24333/2 "2003-06-29T06:28:12Z")

</div>

Take a look at the file posted on this thread, it will give you an idea.

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=26841](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=26841)

---

<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: [June 30, 2003, 2:15am UTC](https://forum.kirupa.com/t/how-can-content-reverse-and-disappear-when-another-button-is-clicked/24333/3 "2003-06-30T02:15:42Z")

</div>

Thanks for responding so quickly! The .fla was great help! With this .fla, how can I make it so that when you press the same button twice that the action does not reload again? On your site, when you press a menu button, it doesn’t reload again… how did you do that? Thanks for your 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: [June 30, 2003, 2:35am UTC](https://forum.kirupa.com/t/how-can-content-reverse-and-disappear-when-another-button-is-clicked/24333/4 "2003-06-30T02:35:47Z")

</div>

I’m not a script genius so my method is really basic. I’m sure that the other flash gurus will step in and show you a more elaborate way, but I’ll show you mine.

I made a really simple FLA with 2 buttons that disables after being clicked. The important thing is to study the actions that I used. I hope it helps. =)

---

<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: [June 30, 2003, 4:24am UTC](https://forum.kirupa.com/t/how-can-content-reverse-and-disappear-when-another-button-is-clicked/24333/5 "2003-06-30T04:24:30Z")

</div>

Your advice was excellent again!! I have another question that I will post in another thread since it deals with a different problem. Perhaps you could answer it as well? (BTW: Your site is very nice!!)

---

<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: [June 30, 2003, 4:41am UTC](https://forum.kirupa.com/t/how-can-content-reverse-and-disappear-when-another-button-is-clicked/24333/6 "2003-06-30T04:41:04Z")

</div>

Thanks for the comment. =)
