Change namespace for extended classes

Is there a way to change the namespace after extending a base class?

for example ( this doesn’t work )
[using psuedo code below to make it easier to read]


import namespaces.*;
class Defaults {
   function Defaults() {}
   ns1 function test():int {
      return 1;
   }
   ns2 function test():int {
      return 2;
   }
}


import namespaces.*;
class Base {
   use namespace ns1;
   function callTest() {
       trace(defaults.test());
   }
}


import namspaces.*;
class Extended extends Base {
    use namespace ns2;
}

Extended still uses the ns1 namespace in the callTest() method defined in the Base class. anybody know why my “use namespace ns2” has no effect in my Extended class?

thanks.