# \[flash8\]rollout old movieclip once new one is opened using buttons

**URL:** <https://forum.kirupa.com/t/flash8-rollout-old-movieclip-once-new-one-is-opened-using-buttons/204267>\
**Category:** flash\
**Created:** [October 18, 2006, 2:20pm UTC](https://forum.kirupa.com/t/flash8-rollout-old-movieclip-once-new-one-is-opened-using-buttons/204267 "2006-10-18T14:20:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akphotography](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@akphotography](https://forum.kirupa.com/u/akphotography)\
**Post date:** [October 18, 2006, 2:20pm UTC](https://forum.kirupa.com/t/flash8-rollout-old-movieclip-once-new-one-is-opened-using-buttons/204267/1 "2006-10-18T14:20:25Z")

</div>

ok I have buttons that open up movieclips…each one is on a different layer…now the problem is…i dont know how to make the old movieclip go away once the new button is clicked…what is the actionscript for this?

current code is…

[SIZE=1][COLOR=Blue]this.about\_1.onRollOver = function() {  
about\_1.gotoAndPlay("\_over");  
}  
this.about\_1.onRollOut = function() {  
about\_1.gotoAndPlay("\_out");  
}  
this.about\_1.onRelease = function() {  
\_root.about\_tb.gotoAndPlay(2);

[SIZE=2][COLOR=Black]“about\_1” is the button “about\_tb” is the movieclip its openeing

Now how do i make it so it will rollout the old movieclip to make way for the new one?[/COLOR][/SIZE]  
[/COLOR][/SIZE]
