Remove all movieclips associated with an array?
Hi, I'm going through Gary Rosenzweig's AS3 book and am having a hard time with even simple things.
Right now I'm trying to have 5 different movieclips associated with array "lights" removed from the screen when the game is over. I'm able to do removeChild(lights[0]); and remove one item, but if I try to select more than one - like removeChild(lights[0,1]); - I get a really weird and big error message, one I've never gotten before.
Any ideas? I'll upload the FLA and AS files - https://www.mediafire.com/folder/hiksiia0pl4lm/memoryGame
