Reference Error 1065

Hi All,

I’m getting a load of these reference errors when i try to publish a project I’m working on

ReferenceError: Error #1065: Variable CheckBox is not defined.

All of my classes are declared public and I’ve set up my publish settings correctly for flash player 10. I can’t figure out where these are coming from - they seem to be either objects from my library or custom classes I’ve created in my project (which are all public!!!)

Anyone got any ideas whats going on here - this is driving me absolutely insane! I’ve spent a few hours combing the net and nothing I’ve found has worked. I’m thinking it must be some stupid setting I’m missing since the project is running fine in debug mode!

i’m running FP 10 in FLash CS4 and AS3. Any help would be greatly appreciated and might stop me from going crazy!

Thanks,
Derm