|
-
-
Junior Member
with a 56K modem, it started at about 15 to 20% but I couldnt tell, it loaded fast, so it jumped up quickly. It loaded in about 10 seconds, so i dont think you have any problem.
But, if you really really want the preloader to start from 0, then instead of using the traditional percentLoaded calculation:
Code:
percentLoaded=(_root.getBytesLoaded()/_root.getBytesTotal())*100;
try this..on a small, preferably emply clip, that is in frame 1 in the top layer.
Code:
onClipEvent(load) {
_root.alreadyLoaded=_root.getBytesLoaded;
}
onClipEvent(enterFrame) {
gBL=_root.getBytesLoaded-_root.alreadyLoaded;
gBT=_root.getBytesTotal-_root.alreadyLoaded;
//
percentLoaded=(gBL/gBT)*100;
}
so you try to calculate the percentage of what is still left to load...
Hariyemadzisawira nhaka yedu! Down the SCUD and win!
I'm too lazy to read Private Messages.
-
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
|