Hi,
It looks like inspite of loading shared library swf explicitly (like sharedLib.swf?verson=....), import from runtime sharing of a symbol from sharedLib picks up from old sharedLib.swf from cache.
shared lib swf is sharedLib.swf and it has symbol with "export to runtime sharing" set to relative URL sharedLib.swf .
testSharedLib.swf is the test swf which has the symbol on stage (meaning it has "import from runtime sharing" set to sharedLib.swf)
main.swf has loadMovie("sharedLib.swf?version=<math on time>") in first frame and second frame does attachMovie of the symbol.
With this setup , i see in cache files in IE 2 files
1. sharedLib.swf?version (this is due to explicit load)
2. sharedLib.swf (due to import from runtime sharing)
When i do some changes in the symbol , compile sharedLib.swf and deploy it ,after next time load ,i see that sharedLib.swf?version 's got updated but not the sharedLib.swf.
Problem is , relative URL given in export/import runtime sharing looks for sharedLib.swf in the cache.
By the way what cache settings you have in your browser .
Is it check for newer versions of files
1. whenever new browser is open or
2. every visit to page or something else ?
The cache setting will not affect Flash shared library. Even if I set to "Never", the shared assets will be instantly updated. But this is because I'm testing this in the local environment; if you test this in the HTTP server things may be different.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.