Solved! Go to Solution.
protected function _startDrag(event:MouseEvent):void { event.currentTarget.startDrag(); } protected function _stopDrag(event:MouseEvent):void { event.currentTarget.stopDrag(); }
Here is a widget that I built does what you ask for, and allows a few configurations in the .xml file.
Tags you can use in the xml file are:
<text> - text/label that appears above the image
<imageurl> - image source
<scaleX> - to scale image width
<scaleY> - to scale image height
<height> - for widget
<width> - for widget
Hope this is helpful.