# Array MovieClip Mames

**URL:** <https://forum.kirupa.com/t/array-movieclip-mames/332498>\
**Category:** flash\
**Created:** [July 3, 2014, 3:14pm UTC](https://forum.kirupa.com/t/array-movieclip-mames/332498 "2014-07-03T15:14:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottiescotsman](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Post date:** [July 3, 2014, 3:14pm UTC](https://forum.kirupa.com/t/array-movieclip-mames/332498/1 "2014-07-03T15:14:02Z")

</div>

hi 🙂  
so simple I cant figure it out … must have been because I had a hypo last night 😕  
anyways why doesn’t this work if all the MovieClips are on the stage?

```auto

var menuArray:Array = [
        aboutBtn_MC, 
        servicesBtn_MC, 
        portfolioBtn_MC, 
        projectsBtn_MC, 
        contactsBtn_MC, 
        blogBtn_MC
        ]
for (var i:uint; i <= menuArray.length; i++){
 var mc = menuArray*;
menu_MC.mc.addEventListener(MouseEvent.MOUSE_OVER, btnOver);
menu_MC.mc.addEventListener(MouseEvent.MOUSE_OUT, btnOut);
}

```

Error on all MovieClips  
Scene 1, Layer ‘AS3’, Frame 10, Line 9 1120: Access of undefined property aboutBtn\_MC.

Thanks  
Steven :yoshi:

p.s. I need find a different past time lol
