For example purposes i am using the following mp3, which i have loading but the webvistors don’t know wats going on because there is no loading bar.
my_sound = new Sound(this);
my_sound.loadSound(“http://www.glitzentertainment.com/glitinc/documents/13.CWhisky-HQ-MPThaWizzard-NoProblems2.mp3”, true);
I tried playing around with the code but i was unsucessful.
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)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
And i have seen the tutorials already,but some how is it possible to add the mp3 to load up on the preloader as file and after it has completed downloading the mp3 to play automatically.