# Hide / Show object button help

**URL:** <https://forum.kirupa.com/t/hide-show-object-button-help/319184>\
**Category:** flash\
**Created:** [February 11, 2011, 7:10am UTC](https://forum.kirupa.com/t/hide-show-object-button-help/319184 "2011-02-11T07:10:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stewiek](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@stewiek](https://forum.kirupa.com/u/stewiek)\
**Post date:** [February 11, 2011, 7:10am UTC](https://forum.kirupa.com/t/hide-show-object-button-help/319184/1 "2011-02-11T07:10:14Z")

</div>

I used to play around with flash during the early days of action script 1.  
but now i can’t seem to find my way around it. Used to be able to add the script to the button itself.

here is my problem.

I have 2 object movie clip instance  
object\_red and object\_blue

and I have 2 buttons  
show\_switch and hide\_switch

what I want to do is to have a toggle button show and hide  
the objects on the movie.

how do i do this? please help.  
thank you
