Here my mini project for recreate movable Flex Panel: https://drive.google.com/file/d/19qaHGIlK3Xj-ub3h66vl5SePLxlgnM9l/view?usp=sharing
The only thing that I can't solve it's that after a drop, I can't start dragging again. I already tried all the options that I could find. Harbs <[email protected]> escreveu no dia domingo, 28/06/2020 à(s) 19:52: > > https://github.com/apache/royale-asjs/tree/develop/examples/royale/DragAndDropExample > > https://github.com/apache/royale-asjs/tree/develop/examples/royale/MultiDragDropExample > > > On Jun 28, 2020, at 9:27 PM, Hugo Ferreira <[email protected]> > wrote: > > > > Hello, > > > > With Flex I can easy drag and drop a Flex Panel. > > Just listen for mouse down and up and use the built in startDrag and > > stopDrag functions: > > > > private function handleDown(event:MouseEvent):void > > { > > this.startDrag(); > > } > > > > private function handleUp(event:MouseEvent):void > > { > > this.stopDrag(); > > } > > > > How to do the same with Royale ? > > > > Thank you, > > > > Hugo. > >
