Hello, I’m making a preloader for a site in which I need an mc to move across the screen instead of the normal width change. What is the AS for making the position change?
My current AS (would work if I wanted width change) is:
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
So what would I need to change?