package {
// Code here is in the global scope
publicclass SomeClass {
// Code here is in the SomeClass scope
publicstatic function staticMeth ( ):void {
// Code here is in the staticMeth scope
}
public function instanceMeth ( ):void {
// Code here is in the instanceMeth scope
function nestedFunc ( ):void {
// Code here is in the nestedFunc scope
}
}
}
}
// Code here is in the global scope