The Internal Details : Access Control Modifiers « Class « Flash / Flex / ActionScript






The Internal Details

 
package {
  public class SomeClass {
    public function instanceMeth (  ):void {
      function nestedFunc (  ):void {
        trace(a);
      }
    }
  }
}
var a:int = 15;

        








Related examples in the same category

1.Access Control Modifiers for Classes are listed before the keyword class in a class definition
2.protected member variables
3.Declares a new private property called _id within the Example class:
4.private variable is not inherited
5.Inherit protected variable
6.Internal variable