# Make previous movie clip disappear

**URL:** <https://forum.kirupa.com/t/make-previous-movie-clip-disappear/315916>\
**Category:** flash\
**Created:** [November 7, 2010, 9:40pm UTC](https://forum.kirupa.com/t/make-previous-movie-clip-disappear/315916 "2010-11-07T21:40:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saiyura](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@saiyura](https://forum.kirupa.com/u/saiyura)\
**Post date:** [November 7, 2010, 9:40pm UTC](https://forum.kirupa.com/t/make-previous-movie-clip-disappear/315916/1 "2010-11-07T21:40:52Z")

</div>

So I’m in a bit of a dilemma and quite new to actionscript.

I’m working with Flash CS5 and have a button on click trigger a movie clip to fade in. The problem is I want to be able to click any of the buttons on the screen to make it simultaneously hide the previous movieclip if it’s already there and play a new movieclip. Is this possible? If so is there any tutorials/code snippets someone could point me to?

Thanks for any help.
