Thanks for your help Marco:
Here is the code I ended up with:
It worked using flash player 8
onClipEvent (enterFrame) {
_root.percent =
int((_root.getBytesLoaded()/this.getBytesTotal())*100);
_root.percentage= _root.percent+"%";
_root.loadBar._width = Number(_root.percent);
if (_root.getBytesLoaded() ==_root.getBytesTotal()) {
_root.gotoAndStop("t");
}
}