Hit-test question

[FONT=Courier New]Hi
I will try to explain the best I can but I am still very much new to actionscript so please bare with me …

I finished a tutorial on random movement and with the reults I thought I would make a little flash game.
The problem is, is the hittest, the tutorial showed me how to attach the movieclip using actionscript and then letting actionscript assign it an instance name so it would be. ball0, ball1, and so on. Heres the code. …
[COLOR=Red]for (i=0; i<2; i++) {
var t = this.attachMovie(“ball”, “ball”+i, i);[/COLOR]

So how would I point to this in the hitest.? I have tried ball, ball+i, and so on but with no luck.[/FONT]