Hi ive pretty much finished my site www.coriolis-effect.co.uk and need some directions to progress bars. I can't find much simple stuff on here (yes im stupid at flash) any tutorials that I may have missed? thanks
Printable View
Hi ive pretty much finished my site www.coriolis-effect.co.uk and need some directions to progress bars. I can't find much simple stuff on here (yes im stupid at flash) any tutorials that I may have missed? thanks
On the first frame of your FLA make a rectangular movieclip and name it loadbar_mc. Paste this code into the first frame in your actionscript layer.Code://PRELOADER
loadbar_mc._xscale = 1
myInterval = setInterval(preloader, 10);
function preloader() {
if (getBytesLoaded()>=getBytesTotal()) {
gotoAndStop(2);
clearInterval(myInterval);
}
loadbar_mc._xscale += (((getBytesLoaded()/getBytesTotal())*100)-loadbar_mc._xscale)/5
percentage_mc.percentage_txt.text = Math.round(getBytesLoaded()/getBytesTotal()*100)+"%";
}
Jamie
hi i can't get this to work for ****. here is the file
www.purgeme.co.uk/lewis/coriolis/test.fla
am i doing something wrong? it just freezes with a rectangle there.
Link doesn't work.
sorry its up now www.purgeme.co.uk/lewis/coriolis/test.fla