# Picture Slider w/ Movieclips

**URL:** https://forum.kirupa.com/t/picture-slider-w-movieclips/329736
**Category:** flash
**Created:** [October 8, 2012, 2:01pm UTC](https://forum.kirupa.com/t/picture-slider-w-movieclips/329736 "2012-10-08T14:01:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jessica\_Faux](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@Jessica\_Faux](https://forum.kirupa.com/u/Jessica_Faux)
#### Post date: [October 8, 2012, 2:01pm UTC](https://forum.kirupa.com/t/picture-slider-w-movieclips/329736/1 "2012-10-08T14:01:33Z")

</div>

Okay, So I am making a picture slider with movieclips being called from the library. There are 20 movieclips being played in a specific order. I can play the last 10 with no problems, the middle 5 is hit or miss, and the first 5 frames are usually skipped. Why is that? Here is the button code. I have already made sure that everything is labeled properly so idk.

nextBtn.onRelease = function()  
{  
\_root.attachMovie(‘slideAA’, ‘slideAA\_b’, getNextHighestDepth);  
this.removeMovieClip(‘slideAA\_b’);  
nextFrame();  
}

nextBtn.onRelease = function()  
{  
\_root.attachMovie(‘slideIX’, ‘slideix\_empty’, getNextHighestDepth);  
this.removeMovieClip(‘slideix\_empty’);  
gotoAndPlay(“startFrame”);  
}
