
Flex.Drop/Drag
shangmw
这个作者很懒,什么都没留下…
展开
-
Drag & Drop - From List to VideoDisplay
实现将List列表中的视频flv文件通过拖动的方式,即直接用鼠标将要播放的文件拖动到VideoDisplay中就可以播放。JsonList.mxml:xml version="1.0" encoding="utf-8"?> This demo just presents how to get the data from a json data file and to display转载 2008-06-25 15:15:00 · 1264 阅读 · 1 评论 -
Dragging rows between two different Flex DataGrid controls
Dragging rows between two different Flex DataGrid controlsBy peterd Categories: DataGrid Tags: DataGrid, dragEnabled, dragMoveEnabled, dropEnabled. The following example shows how you转载 2008-09-27 13:47:00 · 559 阅读 · 0 评论 -
DragManager prevents mouse events of children *Updated*
I just ran into another strange behavior of flex. Lets say you have a VBox, with an image inside. When the user clicks the image, it should do some stuff, but when the user clicks (mousedown actually)原创 2009-05-23 16:13:00 · 506 阅读 · 0 评论 -
显示拖拽图片需注意的问题
当我们在执行拖拽时,比如拖拽一张图片,在拖拽的过程中,想要显示图片那么我们必须要设置一下代理图片的大小,否则它是不会显示的,代码如下: var dragInitiator:Image = Image(event.currentTarget); var dragProxy:Image = new Image();原创 2009-07-09 10:11:00 · 598 阅读 · 0 评论 -
在List内部进行拖放
10.3 在List内部进行拖放Drag and Drop Within a List问题你要在同一个列表类组件实例内部移动和复制数据。解决方案使用列表类组件中内置的拖放管理。讨论通过为DragManager调度的事件指定事件处理器,就可以启动任何组件的拖放功能。尽管你可以手动将这个功能添加到列表控件中,但Flex Framework中列表类组件,例如List、Tree转载 2009-07-09 10:38:00 · 2448 阅读 · 2 评论