I’ve been searching the threads and haven’t found any info on preloaders that countdown from 100 to 0. Is there any way of doiong this? I’m sure it has to do with setting the math properties in the code, but don’t have a clue about how to do this.
try this:[AS]onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = 100-per+"%"; // here’s the edit
loadBar._width = per; // if you want the bar to go in reverse, make this loadBar._width = 100-per;
if (percent>99) {
_parent.gotoAndPlay(16);
}
}[/AS]