Solved

Flex 2.0 and Local File System

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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 …
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
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.

758 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

19 Experts available now in Live!

Get 1:1 Help Now