SCript problem

Hi dear,
I put my script in as file, after publishing I got the following message in output panel:

man.as Line 1. Action Script 2.0 class script may only define class or interface constructs
stop();
what does it mean ?