# Same action for buttons

**URL:** <https://forum.kirupa.com/t/same-action-for-buttons/24295>\
**Category:** Uncategorized\
**Created:** [June 28, 2003, 2:41pm UTC](https://forum.kirupa.com/t/same-action-for-buttons/24295 "2003-06-28T14:41:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [June 28, 2003, 2:41pm UTC](https://forum.kirupa.com/t/same-action-for-buttons/24295/1 "2003-06-28T14:41:16Z")

</div>

Hi

I have the same buttons, wich should have the same commands, several times in my movie. How do I make all of them to have the same actionscript?

---

<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:** [June 28, 2003, 4:13pm UTC](https://forum.kirupa.com/t/same-action-for-buttons/24295/2 "2003-06-28T16:13:21Z")

</div>

make a function and call them out… thats it  
reference “function” 🙂
