Skip to main content
vakhtangi
Inspiring
Nov 21, 2014 3:33 PM UTC
Question

AIR load swf cash problem

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

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

natural_criticB837
Legend
Nov 25, 2014 1:11 PM UTC

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.

Translate
vakhtangi
vakhtangiAuthor
Inspiring
Nov 25, 2014 2:34 PM UTC

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

Translate