# \_level0.whereToGo

**URL:** https://forum.kirupa.com/t/-level0-wheretogo/68205
**Category:** flash
**Created:** [October 22, 2004, 10:05pm UTC](https://forum.kirupa.com/t/-level0-wheretogo/68205 "2004-10-22T22:05:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![steadvibe](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@steadvibe](https://forum.kirupa.com/u/steadvibe)
#### Post date: [October 22, 2004, 10:05pm UTC](https://forum.kirupa.com/t/-level0-wheretogo/68205/1 "2004-10-22T22:05:59Z")

</div>

Hey, I am using this to go to certain frames of movies… It works great except that it wont go to just the first frame??? What is going on?

I have this code on the first frame of all the moives i am loading in:  
this.\_visible = 0;  
this.createEmptyMovieClip(“loader”, 34567);  
loader.onEnterFrame = function() {  
var loaded = this.\_parent.getBytesLoaded();  
var total = this.\_parent.getBytesTotal();  
if (loaded == total && total \> 300) {  
this.\_parent.\_visible = true;  
gotoAndPlay(\_level0.whereToGo);  
this.removeMovieClip();  
};  
}  
There is no stop action because i have fade in of about 6 frames, so my stop action is on that 6th frame.

The code i have on my buttons is:  
\_root.navstub\_mc.menu\_mc.B.intro\_btn.onRelease = function() {  
loadMovieNum(“main\_profile.swf”, 20);  
\_level0.whereToGo = “intro”;  
\_level0.gotoAndPlay(“intro”);  
};

Why is it skipping the first frame label???
