(mx) I’m trying to make an audio progress bar. I’d like any help that can be given to help me accomplish this. I’m loading the songs externally when it is selected. I just need a bar to represent the song being loaded. I’m loading the songs from .mp3s:
track1= new Sound
track1.loadSound(“morning.mp3”,false);
all= track1.getBytesTotal();
bytes_loaded = Math.round(track1.getBytesLoaded());
getPercent = bytes_loaded/all;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent100)+"%";
if(bytes_loaded/all >=.59){
gotoAndPlay(3);
}
the loadBar is the name of the progress bar_mc…this is the script I’m using, but I’d scrap it for a script that works…