Copy link to clipboard
Copied
hi folks
I am building android app.
I have a problem with loading several .swfs cache. this swf-s have almost same package and class structure/ names.
App stores ActionScript and assets of first loaded swf and when i try to load second swf, anyway it loads first swf.
I used
request.cacheResponse = false;
request.useCache = false;
loader.unload();
loader.unloadAndStop();
loader = null;
but no luck, any solutions, suggestions?
thanks
Copy link to clipboard
Copied
Did you try adding a cachebuster to the url? Like "my.swf?v=" + Math.random()
Just to make sure that caching is your actual problem.
Copy link to clipboard
Copied
I solved problem, swfs that I loading in app have same package names and classes, I changed package names for each swf and everything works fine.
Main app stores in cash loaded swf-s AS code, I have't found solution how to clean this cash