Solved

Flex 2.0 and Local File System

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
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 select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

792 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