Ok, here is the “problem”.
in actions in my .fla file I create a new object of a class (addChild) which is in an seperate .as file.
Now, in my .as file I want to call a function in the .fla file. This should be the parent right?
So, I try parent.correct(); which does not work. I get the error #1061 (call to a possibly undefined method).
However, when I do this:
var par:* = parent;
par.correct();
Everything works. Why is this? My mind was really boggled by this. Doesn’t make sense to me.