-
loading bar starting very late
This happens every time I use a preloader...it starts the load bar late...in this instance a i meg swf doesn't show the load bar and progress until 50%
http://www.urbancolortheory.com/beta07
can anyone offer a solution ?
here's the code:
stop();
onEnterFrame = function () {
totalBytes = _parent.getBytesTotal();
loadedBytes = _parent.getBytesLoaded();
percent = Math.ceil((loadedBytes/totalBytes)*100);
gotoAndStop(percent);
info_txt.text = percent+" %";
if (percent>=100) {
_parent.gotoAndPlay("Main");
delete this.onEnterFrame;
}
};
-
Flashmatics
-
wow...that is a great article by senocular. very helpful, thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|