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;

This site requires the Flash player to display correctly. Go to http://www.adobe.com/go/getflash/ to download this plugin.