# ? wat's going on here?

**URL:** <https://forum.kirupa.com/t/wats-going-on-here/96652>\
**Category:** Uncategorized\
**Created:** [December 11, 2003, 10:40pm UTC](https://forum.kirupa.com/t/wats-going-on-here/96652 "2003-12-11T22:40:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mansour](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@mansour](https://forum.kirupa.com/u/mansour)\
**Post date:** [December 11, 2003, 10:40pm UTC](https://forum.kirupa.com/t/wats-going-on-here/96652/1 "2003-12-11T22:40:50Z")

</div>

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.getPercent_50;  
this.loadText = \_root.pic.Math.round(getPercent_100);  
if(\_root.pic.loadedBytes == \_root.pic.totalBytes){  
this.gotoAndPlay(3);  
}[/AS]

here’s the fla

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 11, 2003, 11:03pm UTC](https://forum.kirupa.com/t/wats-going-on-here/96652/2 "2003-12-11T23:03:37Z")

</div>

Here are a few helpful links:

[http://www.actionscript.org/tutorials/intermediate/MovieClipLoader\_in\_Flash\_MX\_2004/index.shtml](http://www.actionscript.org/tutorials/intermediate/MovieClipLoader_in_Flash_MX_2004/index.shtml)

[http://www.sitepoint.com/article/1115/](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. 🙂
