Flash CS4 Error 1087 Syntax error: extra characters found after end of program.

Flash CS4

If you get the error: "1087 Syntax error: extra characters found after end of program" in Flash CS4 first take a look if you use Action Scrip 2 and not Action Scrip 3. Unfortunately that didn't solve the problem for me. After hours and hours Googeling I almost become insane.