# Help with some code

**URL:** https://forum.kirupa.com/t/help-with-some-code/294799
**Category:** flash
**Created:** [August 20, 2009, 1:59am UTC](https://forum.kirupa.com/t/help-with-some-code/294799 "2009-08-20T01:59:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Macros247](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Macros247](https://forum.kirupa.com/u/Macros247)
#### Post date: [August 20, 2009, 1:59am UTC](https://forum.kirupa.com/t/help-with-some-code/294799/1 "2009-08-20T01:59:01Z")

</div>

View this first please!!! [http://spamtheweb.com/ul/upload/200809/10554\_example.swf](http://spamtheweb.com/ul/upload/200809/10554_example.swf)

Now what I want is the dog to disappear when you click button 1  
and the cat to disappear when you click button 2.

Simple right? But I have no idea how to make this happen!

The dogs instance name is Dog and the cat’s is Cat. The buttons are button 1 and 2 respectively. Any help would be much appreciated, for with this small bit of code I can rule the world 🙂

Thanks in advance 🙂
