dsdsdsdsd
10-26-2008, 08:21 PM
hello;
I am learning how to extend my own custom classes;
for instance I have:
// class A
public function a_method() : void
{ trace( "hello class A , a_method");
}
// class B extends A
override public function a_method()
{ trace( "hello class B , a_method");
}
it works fine;
QUESTION: how can I make the class B method override BUT YET ALSO call the class A method?
thus the output should be:
hello class B , a_method
hello class A , a_method
thanks,
Shannon
I am learning how to extend my own custom classes;
for instance I have:
// class A
public function a_method() : void
{ trace( "hello class A , a_method");
}
// class B extends A
override public function a_method()
{ trace( "hello class B , a_method");
}
it works fine;
QUESTION: how can I make the class B method override BUT YET ALSO call the class A method?
thus the output should be:
hello class B , a_method
hello class A , a_method
thanks,
Shannon