从桌面拖动到空中应用程序
我一直在互联网上查找,但在空中应用程序中找不到任何好的(或最近的)示例,其中图像(例如)从应用程序的桌面拖动。
我能找到的唯一例子是这样的: http://blog.everythingflex.com/2007/ 06/18/simple-drag-and-drop-air/
问题是 flashbuilder 在以下方面给出错误:
导入 flash.desktop.DragActions;
导入 flash.desktop.TransferableData;
导入 flash.desktop.TransferableFormats;
导入 flash.desktop.DragManager;
(这只是导入部分的错误)
我知道最后一个可以用 mx.managers.DragManager 替换,但这是另一个类,因为我在“DragManager.acceptDragDrop”上收到错误,例如......
有人吗知道一个很好的(最近的 = 可以与 flashbuilder 4.5 一起使用的)示例,或者任何人都可以给我有关将图像拖动到空中应用程序的信息吗?
问候!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许您可以尝试这些链接:
http://www.mikechambers。 com/blog/2007/11/07/air-example-native-drag-and-drop/
http:// /www.spltech.co.uk/blog/adobe-air/native-drag-and-drop-in-adobe-air-with-example
Maybe you can try these links :
http://www.mikechambers.com/blog/2007/11/07/air-example-native-drag-and-drop/
http://www.spltech.co.uk/blog/adobe-air/native-drag-and-drop-in-adobe-air-with-example