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
我需要做这样的事情。
override public function get width():Number {
if (onecase) {
return this width;
} else {
return another width;
}
}