Skip to main content
Inspiring
February 9, 2013
Answered

File.preventBackup & File.cacheDirectory

  • February 9, 2013
  • 1 reply
  • 2455 views

I'm running FB 4.7 with Flex 4.6 SDK and Air 3.6 SDK overlayed.  I'm not seeing the below additions to the File API:

1) File.cacheDirectory

I2) File.preventBackup

I must be missing something?

This topic has been closed for replies.
Correct answer Pahup

What's the swf-version and namespace?

Thanks

-Pahup

http://blogs.adobe.com/airodynamics/2013/02/13/preventing-automatic-cloud-backup-on-ios-devices/

1 reply

dewsAuthor
Inspiring
April 26, 2013

Moot iissue above - simply needed later SDK.

However - this:

     File.cacheDirectory.resolvePath('test.txt')

..throws the following error:

     TypeError: Error #1010: A term is undefined and has no properties.

Has anyone else run into this?

I'm using FB 4.7 / Flex 4.9.1 / Air 3.7

dewsAuthor
Inspiring
May 19, 2013

Same issue with Air 3.8

I must be missing something obvious - I'd very much appreciate a pointer here Adobe!