灵活拖放

发布于 2024-07-21 13:48:06 字数 334 浏览 3 评论 0原文

我正在尝试进行灵活的拖放操作。 它与第一个示例非常相似。 http://livedocs.adobe.com/flex/ 3/html/help.html?content=dragdrop_7.html

问题是 event.currentTarget.mouseX,mouseY 显示的是我放下鼠标的位置,而不是我完成拖动的位置。

我只是想知道为什么会这样? 如果有一个简短的答案?

I am trying to do a flex drag and drop. It is very similar to this first example. http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_7.html

The problem is that event.currentTarget.mouseX,mouseY is showing the position where I put the mouse down rather than the position where I had finished dragging.

I am just wondering why this could be? If there is a short answer?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

葬﹪忆之殇 2024-07-28 13:48:06

值得注意的是,Flex-on-AIR 和 Flex-in-Browser 应用程序具有不同的 DragManager 实现,并且这两种环境之间的行为并不完全一致。

It's worth noting that Flex-on-AIR and Flex-in-Browser apps have different DragManager implementations and that behavior is not entirely consistent between these two environments.

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