Check your classpath to make sure the default classpath is in there -- I have noticed flash clears this sometimes for an unknown reason.
For AS2, the default classpath is: $(LocalData)/Classes
For AS3, the default classpath is: $(AppConfig)/ActionScript 3.0/Classes
Hope this helps! Let me know if you need more assistance...