This content has been marked as final. Show 3 replies
You must add a dragEnter and dragDrop event to the component you want to drop
on. For example we have a button with a TrashCan image that we drag and drop to.
<mx:Button label="" id="trashCan"
private function allowDrop(event:DragEvent):void
var dropTarget:UIComponent = UIComponent(event.currentTarget);
var dragFrom:UIComponent = event.dragInitiator as UIComponent;
Thanks John and Peter. Now I have got ideas how to do it....Thanks again....