从桌面拖动到空中应用程序

发布于 2024-12-24 19:10:38 字数 651 浏览 6 评论 0原文

我一直在互联网上查找,但在空中应用程序中找不到任何好的(或最近的)示例,其中图像(例如)从应用程序的桌面拖动。

我能找到的唯一例子是这样的: 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 技术交流群。

扫码二维码加入Web技术交流群
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文