What happened to local File loading?
Local file loading in iOS seems to be broken in 3.6 when testing in adHoc mode.
Error says:
[Fault] exception, information=Error: Error #3764: Reloading a SWF is not supported on this operating system.
I just found a thread that talks about the same issue: http://forums.adobe.com/message/4920638
I really hope this is a bug and not a feature...
On this blog post http://blogs.adobe.com/airodynamics/2012/11/09/packaging-and-loading-multiple-swfs-in-air-apps-on-ios/ you can read:
Loader.unload() & Loader.unloadAndStop()
The behavior of Loader.unload() and Loader.unloadAndStop() on iOS is below. When either of these functions is called the following will happen:
- The contentLoaderInfo property of the Loader object will become null
- Any assets that are loaded with the secondary SWF will be unloaded.
- Any references to AS classes in the loaded SWF remain in memory, and new objects of those AS classes can be created. This is different from the behavior on other platforms.
SWF Reloading
In AIR apps on iOS running in AOT mode there is a problem when a SWF is reloaded. Therefore reloading a SWF will not be allowed for AIR apps for iOS in AOT mode and attempting to do so will result in following error:
Error 3764: Reloading a SWF is not supported on this operating system
Note:If a SWF is accessed using different URLs like different paths referring to the same SWF, or using app:// and app-storage:// URI schemes to access the same SWF, then the two SWFs would be considered different and the SWF will be re-loaded. However, the behavior in such cases would be undefined.
So you can unload a swf but you can never load it back?
