0
votes

I have been looking all over the internet and I can't find any good (or recent) example from a air application where an image (for example) is dragged from the desktop in the application.

The only example I could find is this: http://blog.everythingflex.com/2007/06/18/simple-drag-and-drop-air/

The problem is that flashbuilder gives errors on:
import flash.desktop.DragActions;
import flash.desktop.TransferableData;
import flash.desktop.TransferableFormats;
import flash.desktop.DragManager;
(and this are only the errors at the import section)

I know this last one can be replaced by mx.managers.DragManager, but this is another class since than I get errors on "DragManager.acceptDragDrop" for example...

Does anyone know a good (and recent = one that will work with flashbuilder 4.5) example, or can anyone give me information about dragging images to a air application?

greets!

1

1 Answers