var dumbarray:Array = new Array("cycle","date","graduation","flashback", "drivehome");
for (var i:Number = 0; i < dumbarray.length; i++){
this.createEmptyMovieClip(dumbarray*, this.getNextHighestDepth());
eval(dumbarray*).loadMovie(dumbarray*+".swf");
var thex = 0;
var they = 0;
eval(dumbarray*).onEnterFrame = function(){
this._x = thex;
this._y = they;
thex += 330;
if (thex+300 >= Stage.width){
they += 250;
thex = 0;
}
}
eval(dumbarray*).onRelease = function(){
trace(dumbarray*);
}
}
everything works as needed minus the onrelease command. and i don’t know where i’m going wrong.