Hi all, I would like the load bar to use a minu value, have a look at my code below:
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = int(per * 1.80);
if (percent>99) {
_parent.gotoAndStop(2);
}
}
As you can see my calculation sets the width of the loadBar movie clip based on my calculations, however I am trying to get it in a reverse value “-” any ideas???
Cheers