With AS3 have introduced new "instructions" to define properties and methods (public or private). si comportava in AS2 come ora si comporta protected , in AS3 private è davvero “privata” !) proprio a causa dell'introduzione di una sintassi più OO rispetto alle precedenti versioni. Some, such as private - already present in AS2 - changed behavior ( private behaved in AS2 behaves like now protected in AS3 private is really "private"!) just because of the introduction of an OO syntax than previous versions . Better outline, then, from the "public" at most "private":
- public
everyone can access it - protected
you can access the parent class and subclasses - Private
only the class that defines - Internal
only within the same package










[...] Function, or method, init () has been defined as private (see Actionscript 3.0: public, protected, private, and internal) using the private keyword: PLAIN TEXT [...]