Package Organization

Hey Guys,

I have a quick question about package organization. Currently I have my fla in my main folder and all of my class files in a directory called Main_Core.

So with each class it starts with the code:

 
package Main_Core {
class MyClass {
//insert code
}
}

I’m getting to the stage where I have too many class files in that one folder for my organization levels to feel comfortable.

I’d like to organize it in the following heirarchy but I don’t know how to word the syntax. Any help would be great!

Heirarchy: Bold is a folder, regular type is a class file which EXTENDS the previous level’s class file. So MultipleClasses1 extends SubObjectTypeClass etc.

Main_Core
[INDENT]MainClass
Main_Objects
[/INDENT]MainObjectClass
[INDENT][INDENT]SubObjectType1
[INDENT]SubObjectTypeClass
SubSubObjectType1
[INDENT]Multiple Classes1
Multiple Classes1

[/INDENT][/INDENT]SubObjectType2
[INDENT]SubObjectTypeClass
SubSubObjectType2
[INDENT]Multiple Classes2
Multiple Classes2

[/INDENT][/INDENT][/INDENT][/INDENT]Also if I wanted to instantiate a class that is nested in that heirarchy so for example in the MainClass I wanted to say “new MultipleClasses2()” do i need to put the package class before it?

Thanks again!