I have a movieclip which is created every time the left key is pressed, and I was wondering how I would go about hittesting all of them.
Code:Creating movieclip:
if(Key.isDown(Key.SPACE)){
for(k=0;k<=100;k++){
lb[k] = attachMovie("left","left"+k,depth++)
}
}
Attempt at hittesting:
for(n=0;n<=100;n++){
if (slider.hitTest("left"+[n])){
trace("left")
}
}
