# Dilema - get loaded in swf to goto frame label on main timeline?

**URL:** <https://forum.kirupa.com/t/dilema-get-loaded-in-swf-to-goto-frame-label-on-main-timeline/166669>\
**Category:** Uncategorized\
**Created:** [October 21, 2005, 6:34pm UTC](https://forum.kirupa.com/t/dilema-get-loaded-in-swf-to-goto-frame-label-on-main-timeline/166669 "2005-10-21T18:34:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![salvador\_marley](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@salvador\_marley](https://forum.kirupa.com/u/salvador_marley)\
**Post date:** [October 21, 2005, 6:34pm UTC](https://forum.kirupa.com/t/dilema-get-loaded-in-swf-to-goto-frame-label-on-main-timeline/166669/1 "2005-10-21T18:34:03Z")

</div>

I have a button that is loaded into my main movie at level 2. in my main movie on the timeline I have a frame label called guestbook. I want my button, when released to go to trigger the frame label.

on my button i have the script:

on (release) {  
\_root.gotoAndStop(“guestbook”);  
}

Obvously this does not work because it references the wrong timeline so i tried:

on (release) {  
\_parent.gotoAndStop(“guestbook”);  
}

thinking that somehow it would see the parent swf and work - haha - me and my dumb ideas 🙂 of course it doesnt work.

do you know how i can get it to work. Perhaps i should mention that the button that loads in at level 2 is inside a movie clip (for reasons of animation)

anyway enough ramblings  
Can you help me?

thank you. I will of course keep answering other peoples questions when i can as a reward for your help in this matter
