hi! @ only 15 im a mega noob and im playing around with mx 2004. im trying to create a flash site with a few songs on it. i have the songs on different swfs to the main one, and they are quite big (3.5mb) (im using loadMovie method). i would like a way of saying how much % has been loaded, with maybe a bar that gets wider it loads.
So far i have this in my swf with the music on it:
Frame 1:
stop();
loaded = Math.round(_root.getBytesLoaded());
total = Math.round(_root.getBytesTotal());
percent = (loaded/total)*100;
_root.percent_loaded_text = Math.round(percent);
_root.bar._width = Math.round(percent*2);
if (_root.bar._width = “200”) {
gotoAndStop(2);
}
percent_loaded_text is a var in dynamic text
bar is a movie clip
Frame 2 has the music on it.