This worked:
myCanvas.removeChildAt(myCanvas.getChildIndex(event.mouseTarget));
and
myCanvas.removeChildAt(myCanvas.getChildIndex(event.mouseTarget.parent));
depending on whether the mouse is over the root Panel component or the child
containers added to the panel.
The harder part is
...@yahoogroups.com] On Behalf
Of jmfillman
Sent: Wednesday, September 02, 2009 11:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Context Menu mouseTarget Issue
This worked:
myCanvas.removeChildAt(myCanvas.getChildIndex(event.mouseTarget));
and
myCanvas.removeChildAt
2 matches
Mail list logo