This loader works only for the main page

[INDENT][SIZE=3][FONT=Times New Roman]Loader: first frame[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]Total = _root.getBytesTotal();[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]Loaded = _root.getBytesLoaded();[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]if (loaded>=Total) {[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]_root.play();[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]} else {[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]parcent = (Loaded/Total)*100;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]parcent_text = Math.round(parcent);[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]Bar.p_Bar(parcent_text);[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]_root.stop();[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
[/INDENT][INDENT][SIZE=3][FONT=Times New Roman]Second frame:[/FONT][/SIZE]
[FONT=Times New Roman]this.gotoAndPlay(_currentframe-1);[/FONT]
[/INDENT]
[FONT=Times New Roman][INDENT][SIZE=3][FONT=Times New Roman]Loading bar:[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]onClipEvent (enterFrame) {[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]function p_Bar(parcent) {[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]_xscale = parcent;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]}[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]First frame-movie[/FONT][/SIZE][FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]System.useCodepage = true;[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]stop();[/SIZE][/FONT]

[/INDENT]The codings work fine for the main page. But when this loader is added for all the other pages, it takes me only to the home page which opens by default on the main page.
Help!:red: [/FONT]