# Multiple Movie Clips

**URL:** https://forum.kirupa.com/t/multiple-movie-clips/190642
**Category:** flash
**Created:** [June 13, 2006, 6:01pm UTC](https://forum.kirupa.com/t/multiple-movie-clips/190642 "2006-06-13T18:01:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![njoay](https://avatars.discourse-cdn.com/v4/letter/n/b487fb/32.png) [@njoay](https://forum.kirupa.com/u/njoay)
#### Post date: [June 13, 2006, 6:01pm UTC](https://forum.kirupa.com/t/multiple-movie-clips/190642/1 "2006-06-13T18:01:30Z")

</div>

Hi everyone,

I have 2 movie clips (so far) on my main timeline. Also on my main timeline I have a rewind button. The rewind button rewinds correctly for my first movie clip named main1\_mc which is on the frame labeled “screen”. But when it reaches my second movie clip and I want to rewind the entire movie, the first movie clip rewinds in front of the second movie clip. So the second movie clip is still there and the first movie clip appears on top and rewinds. My second movie named “mainr\_mc” is also on my main timeline on the frame labeled “resources”. So I’ve tried multiple variations of removeMovieClip with \_root and all (as commented in the code below) but nothing seems to work. Any suggestions? Here’s my AS for my rewind button (which is also on my main timeline) below:

// ========== REWIND BUTTON ==========  
prev.onPress = function() {  
//removeMovieClip("\_root.mainr\_mc");  
\_root.next.\_visible = true;  
\_root.createEmptyMovieClip(“controller\_mc”, 1);  
controller\_mc.onEnterFrame = function() {  
\_root.screen.gotoAndStop(\_root.screen.\_currentframe-3);  
if (\_root.screen.\_currentframe-3\<1) {  
\_root.gotoAndStop(“screen”);  
}  
};  
};  
prev.onRelease = function() {  
controller\_mc.removeMovieClip();  
\_root.next.\_visible = true;  
//removeMovieClip("\_root.mainr\_mc");

};  
prev.onReleaseOutside = function() {  
controller\_mc.removeMovieClip();  
\_root.next.\_visible = true;  
//removeMovieClip("\_root.mainr\_mc");  
};
