Reputation: 13587
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.
Upvotes: 0
Views: 1631
Reputation: 9600
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.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
Upvotes: 1