This is the first time i try to make something with flash in using as3.0 in flash cs4
But i keep getting errors when trying to publish my swf.
Allthough i just try to publish a slight altered sample file with the program.
I got all the code right out of the example files
When publishing, i get a 5007 error code "An ActionScript file must have at least one externally visible definition." ( amongst a trillion other beginners error codes

I think it might have to do with some of the publish settings, but i just can't figure out which.
Any help would be much appreceated since I really like the interactive part of the flash movies.
Greetz,
Sjarcie.