9.6.2 Static methods

Functions declared with the static attribute add a method trait to the class object traits. Static variables are in scope of a static method.

It is an error for the this or super expression to appear in the body of a static method.

NOTE

 

Unlike in Java and C#, static variables are not inherited by derived classes and so cannot be referenced through derived class objects.


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/specs/actionscript/3/as3_specification90.html