Question about Percentage Preloader with Load Bar

http://www.kirupa.com/developer/mx/percentagepreloader.htm

I’m trying to use this loader, but rather than have the loader in the same scene I would like to have it in the first scene (call preloader) then jump to the scene 1 where the intro is.
Could you help me with the code?
I did play a little bit with but no luck…

---------------------------------------------------------------------->

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent
100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}

------------------------------------------------------------------------->

this.gotoAndPlay(1);

------------------------------------------------------------------------->

:nerd: :nerd:

Tried this?


if (bytes_loaded == bytesTotal) {
    gotoAndPlay("Scene 2", 1);
}