HEre's a plugin that leverage the possibility for browser to handle the drag'n'drop of a file from outside the browser, inside the page.
<img src="https://dl.dropbox.com/u/1412774/DragNDropZoneDemo/demo.png" border="0">
With that plugin, you can drag Images in your game, and get back a base64 string, that you can load in any Sprite. Therefore, your user can customize an avatar with dragging one of his image inside the game, for example !
All the image format currently supported by the browser are supported by the plugin. (Don't forget to catch the "On Image Loaded" event, the image can be laoded by the browser some time after the end of the "On drop" event).
You can also load some text file, and handle the result as a classic text string. File format are plain txt,html/htm,xml, and SVG (viewed as an XML, not an image, here !)
If you set the zone as "invisible", you can't drag any new file until you set the zone "visible" back again.
In the example .capx, I also show how to handle wrong a filetype dragged over a drag'n'drop zone (for example an image on a text drag'n'drop zone).
At the edit time, you need to set if you want your zone to access image files, or text files. In the future, I'll add support for more varied file type.
You can also specify a CSS string for the styling.
The demo : https://dl.dropbox.com/u/1412774/DragNDropZoneDemo/index.html
The plugin : https://dl.dropbox.com/u/1412774/DragNDropZoneDemo/pode_dragndrop_zone.1.0.zip
The .capx : https://dl.dropbox.com/u/1412774/DragNDropZoneDemo/DragNDropZoneDemo.capx