gotoAndPlay is not working

loaded = int(_root.getBytesLoaded()/_root.getBytesTotal()*100);
if (loaded>=100) {
gotoAndPlay(6);
} else {
gotoAndPlay(2);
}

My gotoAndPlay is working like gotoAndStop();
It will redirect to the frame but not continue the play.

I have no Stop(); funtions on the frames to cause this.

Any idea?