我一直在寻找整个互联网,我无法从空中应用程序中找到任何好的(或最近的)示例,其中图像(例如)是从应用程序的桌面拖动的。
我能找到的唯一例子是: http ://blog.everythingflex.com/2007/06/18/simple-drag-and-drop-air/
问题是 flashbuilder 给出错误:
import flash.desktop.DragActions;
导入 flash.desktop.TransferableData;
导入 flash.desktop.TransferableFormats;
导入 flash.desktop.DragManager;
(这只是导入部分的错误)
我知道这最后一个可以用 mx.managers.DragManager 代替,但这是另一个类,因为例如我在“DragManager.acceptDragDrop”上遇到错误......
有谁知道一个好的(最近的 = 一个可以与 flashbuilder 4.5 一起使用的)示例,或者任何人都可以给我有关将图像拖动到空中应用程序的信息吗?
问候!