|
-
[F8] Preloader for PARTS of file
I know there are a million preloader threads but I couldn't find the answer to this. I have a preloader but I want it to only look at part of my file, whereas currently it is waiting for the whole thing to load. Because I have some large images to load I want them to be ignored and they can collectively have their own preloaders once the user gets to that point. How do I do this? Here's the code:
totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes
percentDone = int((loadedBytes/totalBytes)*100);
bar.gotoAndStop(percentDone);
if (_framesloaded == _totalframes) {
gotoAndPlay(3);
}
Thanks in advance...
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
|