Hi,
Amm, as a noob here I’m sorry for posting a duplicate if this topic is already posted. If so, could someone give me the link, cause I couldn’t find any info about this with Search.
Anyways, the problem is:
How can I stop loadVars from loading the file I have assigned it to load? If I delete and/or set undefined, and then assign something else for the loadVars, the old stream stays there until fully loaded (at least for me, or then Im doing something wrong). This is critical, 'cause if I set something else to be loaded the old files take bandwidth and loading slows down.
Why I’m doing this is that I’m trying to get the filesize of target file, and the only way I can do it, is to start loading it first(correct me if I’m wrong). Then I stop loading that file and check file size of the next file, and so, and so.
Finally when I have the totalsize calculated, I’d start loading them, actual loading… and compare current file size to total file size (yeh, multifile preloader).
So any ideas?
Cheers,
Ouzo