Overriding the getter of a variable

I’m trying to override a getter of a variable defined as ‘default’.

to be more specific,
I’m trying to override ‘bytesLoaded’ getter in a class that extends


the variable is defined as followed:

public var bytesLoaded (default, null):Int;

does anyone know how to do that?

Unfortunately this is real variable (without getter function), so you can’t override it.