File.preventBackup Not Working
I posted about this in the AIR Development forum originally thinking I'm probably not implementing it correctly, but after more and more testing I do not think this is working correctly. I have a Flex mobile app that I'm trying to store downloaded content into a subdirectory of the File.applicationStorageDirectory, and I've created a global variable in the main mxml class that initiates this location and sets it's preventBackup property to true. Now later on in other mxml views in the application, I'm referencing the variable using FlexGlobals.topLevelApplication.cachedXmlDir and in some cases FlexGlobals.topLevelApplication.cachedXmlDir.resolvePath("en") to write to subdirectories. When debugging on the iPad device, it seems that after the first reference to this global variable, it's preventBackup property gets set back to false. Also when I test this using iCloud backup, it is indeed backing up my downloaded content. So I don't see that there's anything with my code that would cause this, it just looks like this property is not being "sticky" at all. I also logged this as a bug, but would like any insight of others on this.
