# gotoAndPlay problem

**URL:** https://forum.kirupa.com/t/gotoandplay-problem/309540
**Category:** Uncategorized
**Created:** [May 18, 2010, 8:43am UTC](https://forum.kirupa.com/t/gotoandplay-problem/309540 "2010-05-18T08:43:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![leohytam](https://avatars.discourse-cdn.com/v4/letter/l/7cd45c/32.png) [@leohytam](https://forum.kirupa.com/u/leohytam)
#### Post date: [May 18, 2010, 8:43am UTC](https://forum.kirupa.com/t/gotoandplay-problem/309540/1 "2010-05-18T08:43:25Z")

</div>

I want to link a button in my main timeline to a label- frame in a movie clip. The movie clip is called “Adetail” and the label is “on01”…

I type in the following script

on(release){  
gotoAndPlay(“on01”)  
}

but it doesn’t work…  
i’ve also tried

on(release){  
\_root.Adetail.gotoAndPlay(“on01”)  
}

and  
on(release){  
\_root.gotoAndPlay(“on01”)  
}

but none of them work. Plz help.
