Hi everybody!
I have just casually found an AS3 feature that I didn’t know:
I have instanced a Class A, that instances a Class B from an external SWF, that instances a class C from another external SWF: all instances are public and visible to the parent
Now I want to use (from A) a public method of the C class: normally I would do
B.C.**method**;
But… it is possible to call method with
C.**method**
or directly with
**method**
I wonder what would happen if 2 object had methods with the same name…
Does this happen because an instanced object is added to the application domain or what?
How do you call this feature?
I thought it was strictly necessary to specify the complete path to the method…