Hello to all.
I’ve been working on a portfolio site for a few days now. Everything works well except for the Preloader. The preloader was the easiest thing to do on the page. It doesn’t seem to actually start. That is what gets me at this point. Any suggestions? Code is pasted below:
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.gotoAndPlay(2);
}
}
What do you guys think… so far? Thank you!!