# Can I call gotoPlay from \_level2 for \_level0

**URL:** <https://forum.kirupa.com/t/can-i-call-gotoplay-from--level2-for--level0/4755>\
**Category:** flash\
**Created:** [August 19, 2002, 4:55am UTC](https://forum.kirupa.com/t/can-i-call-gotoplay-from--level2-for--level0/4755 "2002-08-19T04:55:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![3dron](https://avatars.discourse-cdn.com/v4/letter/3/2acd7d/32.png) [@3dron](https://forum.kirupa.com/u/3dron)\
**Post date:** [August 19, 2002, 4:55am UTC](https://forum.kirupa.com/t/can-i-call-gotoplay-from--level2-for--level0/4755/1 "2002-08-19T04:55:25Z")

</div>

I have an swf loaded into \_level0. On button release I want gotoAndPlay a certain frame label in an swf loaded into an MC named Host on \_level0 to.

I have the following:

on (release) {  
\_level0.host.gotoAndPlay(“Main”, “MainStart”);  
unloadMovieNum (2);  
}

The unload part looks fine, and I am back to my orginal page. But the page did not jump to ‘MainStart’.

What am I forgetting?

RR

---

<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:** [August 19, 2002, 5:19pm UTC](https://forum.kirupa.com/t/can-i-call-gotoplay-from--level2-for--level0/4755/2 "2002-08-19T17:19:21Z")

</div>

ITs really simple all you need to do is include this simple line of code in your button script:

\_level2.play(50);

where 50 would be the frame number or you can substitute the label name!
