I have a number of mc's (drawers) that each have a variable assigned to them (d1, d2 etc...) the variable is either equal to "open" or "closed"

when a single button is clicked I need to be able to perform a "goToandPlay" action on whichever of the mc's variable is equal to "open"

is this possible?

I have built an array that goes like this,

drawersArray = newArray


*when traced this returns the correct values, i just need to be able to identify which are set to "open" then control each mc that is.

do i need the "for in" command (as someone else suggested?

please help, i have confused myself here :S

cheers 3quid