Global Scope: Code placed directly outside a package body or at the top-level of a package body resides in the global scope. : package « Language « Flash / Flex / ActionScript
Global Scope: Code placed directly outside a package body or at the top-level of a package body resides in the global scope.
package {
// Code here is in the global scope
}
// Code here is also in the global scope
package {
// Definitions here are accessible to all code in the global scope
}
// Definitions here are accessible to all code in the same source file