Answer Posted / Harendra Kumar
A DragManager in Adobe Flex ActionScript is a class used for managing drag-and-drop operations. It allows you to move components around the application interface, and it also provides functions for controlling the dragging behavior.nnHere's an example of how to create a draggable component:nn```actionscriptnimport mx.managers.DragManager;nnmyComponent.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);nnfunction onMouseDown(event:MouseEvent):void {n DragManager.doDrag(myComponent);n}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers