List custom classes

Is there any way to get a list of custom classes? I’d like to be able to dynamically access the custom classes (that I’ve created by the “Export for Actionscript” checkbox in the “Linkage” dialog) without having to hard-code their names into the script.