Mega Code Archive

 
Categories / Flash ActionScript / Class
 

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.rntsoft {   public class MyClass {   } } Explicitly indicate that MyClass is used within the com.rntsoft package only with internal attribute package com.rntsoft {  internal class MyClass {  } } A class defined with the internal attribute can be used within its containing package only.