? wat's going on here?

isn’t this code suppose to work
[AS]_root.createEmptyMovieClip(“pic”, 1);
_root.pic.loadMovie(“pic.jpg”);
_root.pic.loadedBytes = Math.round(this.getBytesLoaded());
_root.pic.totalBytes = Math.round(this.getBytesTotal());
_root.pic.getPercent = loadedBytes/totalBytes;
this.loadBar._height = _root.pic.getPercent50;
this.loadText = _root.pic.Math.round(getPercent
100);
if(_root.pic.loadedBytes == _root.pic.totalBytes){
this.gotoAndPlay(3);
}[/AS]

here’s the fla