oh yeah its "The class or interface 'Ship' could not be loaded." if you get that check you have not saved the file as ship.as - and also put all the stuff in same directory.
for those who struggle getting the code right; try downloading FlashDevelop (www.flashdevelop.org).
Use this to make Ship.as etc. It is much more helpful than the built in one in Flash.