actionscript 3 - Flash AS3 - Internal namespace modifier -


I am working on a library that I want to hide inside the external world.

I thought I could use 'internal squares', where ever I wanted to hide the class,

To declare a class in the name level test, my There is so much time to understand. The meaning of NS1 is that the classes can only be defined in the examination. For example,

(both in the same library)

  /src/ns/test.as - internal class / Src / NS / test2 / test2.as - internal class  

test / test2 can not see each other, am I being missed? Or is there no proper way to hide my inner orbits, should they still speak in the library? Access restricted to classes defined within the namespace "internal" same package

Therefore, you can see a class com.mycompany.app.Foo internal square com.mycompany.app.Bar , but com.mycompany.app. Can not see data. Base .

View


Comments