views:

46

answers:

1

Hi,

I'm looking at how to read a file in flash 10 here:

http://www.thedesilva.com/2008/11/flash-10-file-reference/

is there a way to initiate the file read from a drag and drop? For example, the user drags and drops a text file onto my flash element in the browser - can I initiate the file read from that?

Thanks

+1  A: 

You cannot do this operation in the browser. However it works in Adobe AIR -see this link http://www.mikechambers.com/blog/2007/11/07/air-example-native-drag-and-drop/

Cornel Creanga