Copy link to clipboard
Copied
Hello,
Does anyone know how to preload the current swf file in AS3 ?
And is it possible to preload all the code in the current swf?
Regards,
Chris
Copy link to clipboard
Copied
See if the following tutorial helps...
AS3 Preloader
-------------
Copy link to clipboard
Copied
Please give us more information about flash and how you execute it. If your swf is inside of web page. It is downloaded into browsers cache and next time when you access it the browser gets it from cash. BUT! Browsers cache its content using a url adress with paremeters( url thats setted from movie and src properties insede an RunActiveContent function - this function create swf object into web page ) as a key to find an cached content. So if you change params value every time when reload the page it will be download swf every time.
What you mean- "And is it possible to preload all the code in the current swf?"? If you press F5 ( refresh in browser )