I have 1000 movieclips on stage and want it so whichever one you click on gets removed.
At the moment I have a for loop that is assigning: for(var i=0; i<1000; i++){ this["mc"+i].onPress = function(){ trace(this); this.removeMovieClip(); } } it all works fine, I'm just wondering if anyone can think of anything more efficient for such a large number of MCs. Like a listener or something? _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com