when I try to replicate that B.doit doesnt even appear as a method?

I have 2 classes, A and B. B extends A:-

class A {

        private function A(){};
        
        public static function doit() {
                dothis();
        }
        
        private static function dothis() {
                trace("A.dothis");
        }
        
}

import A;

class B extends A {

        private function B(){};
        
        private static function dothis() {
                trace("B.dothis");
        }
        
}

and when I call B.doit(), the trace output is:-

    A.dothis

whereas I'm expecting B.dothis.

I using Flash Professional v 8.0.

Has anyone seem this problem before?


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to