简体   繁体   English

Flex拖放

[英]Flex Drag and Drop

I am trying to do a flex drag and drop. 我正在尝试进行Flex拖放。 It is very similar to this first example. 这与第一个示例非常相似。 http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_7.html 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. 问题是event.currentTarget.mouseX,mouseY显示的是我放下鼠标的位置,而不是完成拖动的位置。

I am just wondering why this could be? 我只是想知道为什么会这样? If there is a short answer? 如果有一个简短的答案?

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM