# Performing 2 actions on 1 button

**URL:** <https://forum.kirupa.com/t/performing-2-actions-on-1-button/816>\
**Category:** flash\
**Created:** [July 31, 2002, 3:51am UTC](https://forum.kirupa.com/t/performing-2-actions-on-1-button/816 "2002-07-31T03:51:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Decoy](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@Decoy](https://forum.kirupa.com/u/Decoy)\
**Post date:** [July 31, 2002, 3:51am UTC](https://forum.kirupa.com/t/performing-2-actions-on-1-button/816/1 "2002-07-31T03:51:28Z")

</div>

Well, first of all I must tell you that I am a newbie to the whole concept of Flash. Now, my question is how can perform one action on a button, followed by a second one, without it just skipping the first one?

Thanks…:bandit:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 31, 2002, 4:01am UTC](https://forum.kirupa.com/t/performing-2-actions-on-1-button/816/2 "2002-07-31T04:01:55Z")

</div>

Just put the second action right under the first one. It should work, depending on what you are trying to do. For an example, say I have a movieclip with the instance name “ball”. With this button I want to increase both its HEIGHT and its WIDTH by 1. the Clip actions would go like this

on (release) {  
\_root.ball.\_width += 1;  
\_root.ball.\_height += 1;  
}
