hi everybody
i’m making preloader and i have the bars width increase on both sides, i want to know how to make two vector images follow the bars?:beam:
i found AS code:
[AS]bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent100)+"%";
_root.pFollow._x = Math.round(getPercent)+100 //offset
//to figure out the offset, you need to find how far in the movie
// the percentage box starts, soo if its 100, you would add 100 above
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}[/AS]
[AS]_root.pFollow._x = Math.round(getPercent)+100 [/AS]
follow right side of bar, how to make second vector image follow left side of bar?
thanks!