i have class A, then class B which entends class A, then class C which entends class B.
now in class A there are couple of empty methods currently defined as protected.
in class B these methods are also empty //i dont know how to make this exactly, they should obvioulsy be here as well because⦠->
then in class C i want to override these methods and actually do something in them.
so how do i stretch these empty methods from class A to class C?
don tell me this has to go like this?
class A:
protected function rollOverHandler(e:MouseEvent):void {}
class B:
override protected function rollOverHandler(e:MouseEvent):void {
super.rollOverHandler();//do i need this because nothing is happening above?
}
class C:
override protected function rollOverHandler(e:MouseEvent):void {
do something here...
}