Hi all,
How can I preload multiple external files while the viewer looking at the other sections but not showing them until viewer clicks on of the coresponding buttons?
Hi all,
How can I preload multiple external files while the viewer looking at the other sections but not showing them until viewer clicks on of the coresponding buttons?
Well I don’t really see why you would want to do this because the point of external files is that nothing gets loaded that doesn’t have to get loaded. This makes it easier on the viewer.
But if you insist… you can use a dynamic preloader…
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=15472
The point of this is usually when viewer clicks menu button viewer stops there for a while reading contents. What I want to do is to load other external files in between first click and second click or any silent moment between viewers activities. Once those files loaded, viewer can access files faster than click and download. It should appear as if those files were cached before.
that “loading” happens automatically in flash. Technically, you can put all your elements on the screen at any certain frame and it will load those elements. As a matter of fact, that used to be the preffered method back in the Flash 4 days.
I will warn you that the pause that you feel your readers will make between the first button and the second (or third, or fourth) will not exist once the users have already visited your site and they know exactly where they want to go.
is there a way to prioritize the order of loading so that the file triggered by clicking one of the menu buttons is always load first no matter what other files are loading in progress:?
Well if you are loading multiple files at the same time, I don’t really think you prioritize the loading, I think it might load them at once (yes this does cause lag sometimes).
If there is any prioritization it is probably to which files are chosen to load first. I am not 100% sure if this happens, but if it does you could define the first loaded movie name in a variable and use that in your loadMovie code.
:: Copyright KIRUPA 2024 //--