# Audio loading bar \_mx

**URL:** <https://forum.kirupa.com/t/audio-loading-bar--mx/26014>\
**Category:** Uncategorized\
**Created:** [July 18, 2003, 3:15pm UTC](https://forum.kirupa.com/t/audio-loading-bar--mx/26014 "2003-07-18T15:15:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![faceoff305](https://avatars.discourse-cdn.com/v4/letter/f/439d5e/32.png) [@faceoff305](https://forum.kirupa.com/u/faceoff305)\
**Post date:** [July 18, 2003, 3:15pm UTC](https://forum.kirupa.com/t/audio-loading-bar--mx/26014/1 "2003-07-18T15:15:39Z")

</div>

(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 = getPercent_100;  
this.loadText = Math.round(getPercent_100)+"%";  
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…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 18, 2003, 4:40pm UTC](https://forum.kirupa.com/t/audio-loading-bar--mx/26014/2 "2003-07-18T16:40:28Z")

</div>

How are you loading the songs externally, as swf or as real mp3s?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 4:05pm UTC](https://forum.kirupa.com/t/audio-loading-bar--mx/26014/3 "2003-07-21T16:05:52Z")

</div>

as external mp3
