Try to comment things out slowly, piece by piece, and add a bunch of trace statements. That is how I solve all of my problems. Almost no one will be able to help you without seeing what is going wrong.
Before someone fixes it people need to know what the code does. Just because an experienced programmer can read code does not mean he wants to have to read every single line to understand what your code does. Flash code is not just cut and paste in all situations so unless you describe exactly what the code is doing and what it is for then you will never get a good answer. If you tell people what you are trying to do then they can replicate it themselves to test it and see if they can get your code to work.
Are you sure this code is the best way to achieve what you are trying to do?
Ok... people just to be clear. im makeing a game were you are a spaceship and you need to kill aliens, kind of like space invaders but different. but the aliens dont shoot back.
You are not receiving replies to this because you posted a piece of code instead of all the supporting code also.
You still didn't even tell anyone what the code attaches to. I'm guessing this code goes on the frame itself and controls the movie clips? I have no clue man, you will never figure it out if you play it off like you are programming some secret military project. It's just a flash game, you need to post more information about what you are doing and how you are doing it. There is thousands of ways to program a flash game and the way that you picked may be problematic.