PDA

View Full Version : Package Question



endemoniada
August 23rd, 2008, 01:56 PM
Hi guys,

I want to have two classes in a single .as file, one of the classes will only be visible to the main class in the file.

class QueItem{
...
}

class Que{
//only this class will use QueItem, no other classes will
}

Can I do that ? I tried a few syntaxes but it never works.

Thanks.

senocular
August 23rd, 2008, 04:49 PM
You can, but the other class has to be outside the package {} block