You can control whether loaded objects are cached using these settings:
The situation is like this, I've my AIR application running and i'm dragging and dropping swf files from external (flex builder) onto AIR application. The swf files are loading. But if i recompile the swf files with some changes and drop the swf file onto already running AIR app, the changes are not reflected instead if i restart the application, the changes are reflected. Here the swf files are loading from the cache and i want to prevent this from happening.
I'd appreciate your thoughts on this.
Well, that's not really a "cache". It sounds like the SWFs you loaded the first time are still loaded and still running. Perhaps you can use unloadAndStop() on the Loader (or SWFLoader) object that you are using to load the SWFs in the first place. However, I'm not sure whether this also unloads the class definitions of the SWF. Have a look at the ApplicationDomain class to see if you need finer control of how loaded class definitions are handled. Newer loads do not overwrite existing definitions. If unloadAndStop() doesn't unload the definitions, you could, I suppose, always assign a fresh ApplicationDomain when you load a SWF. See http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7e07.html