9.3.4 User-defined namespace attributes

The value of an attribute expression that evaluates to a compile-time constant namespace is used as the qualifier of the definition's name.

namespace ns
class A 
{
    ns var x
}

In the preceding example, the name of the definition of x is qualified by the namespace ns. Note the following rules:


 

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

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