Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4207
  • Last Modified:

Flex 2.0 and Local File System

With a flex 2.0 application is it possible to access local files without having to upload and then download the files??

I hav looked at this page: http://www.adobe.com/devnet/flash/articles/fplayer8_security_07.html  but I am still unsure of how the security works.

Is it possible for a user to "allow" or "trust" our application and grant it access to the local file system. If so, how then would I go about getting the full path of a file choosen using the FileReference class and load it into the flex app?

Please note that our application will always be running off of our server and will not be running locally.

Thanks
0
maclema
Asked:
maclema
1 Solution
 
ProactivationCommented:
I don't believe it's possible yet.  File access was new in Flash 8, so it still fairly limited, and this is intentional.  I don't think Flex 2 adds anything beyond FileReference and FileReferenceList, which are designed for uploading and downloading files to a website rather than manipulating the file system.  If you want to do things with specific files, the best way is to get Flash to call some server-side code which can handles the file stuff.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now