3 Replies Latest reply on Apr 16, 2010 12:21 PM by kglad

    coding in a different way.... help


      Hi everyone I need some help figuring out some code AS2.


      I have 6 MC on stage with a button on each. When clicked it plays the timeline in the MC. I want to make sure that none of the other MC are playing or 'open'. So I wrote code in each clip to close the others down, but it just seems a really lengthy way of doing it.


      So I've been trying to figure it out with var/strings and some script like. btn1.onRelease play this... if there is another MC open then close it.


      Can someone point in the right direction. So I can learn... I've thought about this alot and I would use this way of coding alot. rather specifying and repeating the statement on each clip.


      Thanks in advance