views:

555

answers:

3

Hello,

I would like to know if it is possible to create a Flex application accepting the drop of local files?

The aim is to only retrieve the full path/name of the file in the local file system.

Google results are mainly about dragging and dropping items inside a flex application.

Thank you in advance.

+4  A: 

Unfortunately, not with a browser-hosted Web application, no -- the drag-and-drop APIs are only available to Flex applications targeting Adobe AIR.

Christian Nunciato
A: 

No. And due to security concerns, flex doesn't let you read the full path name of the file even while uploading a file.

Amarghosh
A: 

As others have said, due to security issues, you cannot using Flex. You can however use AIR which is desktop-based, to drag and drop things into it, using the dragManager().

Doron Katz