Collisions/Math/Other

Hello!

I started a stupid project today, just to experiement.

Anyway - im having trouble testing my collisions between objects. Ive used the hitTest method for incrimented movieclips from a loop, however ive never tested objects, of the same class, ie, Ball1 Ball2 Ball3, etc.

If tried adding two for loops, like the tutorial here on kirupa, however this bogged my movie beyond 6fps!

My other question, if you look at the demo - i am drawing lines between the random dots, however by the time the lines are drawn, the dots have moved along. Im looking to update the lines, so they ‘stick’ with dots movement, untill faded out.

I hope this makes sence!

heres the link
http://www.armyvisual.com/constellate

thanks so much,
Mike