On Thu, Jun 19, 2008 at 9:31 AM, Thomas Broyer <<a href="mailto:t.broyer@gmail.com">t.broyer@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, Jun 18, 2008 at 4:46 PM, Neil Deakin wrote:<br>> We have a need to be able to support both dragging multiple items, as well<br>
> as dragging non-string data, for instance dragging a set of files as a set<br>
> of File objects (see <a href="http://www.w3.org/TR/file-upload/" target="_blank">http://www.w3.org/TR/file-upload/</a>) from the file system<br>
> onto a page.<br>
<br>
</div>That would be new data formats.<br>
That's how Adobe AIR solved the problem. They added a Bitmap and File<br>
list data formats, for which getData returns AIR-specific objets (a<br>
BitmapData and an array of File objects respectively)<br>
<a href="http://help.adobe.com/en_US/AIR/1.1/jslr/flash/desktop/ClipboardFormats.html" target="_blank">http://help.adobe.com/en_US/AIR/1.1/jslr/flash/desktop/ClipboardFormats.html</a><br>
<a href="http://livedocs.adobe.com/air/1/devappshtml/DragAndDrop_2.html#1048911" target="_blank">http://livedocs.adobe.com/air/1/devappshtml/DragAndDrop_2.html#1048911</a></blockquote><div><br>Creating a new data format for each kind of collection seems suboptimal. And it breaks completely if you want heterogeneous collections.<br>
<br>Rob<br></div></div>-- <br>"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]