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 widgetHope this is helpful.
protected function _startDrag(event:MouseEvent):void { event.currentTarget.startDrag(); } protected function _stopDrag(event:MouseEvent):void { event.currentTarget.stopDrag(); }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.