# Well here goes nothing

**URL:** <https://forum.kirupa.com/t/well-here-goes-nothing/10606>\
**Category:** Uncategorized\
**Created:** [January 4, 2003, 2:06am UTC](https://forum.kirupa.com/t/well-here-goes-nothing/10606 "2003-01-04T02:06:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![titter](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@titter](https://forum.kirupa.com/u/titter)\
**Post date:** [January 4, 2003, 2:06am UTC](https://forum.kirupa.com/t/well-here-goes-nothing/10606/1 "2003-01-04T02:06:32Z")

</div>

After about a few days of messing with loading id3 tags into flash I have come to find out that you can only use a id3’s from a loaded mp3, if the mp3 is a event. Ok no problem, my problem now is how would I add a preloader to show the percent loaded of the audio? So far this is my code _see below_, the id3 information is loaded into a dynamic textbox with the instance name info. How would I add a preloader to the income mp3? Also the code below is set on a button, and not on a frame if that helps any.

```php

on (release) {
	myTrack = new Sound();
	function Music() {
		myTrack.start();
		if ((myTrack.getBytesLoaded() == myTrack.getBytesTotal()) && myTrack.duration>0) {
			info.text += "Song: "+myTrack.id3.songname+" ";
			info.text += "Artist: "+myTrack.id3.artist+" ";
			info.text += "Album: "+myTrack.id3.album+" ";
			clearInterval(poll);
		}
	}
	myTrack.loadSound("myfile.mp3", false);
	poll = setInterval(Music, 1000);
}

```

Thanks in advance!!

---

<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:** [January 4, 2003, 3:42am UTC](https://forum.kirupa.com/t/well-here-goes-nothing/10606/2 "2003-01-04T03:42:36Z")

</div>

why do you want to make a preloader for a mp3??? cant you just stream it? what is it exactly that you want to do? please be a little more specific

Grim

---

<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:** [January 4, 2003, 3:51am UTC](https://forum.kirupa.com/t/well-here-goes-nothing/10606/3 "2003-01-04T03:51:17Z")

</div>

what about equalizer-like displays? Running the mp3 through swiftMP3 will give you that and amost immediately accessible ID3 tags. That or store the tags in a text file or xml and load that in to get the tags and song url instead of relying on the song url (file) itself. It might be a little more work but if you’re not dealing with 100+ in and out songs, its most likely more than worth it.

---

<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:** [January 4, 2003, 8:01am UTC](https://forum.kirupa.com/t/well-here-goes-nothing/10606/4 "2003-01-04T08:01:08Z")

</div>

yoink

tit (heh) should have this but I thought Id throw it up anyway

song data given via xml. simple implementation, oh yeah, and a ticker text display

---

<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:** [January 4, 2003, 8:04am UTC](https://forum.kirupa.com/t/well-here-goes-nothing/10606/5 "2003-01-04T08:04:27Z")

</div>

Thxs man!!! Works great!!!

---

<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:** [January 4, 2003, 8:08am UTC](https://forum.kirupa.com/t/well-here-goes-nothing/10606/6 "2003-01-04T08:08:26Z")

</div>

no problem, anything for someone with the power to squish my head in the palm of their hand like it was a rotten tomato. :beam:

---

<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:** [January 4, 2003, 8:12am UTC](https://forum.kirupa.com/t/well-here-goes-nothing/10606/7 "2003-01-04T08:12:02Z")

</div>

LOL…ya I probably could do that…I have palmed peoples heads b4…:crazy:
