# Urgent! Need HELP! :(!

**URL:** https://forum.kirupa.com/t/urgent-need-help/195752
**Category:** flash
**Created:** [August 2, 2006, 8:56pm UTC](https://forum.kirupa.com/t/urgent-need-help/195752 "2006-08-02T20:56:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MooMoo](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@MooMoo](https://forum.kirupa.com/u/MooMoo)
#### Post date: [August 2, 2006, 8:56pm UTC](https://forum.kirupa.com/t/urgent-need-help/195752/1 "2006-08-02T20:56:55Z")

</div>

Okay so here’s the problem. I have multiple movieclips (5) on the stage and also a clear button. When clicking on the “clear” button, which will clear up the movieclips on the stage.

The code I’m using seems to be working, but it could only remove one movieclip.  
How do I remove the others aswell at one click? How do I remove multiple duplicated movieclips?

Below is the current code I’m using:

for(i=1;i\<14;i++) {  
\_root[“shell1”+i].removeMovieClip();  
}  
for(i=1;i\<14;i++) {  
\_root[“shell2”+i].removeMovieClip();  
}  
for(i=1;i\<14;i++) {  
\_root[“shell3”+i].removeMovieClip();  
}  
for(i=1;i\<14;i++) {  
\_root[“shell4”+i].removeMovieClip();  
}  
for(i=1;i\<14;i++) {  
\_root[“shell5”+i].removeMovieClip();  
}  
}

Many thanks!
