May 20
I am creating a drag/drop app currently, using a List as my drag initiator, but using a VBox as the dropTarget. Strangely enough, I could only get the dragEnter event to fire when I moused over the border. But the interior was "dead"--that is not droppable.
<mx:VBox id="conditionsContainer" label="if"
width="100%" height="100%" horizontalAlign="right"
borderStyle="solid"
dragEnter="dragEnterHandler(event)" dragDrop="dragDropHandler(event)" />
But it worked fine in this example. Turns out, there was no "element" to drop on. I had to provide a background of some sort to the VBox for it to pick up the event.
<mx:VBox id="conditionsContainer" label="if"
width="100%" height="100%" horizontalAlign="right"
borderStyle="solid" backgroundColor="#FFFFFF"
dragEnter="dragEnterHandler(event)" dragDrop="dragDropHandler(event)" />
Jul 13, 2008 at 3:08 PM Thanks a lot, you truly saved my day!
Sep 19, 2008 at 3:08 PM you're the man!
Dec 30, 2008 at 5:33 AM brillient
Nov 11, 2009 at 1:49 AM this is nice information need to know more