# Run button function from another button at child movieclip

**URL:** <https://forum.kirupa.com/t/run-button-function-from-another-button-at-child-movieclip/304998>\
**Category:** Uncategorized\
**Created:** [February 17, 2010, 8:46pm UTC](https://forum.kirupa.com/t/run-button-function-from-another-button-at-child-movieclip/304998 "2010-02-17T20:46:49Z")\
**Posts on this page:** 1\
**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:** [February 17, 2010, 8:46pm UTC](https://forum.kirupa.com/t/run-button-function-from-another-button-at-child-movieclip/304998/1 "2010-02-17T20:46:49Z")

</div>

Have a button at root that when clicked, runs the code bellow:

```auto

function buttomClicked(e:MouseEvent):void {
	//run Action>>
	
}

```

How can I call the same function from another button, considering that button inside another MC?

Thanks
