0

How can I set FileRefernce to open browse at a default location? If the default location is at C:/test then I always want to open browse from C:/test.

1
  • I didn't think this was possible; it is operating system specific. I retagged this post; as this has nothing to do w/ Flex or Flash Builder. Commented Aug 23, 2012 at 17:30

1 Answer 1

1

in pure AS3.0, no way, because that's not possible due to Flash Security Sandbox.

but, if you are using a Air File Class. it's possible.

in Adobe Forum, same issue question here: FileReference set directory?

File_Class Adobe Documents

File.applicationStorageDirectory—a storage directory unique to each installed AIR application

File.applicationDirectory—the read-only directory where the application is installed (along with any installed assets)

File.desktopDirectory—the user's desktop directory

File.documentsDirectory—the user's documents directory

File.userDirectory—the user directory

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.