# Function for \_root

**URL:** <https://forum.kirupa.com/t/function-for--root/296313>\
**Category:** Uncategorized\
**Created:** [September 13, 2009, 10:45am UTC](https://forum.kirupa.com/t/function-for--root/296313 "2009-09-13T10:45:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtidesign666](https://avatars.discourse-cdn.com/v4/letter/x/91b2a8/32.png) [@xtidesign666](https://forum.kirupa.com/u/xtidesign666)\
**Post date:** [September 13, 2009, 10:45am UTC](https://forum.kirupa.com/t/function-for--root/296313/1 "2009-09-13T10:45:11Z")

</div>

Hello, I’d like to control a movie clips current frame by another movie clips action script.

I realise the following controls the outside (root) frame time line:

> on(release){  
> \_root.gotoAndStop(1);  
> }  
> but I’m not sure how to apply that to my other movie clip. I’m guessing it would be something like this:

> on(release){  
> \__movie\_clip\_name_.gotoAndStop(1);  
> }

Thank you.
