Can't assign value to inherited property?

Hello, I’ve been searching all around for an answer to this and I can’t find a thing.

I have a class that extends the Sprite class. When I try to set the value of the height property like so:

height=480;

and then trace the value of height I get 0.

Other properties that aren’t inherited work fine. Is there some special method I need to use to reference inherited properties?