Is there a way to override the width (for a getter) on a Sprite?
I see examples of how to override the setter but not the getter
I need to do something like
override public function get width():Number {
if (onecase) {
return this width;
} else {
return another width;
}
}
Yes you can.
super.width is will be basic Sprite getter.