Skip to main content
Inspiring
February 9, 2013
Answered

File.preventBackup & File.cacheDirectory

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 is closed to new replies. Start a new post to keep the conversation going.
Pahup
PahupCorrect answer
Adobe Employee
May 20, 2013

5 replies

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

Translate
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!

Translate