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???