Hi,
I am an actionscript newbie, and I am trying to do something seemingly simple.
I have an actionscript file with a class defined, and I am trying to define an object for that class in another actionscript file but I keep getting a compile error that says type not found.
Here is what my code looks like
ABC.as
package{
…
public class ABC{
…
…
}
Paint.as
import ABC
package{
…
public class Paint extends Movieclip{
[COLOR="Red"]var abc:ABC; // throws an error [/COLOR]
}
…
}
If someone could point me in the right direction that would be great.
Thank you,
Amrita