Create a Counter in AS3.0: to count the variables added to the stage.
I'd like to make a counter in AS3.0, in a document class file, for a Flash project, whereby the counter counts the number of movie clips added to the stage.
The current document class is set up with a number of timers, an "ouber"timer, which activates three additional timers every 500000 milisecs, while the additional timers add different movie clips to the stage, each adds a different amount and at a different rate.
And, i'd like to add some code to this AS file, to tell flash to count how many mcies and if 20 is the sum of the mcies on the stage, stop the timers and remove the mcies.
Please give me advice how to do this.
thanks:)
