Solved

Flex 2.0 and Local File System

Posted on 2006-06-21
1
4,190 Views
Last Modified: 2012-05-05
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
Comment
Question by:maclema
1 Comment
 
LVL 12

Accepted Solution

by:
Proactivation earned 500 total points
ID: 16983369
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
EMET 5.2 / Adobe Flash 2 236
Script to Delete registry entry based on Product name 6 162
adobe flash plugin has crashed while listening to pandora 2 71
black magic design 1 129
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question