# Triggering Arrays

**URL:** <https://forum.kirupa.com/t/triggering-arrays/209865>\
**Category:** flash\
**Created:** [December 12, 2006, 10:34pm UTC](https://forum.kirupa.com/t/triggering-arrays/209865 "2006-12-12T22:34:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daidai](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/daidai/32/3087_2.png) [@daidai](https://forum.kirupa.com/u/daidai)\
**Post date:** [December 12, 2006, 10:34pm UTC](https://forum.kirupa.com/t/triggering-arrays/209865/1 "2006-12-12T22:34:25Z")

</div>

Im creating an array to hold co-ords, scale, rotation, etc for a menu system. I’m having trouble working out the best way to tell it that its current position is, say, mc\_A and now it should show, say, mc\_D. At present in my array I have a status parameter which is set to true if its the current movieclip, so mc\_A is true. Now mc\_D is triggered, what is the best way to tell the array that now mc\_D is true and mc\_A is now false. I understand that I could just have a line saying \*\*\_root.myMenuArray[0].status = “false”; **before I call** \_root.myMenuArray[4].status = “true”; \*\*but i’m sure theres a better way to this? Anybody have any tips?

dai2
