That doesn't make sense. I've attached my files, give that a go.

On 1/16/06, Andy Johnston <[EMAIL PROTECTED]> wrote:
> yup
>
> >Did you create 2 .as files called A.as and B.as and import B into your
> >.fla file before calling B.doit()?
> >
> >On 1/16/06, Andy Johnston <[EMAIL PROTECTED]> wrote:
> >
> >
> >>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
> >>>[email protected]
> >>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>_______________________________________________
> >>Flashcoders mailing list
> >>[email protected]
> >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >>
> >>
> >
> >
> >--
> >Chris Velevitch
> >Manager - Sydney Flash Platform Developers Group
> >www.flashdev.org.au
> >_______________________________________________
> >Flashcoders mailing list
> >[email protected]
> >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
> >
> >
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


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

Reply via email to