Accurate hitTesting updating arrays with collisions.F8 CS3.zip

:drool: Hello all i have a few problems with a music sequencer that i think will be quite basic for some however im quite new to flash and still have a way to go …I have 4 ball movie clips, a playhead and four target movieclips called mc_1-4, the array, (my_array), has 4 elements, which are each defined as having values of 0: I have a hitTest set up that will trace my_array to the output window each time it hits mc_1, to see what is happening. However the hitTest prints the array 3 times?
Am i right in thinking that this is because the hitTest is being triggered on entry of mc_1 in the center and upon exit?
I need to make this hitTest be triggered once when the hitTest passes the center of mc_1.

Secondly if any of the balls have been dragged and dropped on to mc_1 i want the array value with an index of 0, to change to 100 from 0 (not in terms of its index position because my array is only 4 elements long, in terms of its actual value) which i have tried to implement but i cannot configure the right code.

so i need…

  1. hit tests that only trigger once when they pass through the center of the object thus tracing one array.
    2.use the balls 1-4 to make the array index 0, have a value of 100 if they are in contact with mc_1.

I have zipped the files up.

Thanks in advance:

DaKY~