# Please help

**URL:** https://forum.kirupa.com/t/please-help/68152
**Category:** Uncategorized
**Created:** [October 22, 2004, 1:57pm UTC](https://forum.kirupa.com/t/please-help/68152 "2004-10-22T13:57:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![batmitra](https://avatars.discourse-cdn.com/v4/letter/b/85e7bf/32.png) [@batmitra](https://forum.kirupa.com/u/batmitra)
#### Post date: [October 22, 2004, 1:57pm UTC](https://forum.kirupa.com/t/please-help/68152/1 "2004-10-22T13:57:18Z")

</div>

hi everyone  
i’ve been thru the forums looking for this and i can’t seem to find anything , i’ve looked at tutorials and still not find

i’m using flash mx, when i make a preload my movie only starts to show it after it has loaded about 40% of the movie, her is the code i’m using:

on frame 1:

loadpercent = this.getBytesLoaded() / this.getBytesTotal() \* 100;

if(loadpercent == 100){  
gotoAndStop(3);  
//setProperty(bar, \_xscale, loadpercent);  
}else{  
bar.\_width=loadpercent;

}

percentagem = int(this.getBytesLoaded() / this.getBytesTotal() \* 100 )+ " %";

“percentagem” is my text variable name which shows the percent loaded

on frame 2 i symply put “gotoAndPlay(1);”

what am i doing wrong?
