I just want to do something trivial:
public class MyClass1
{
private var MyClass2:MyClass2 = new MyClass2();
And I got the ERROR
1046: Type was not found or was not a compile-time constant: myClass2.
Update: My class is capitalized in real. Flash doesn’t accept same name which is obsviously weird: in other languages there’s no problem! Why does Flash confuse the two it’s out of me!
There could be 1 of two problems here.
Try:
which should, by the way, be more like:
since classes should be capitalized.