Preloader works when previewed but not when uploaded

Ok I dont know if this isn’t a good process but I made my external SWF as a movieclip and then exported it as a SWF. Anyway, when I preview the movieclip and use that thing that simulates a 56k modem everything works fine but then when I upload it on my server, it won’t work. Does anyone have any suggestions? The AS i used is as follows:

First frame of Movieclip (preloader)
[AS]
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.mask2._width = getPercent100;
this.loadText = Math.round(getPercent
100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
[/AS]
2nd frame
[AS]
this.gotoAndPlay(1);
[/AS]
Thanks

By the way i think it has something to do with me using “_root” and not “_this” but if i use “_this” then it won’t work even when I am just previewing the movieclip… Could there be some export setting i have to use?

Mike

By the way, when I preview the WHOLe movie, not just the movieclip, it screws up too.