# Movieclips visible/invisible

**URL:** https://forum.kirupa.com/t/movieclips-visible-invisible/294533
**Category:** flash
**Created:** [August 15, 2009, 9:22pm UTC](https://forum.kirupa.com/t/movieclips-visible-invisible/294533 "2009-08-15T21:22:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Centifolia](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@Centifolia](https://forum.kirupa.com/u/Centifolia)
#### Post date: [August 15, 2009, 9:22pm UTC](https://forum.kirupa.com/t/movieclips-visible-invisible/294533/1 "2009-08-15T21:22:27Z")

</div>

HI -  
I’m pretty new to Flash and I could need some help.  
Here is what I want to do.  
I have a hand animation counting from 1-5. Next to each finger appears a word which acts as a button. As soon as I click on a button another animation should start with a box and some content which can be closed by clicking on a close button. Got it so far?  
This is how I solved it so far.  
On my stage I created a movieclip with the hand animation and the buttons.  
In this movieclip I created another movieclip with a box animation. I set it to invisible:

```auto
animation._visible=false;

```

On a button I wrote the following script to start the box animation which works fine:

```auto
on(press) {
 _parent.animation._visible=true;
 _parent.animation.gotoAndPlay(2);

}

```

The problem I have now is that I want this box to be invisible again. In the box movieclip I created a close button. I want to tell this button to close the entire box as soon as I click on it. To be honest I don’t quite get when to use \_parent, this or \_root but I tried all of them and none would work.  
What am I doing wrong?
