This content has been marked as final. Show 3 replies
I'm not sure if theis will help but if you are moving all the movies to the first frame this code will work
I believe that the issue is that you are you need to covert a string value stored in the array to a movieClip object. the eval(StringVariable) will make AS convert the string object to a MovieClip object.
there is a simple way to achieve that.. Put all your buttons in one mc and call that mc buttonsMc.
With a for in loop you will be able to do what you want. Ill post a version that will escape the movieclip button that is pressed; mainly because usually you want to reset all the other buttons but not the one pressed. You just have to pass as a parameter the name of the movieclip button to the function .. here is the code:
Thanks to both of you for all your help.