How the compiler resolves class references

When Flash attempts to resolve class references in a FLA script, it first searches the document-level classpath specified for that FLA. If the class is not found in that classpath, or if that classpath is empty, Flash searches the global classpath. If the class is not found in the global classpath, a compiler error occurs.

When Flash attempts to resolve class references in an AS script, it searches only the global classpath directories, since AS files don't have an associated document class path.