# Arrays & movieclips

**URL:** https://forum.kirupa.com/t/arrays-movieclips/237148
**Category:** Uncategorized
**Created:** [August 27, 2007, 6:00pm UTC](https://forum.kirupa.com/t/arrays-movieclips/237148 "2007-08-27T18:00:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![emceedee](https://avatars.discourse-cdn.com/v4/letter/e/85f322/32.png) [@emceedee](https://forum.kirupa.com/u/emceedee)
#### Post date: [August 27, 2007, 6:00pm UTC](https://forum.kirupa.com/t/arrays-movieclips/237148/1 "2007-08-27T18:00:41Z")

</div>

hi, i’m having trouble with something i think should be pretty easy.

i have an array called movieList that’s made up of nine movieclips (“one\_mc” for example). when something happens in my timeline, i want to send each of the movieclips to their fifth frame. i tried the following code and it didn’t work:

for(i=0; i\<movieList.length; i++) {  
\_root.movieList\*.gotoAndPlay(5);  
}

is it possible to target movieclips in an array like that? i’d really appreciate some help with this one. if i can get this to work, it’s going to save me a whole lot of typing 😉

thank you!
