灵活拖放
我正在尝试进行灵活的拖放操作。 它与第一个示例非常相似。 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
值得注意的是,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.