ASC2 Compiler
I don't know what forum to go to for help with the new compiler. After it left the Labs, the forums we could use were marked Read Only. Since the compiler ships with what you now call the AIR SDK, I hope you can get this request to Chris Campbell and company.
package
{
public final class A
{
public function A() {}
}
}
compiles fine.
package any
{
public final class A
{
public function A() {}
}
}
fails with very imprecise [no line number, no column offset] error emssage:
Error: Unable to resolve root class of SWF: A
Yes, I have provided just a simplistic example, but it is sufficient to demonstrate my problem. Any otherwise clean/correct Actionscript Class compiles just fine. Only change the fact that the Class needs to be in a package path hierarchy, and the above error message is all I can get.
Please provide the correct syntactical rules for asc2 and/or any parameters that need to be passed to the compiler to make this work I know, for example, that unlike its predecessor, the new compiler will not let me point to a file named terry.as if it contains the class Terry.as and get the job done. Ok, new rules, ok, I can live with that inconvenience, but I cannot produce an application without a package structure.
