# \[AS2 - OOP\] incrementing properties

**URL:** <https://forum.kirupa.com/t/as2-oop-incrementing-properties/199253>\
**Category:** flash\
**Created:** [August 31, 2006, 11:32pm UTC](https://forum.kirupa.com/t/as2-oop-incrementing-properties/199253 "2006-08-31T23:32:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fariska](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@Fariska](https://forum.kirupa.com/u/Fariska)\
**Post date:** [August 31, 2006, 11:32pm UTC](https://forum.kirupa.com/t/as2-oop-incrementing-properties/199253/1 "2006-08-31T23:32:02Z")

</div>

Hi everybody

I’m working on a class which extends MC  
I would like to be able to do the same as this line: movieclip.\_width++

I already havewritten the function which modify the status of my MC and works perfectly  
But now i want link it to a property, so any variations applied to this property calls the function and modify the MC

How can i do it?

Thanks in advance
