is there a way to create a class inside the main .fla file of a flash application? If I try to define a class directly in the action layer of the .fla, I get the error: "classes must not be nested". Alternatively, if I try to define a package and the class inside, I get "packages must not be nested".
I know I can reference an external .as file as the "Document class" but I was wondering if there was a way to put the class directly into the .fla.
Thanks!
Zoltan