Solved

Flex 2.0 and Local File System

Posted on 2006-06-21
1
4,186 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

867 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now