Update v1.1 <font color="RED">19/10/2012</font> : bugfixe + load images !
Here's a new version of the FileReader plugin !
<img src="https://dl.dropbox.com/u/1412774/FileReaderDemo2/demo1.png" border="0">
I fixed a bug, and added thee possibility to load an image file :
<img src="https://dl.dropbox.com/u/1412774/FileReaderDemo2/demo2.png" border="0">
Useful, for example in Awesomium, where you can't do a drag'n'drop from desktop to add an image to your game (thanks Joannesalfa for the use case <img src="smileys/smiley2.gif" border="0" align="middle">).
The demo : https://dl.dropbox.com/u/1412774/FileReaderDemo2/index.html
The capx :
https://dl.dropbox.com/u/1412774/FileReaderDemo2/FileReaderDemo2.capx
The plugin : https://dl.dropbox.com/u/1412774/FileReaderDemo2/pode_filereader.1.1r.zip
_____________________________________________
In conjonction with the FileSaver plugin, here's a FileReader plugin !
It should work on relatively new web browsers (there's no easy fallback for older browser, like the FileSaver plugin).
<img src="http://dl.dropbox.com/u/1412774/FileReaderDemo/demo.png" border="0">
For the moment, only text file are loaded...
The demo : http://dl.dropbox.com/u/1412774/FileReaderDemo/index.html
The capx :
http://dl.dropbox.com/u/1412774/FileReaderDemo/FileReaderDemo.capx
The plugin : http://dl.dropbox.com/u/1412774/FileReaderDemo/pode_filereader.0.1.zip
(And yes, I know there's a typo in my test file <img src="smileys/smiley2.gif" border="0" align="middle">)