# Incrementing question

**URL:** <https://forum.kirupa.com/t/incrementing-question/255906>\
**Category:** Uncategorized\
**Created:** [March 28, 2008, 2:28am UTC](https://forum.kirupa.com/t/incrementing-question/255906 "2008-03-28T02:28:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingbrodi](https://avatars.discourse-cdn.com/v4/letter/k/f07891/32.png) [@kingbrodi](https://forum.kirupa.com/u/kingbrodi)\
**Post date:** [March 28, 2008, 2:28am UTC](https://forum.kirupa.com/t/incrementing-question/255906/1 "2008-03-28T02:28:20Z")

</div>

Flash 8  
AS 2

Im very new to AS and I hope this don’t seem stupid.

All I want to do is double the height of an object every time its clicked.  
Here is what I have so far and it works, but only one time. I want to be able to click it again and have it double again.

function changeBox(){  
myBonus.\_height = 19 \* 2;  
}  
myBox.onPress = changeBox;

Can you guys help?

Thanks!
