Sometimes, you might need to read / write the files from user's computer without any server side components (like php or java), directly in the web - browser. This is very often a case when you have to deal with various kinds of the web - applications that works with images, text files and so on. This time I'm going to show you how to use flex to work with the local file system through the web browser.
So if you are interested only in the result, you can immediately check out this demo (works only for Safari, Google Chrome and Opera).
In case if you are really curious about how it's done, you might also wanna check out the source code. You'll need to have ant + flex sdk in order to build it (see build.xml for more information). You can use this for building simple text / image editor, working with the xml or configuration files directly in the browser.
Please let me know if you'll get it working in the rest of the web browsers (IE & Firefox), I believe that the problem is that the HTML code for the flash movie should be different (embed tag instead of object tag).
See updated version here: Reading and writing files from the browser using flex. Now works for all browsers!