Francesco,<mx:Image click="{activateSearchTool(DrawTool.MAPPOINT)}" source="assets/images/i_draw_point.png" useHandCursor="true" buttonMode="true" toolTip="some tooltip" width="40" height="40"/>
private function activateSearchTool(value:String):void
{
setMapAction(value, "Some status text", null, DrawEnd);
}
private function DrawEnd(event:DrawEvent):void
{
var selectionQuery:Query = new Query();
selectionQuery.geometry = event.graphic.geometry;
fieldsLayer.selectFeatures(selectionQuery, FeatureLayer.SELECTION_NEW);
}