Um, I don't really know what to do with that, I suck with arrays and other actionscript stuff. All I want to do is apply one line of code to every movieclip I have on stage, which is a lot, and it would take to long to apply one line of code to them all manually. (I just want to apply this.swapDepths(_y)) So could I do something like,
var myMovieClips:Array = new Array("All Movieclips on Stage:);
function myFunction(){
this.swapDepths(_y);
}
for(var i=0; i<myMovieClips.length; i++){
_root[myMovieClips[i]].onRelease = function(){
myFunction();
}
}
Sorry, I really don't get it.