# Property on subclass, how to use it?

**URL:** <https://forum.kirupa.com/t/property-on-subclass-how-to-use-it/281400>\
**Category:** flash\
**Created:** [February 9, 2009, 12:27am UTC](https://forum.kirupa.com/t/property-on-subclass-how-to-use-it/281400 "2009-02-09T00:27:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandpaw\_broon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/grandpaw_broon/32/3985_2.png) [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Post date:** [February 9, 2009, 12:27am UTC](https://forum.kirupa.com/t/property-on-subclass-how-to-use-it/281400/1 "2009-02-09T00:27:59Z")

</div>

Hey all,

I do not really know how to do this correctly an i thought i would iron it out.

If i have an abstract class with a private property \_icon:Bitmap or a private method called… moveIcon().

Well all of my button classes will have an icon hence inheriance, but in the new classes, i cannot reference the private properties nor override the private methods. Im sure there is a reason for this but the question is, how can i make my \_icon property available to classes that extend it without making it public?

Thanks 😃
