Missile Example

The source for this example can be found here.

How to make a seeking-missile effect.

It's basically just 6 lines of code --

velocityX += (targetX - x) * .05;
velocityY += (targetY - y) * .05;
x += velocityX;
y += velocityY;
velocityX *= .9;
velocityY *= .9;

Darn it all...
Make sure javascript is enabled and you have an up-to-date version of flash.

Get Adobe Flash player