Skip to main content
Participant
January 22, 2013
Question

File API update

  • January 22, 2013
  • 1 reply
  • 659 views

According to the release notes (http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air3-6_flashplayer11-6_releasenotes.pdf) for the AIR 3.6 beta, there should be an update to the File API with a new property called "preventBackup" which is suppose to solve the iOS5+ issue with saving files that are supposed to be marked for iCloud backup.

Well, I installed the new AIR 3.6 and I can't find the supposedly new File.preventBackup property. Am I missing something? Can I anyone clarify?

This topic has been closed for replies.

1 reply

Inspiring
February 16, 2013

"preventBackup" is a class instance property, so a static File.preventBackup = true; doesn't work (and wouldn't make sense anyway).

It works in class instances, as in myFile.preventBackup = true; where myFile is a file instance (File type).

If the property is still not accesible, you're probably not targetting the right swf version.