i have a .swf movie which is about 350k and all but 25k is an embedded mp3. but my preloader doesn’t work properly in the sense that it only appears once the the mp3 has downloaded. at the moment the preloader reads:
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndStop(2);
}
}
the mp3 is in a in a variable ‘tune’ which is in a clip called ‘sound’ and that clip is in a clip called ‘music’. music is found on the root level.
tune = new Sound();
tune.attachSound(“myMP3”);
tune.start(0,999);
any help will be gratefully received.
thanx