Ok, i tweaked the AS considerbley:
Now, my only problem is that i can't get the loadText to display the percentage loaded, it simply remains at 0. What in the world am i doing wrong? ahCode:bytes_loaded = Math.round(this.getBytesLoaded()); bytes_total = Math.round(this.getBytesTotal()); getPercent = bytes_loaded/bytes_total; this.loadBar._width = getPercent*100; loadText._x = loadBar._x + loadBar._width; loadText.text = bytesComplete*100 + "%"; if (bytes_loaded == bytes_total) { this.gotoAndPlay(3); }![]()




Reply With Quote