? 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

Here are a few helpful links:

http://www.actionscript.org/tutorials/intermediate/MovieClipLoader_in_Flash_MX_2004/index.shtml

http://www.sitepoint.com/article/1115/

Didn’t really read that second one, but I’m sure you’ll at least find the first one helpful. :cowboy:

Also, I’m sure there are dozens of similar posts on these boards…just give that ol’ search button a click. :slight_smile: