Collsion detection / object avoidance HELP!

Hi, i have the following problem.

In my file i basically have a movie clip called bluecell. Now, when you press the ‘up key’, he moves to a new position.

My problem is that when he collides with other coloured cells i would like him to avoid them but still aim for his new position, so it dosent matter really wat his x position is, just as long as he gets to the y position but is not touching anyone.?

I have it set up, although the hit tests are tempermental (any advice about that is much appreciated), i just cant get it to change direction???

PLEEEEEEEEEEEEEEEEAAAAAAAAAAASSSSSSEEE Help!!!:d: