my previous comment was wrong and in order to get rid of the error make sure that your 2 names are exactly the same my two names were different from background to backround
I had error in line 1 but then i realized that my mistake was that I had saved the .as file before I saved the .fla file. and if your ship doesn't move make sure you save both files. It worked for me
It's probably the best i've made
9000---01---2---1---0--0--2---2---2--------------------------------------------------c3-4-5-----7-a-9---9---9-8---8-b-----------------------------------------------------a2-3-4---9-8-8-8-9-a---a---8-8-7-7-6-6-----------------------------------------------