How can I make this panel draggable, yet still maintain TextArea scrollability?
<s:Panel title="Load Edits Text" mouseDown="{mouseDownHandler(event)}"
mouseUp="mouseUpHandler(event)">
<mx:TextArea id="tArea"
width="600"
height="400"
selectable="true"
change="editsPasteHandler(event)"
/>
</s:Panel>
protected function mouseDownHandler(event:MouseEvent):void
{
(event.currentTarget as
UIComponent).startDrag();
}
protected function mouseUpHandler(event:MouseEvent):void
{
(event.currentTarget as UIComponent).stopDrag();
}
Cheers,
Philip