Bouncing away from object on collision?

Hi there guys,

I've spent the last 12 hrs on this issue and its starting to tick me off. I have a Space craft that is moved via the standard sine/cosine formula (I.e. xSpeed = Math.sin(craft._rotation*Math.Pi/180) etc..), I also have a group of Asteroids floating around in space. Basically, I need the ship to get bounced away from the Asteroids if they collide with each other.

E.g If the Asteroid's movement angle is 45 degrees and the craft's movement angle is 225 degrees, if they collide, I'd need the ship to be blasted back at an angle of 45 degrees. With me? I hope so :P

Thanks for any help :)

Hosma