Hi List!

This is not really a problem, but rather a question cause it seems strange...

I've got a Core.as class containing
private var oParam:ParamMngr;
and
this.oParam = new ParamMngr();

in the ParamMngr class, we can see
private var mcGround:MovieClip;
and the use of it.

into flash, on main stage, I've put the following:
import com.domain.Core;
_root.oCore = new Core();

and then tried
trace(_root.oCore.oParam.mcGround);
--> it worked !!!

why? each variable is private... so how can it run?

thx,

PR

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to