Hi list
I've already posted this problem, and you have answered me, but the
problem is back, and I did what you told me.
I've got my core class : Core.as containing this
import myProjetPath.proxy.CommandManager;
class Core
{
private var oCM:CommandManager
[...]
function Core()
{
this.oCM = new CommandManager(this);
}
}
so You've seen that CommandManager is linked by the private var oCM
in my fla, in the root timeline, I've written:
import myProjectPath.Core;
var oCore:Core = new Core();
and I tried to call a public method "AddEvent" in the CommandManager
like this:
_root.oCore.oCM.AddEvent(oParams);
and it worked, even if oCM is private !!! It should not accept this line!
why does it work please?
You've told me that my oCore prop wasn't typed because it was formerly
"_root.oCore = new Core()", but now I've typed it...
PR
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders