Access Control Modifiers for Classes are listed before the keyword class in a class definition : Access Control Modifiers : Class Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Class » Access Control Modifiers »

 

Access Control Modifiers for Classes are listed before the keyword class in a class definition


 

attribute class ClassIdentifier {
}

To add the public attribute to the MyClass class

package com.navioo {
  public class MyClass {
  }
}

Explicitly indicate that MyClass is used within the com.navioo package only with internal attribute

package com.navioo {
 internal class MyClass {
 }
}

class defined with the internal attribute can be used within its containing package only. 

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Class
» Access Control Modifiers