I don't understand packages!
I've got this far and it all works: main.fla is in the top level folder and it's document class, Main.as, is in a subfolder named aardvark. Main.as defines itself as being in the aardvark package as do other classes in the aardvark folder, specific to this project. These classes all run and I don't need an import statement to use them. So far so good.
Now I want to create some utility classes which can be used in this or any other project. I put them in C:\as3classes\utils and add the utils folder to the classpath. By using import utils.*, these classes are all available and my objective is achieved but not as I intended. What I intended was to define the classes in a package called utils and be able to use them without importing, but they only work if they are defined in the unnamed package and imported. If the classes are defined in the utils package they generate the error: "5001: The name of package 'utils' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file." Where would I move it to? Perhaps the answer is to make utils a subdirectory of the top level folder, alongside aardvark, but this would not meet my objective as utils would then have a project-specific location. It's no big deal because I can achieve my goal but I'd like to understand what's going on.