Copy link to clipboard
Copied
Hi, I am trying to compile some AS code into JS using Jangaroo. Most of it has gone right, but now the compiler gives an "Undeclared identifier" error on identifiers that are imported from other packages and are outside of the package scope. Here is what my code looks like:
package foo.bar
{
import foo.baz.A;
class X
{
var a:A = new A;
}
}
import foo.baz.B;
class Y
{
var b:B = new B;
}
// B gives underclared identifier
How can I solve this please?
Have something to add?