This was my first attempt at a player-controlled vehicle using all-original code in Flash. You can drive the tank in any direction and rotate the turret independently of the body. You can also speed up, slow down, and shoot.
Test and demo apps can help one discover and investigate problems. This tank demo helped me identify and address a projectile and reticle alignment issue.