# Overriding, making methods read only

**URL:** https://forum.kirupa.com/t/overriding-making-methods-read-only/272559
**Category:** flash
**Created:** [October 6, 2008, 3:25pm UTC](https://forum.kirupa.com/t/overriding-making-methods-read-only/272559 "2008-10-06T15:25:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tpspoons](https://avatars.discourse-cdn.com/v4/letter/t/b4bc9f/32.png) [@tpspoons](https://forum.kirupa.com/u/tpspoons)
#### Post date: [October 6, 2008, 3:25pm UTC](https://forum.kirupa.com/t/overriding-making-methods-read-only/272559/1 "2008-10-06T15:25:28Z")

</div>

Sorry if this has been asked before, I wasn’t sure what to search.

So yea, is there a way to override methods, and make them read only? For example in a display object, making the width/height properties read only? I know I can have an empty setter, but is there another alternative?

Thanks.
