# MCs loaded with next/previous arrows

**URL:** <https://forum.kirupa.com/t/mcs-loaded-with-next-previous-arrows/227638>\
**Category:** flash\
**Created:** [May 31, 2007, 10:01pm UTC](https://forum.kirupa.com/t/mcs-loaded-with-next-previous-arrows/227638 "2007-05-31T22:01:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bfal](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@bfal](https://forum.kirupa.com/u/bfal)\
**Post date:** [May 31, 2007, 10:01pm UTC](https://forum.kirupa.com/t/mcs-loaded-with-next-previous-arrows/227638/1 "2007-05-31T22:01:04Z")

</div>

I have a 3 frame movie clip called “morePix” shaped like a forward arrow. The morePix.onRelease() function loads an external movie using MovieClipLoader(). When the movie loads a back arrow comes up. Eventually I will have about 5 external movies loading into this MovieClipLoader() and I will want the forward and back arrows up until I get to the last movie. I’m trying to figure out how to create a loop or an array to load these movies. I hope that makes sense. It seems easy but I’m stuck. Here’s the code I have so far…

[FONT=Courier New]morePix.onRollOver = function (){[/FONT]  
[FONT=Courier New]this.gotoAndStop(2); [/FONT]  
[FONT=Courier New]}[/FONT]  
[FONT=Courier New]morePix.onRollOut = function (){[/FONT]  
[FONT=Courier New]this.gotoAndStop(1); [/FONT]  
[FONT=Courier New]}[/FONT]  
[FONT=Courier New]morePix.onPress = function (){[/FONT]  
[FONT=Courier New]this.gotoAndStop(3); [/FONT]  
[FONT=Courier New]}[/FONT]  
[FONT=Courier New]morePix.onRelease = function (){[/FONT]  
[FONT=Courier New]this.gotoAndStop(1);[/FONT]  
[FONT=Courier New]my\_mc.loadClip(“pics2.swf”, “container”);[/FONT]  
[FONT=Courier New]}[/FONT]

The sequential movie clips will be pics3, pics4, etc.  
this is in Flash MX 2004  
thanks,  
bfal
