Solved! Go to Solution.
private function drawEnd(event:DrawEvent):void { clear(); if(keepActive){ event.target.deactivate(); var timeOutVar:uint = setTimeout(activateIdentifyTool, 400, null, lastTool); }else{ event.target.deactivate(); if (selectedDrawingIcon){ selectedDrawingIcon.filters = []; selectedDrawingIcon = null; } lastTool = ""; } identifyGeom = event.graphic.geometry; identifyFeatures(identifyGeom); }
private function drawEnd(event:DrawEvent):void { clear(); if(keepActive){ event.target.deactivate(); var timeOutVar:uint = setTimeout(activateIdentifyTool, 400, null, lastTool); }else{ event.target.deactivate(); if (selectedDrawingIcon){ selectedDrawingIcon.filters = []; selectedDrawingIcon = null; } lastTool = ""; } identifyGeom = event.graphic.geometry; identifyFeatures(identifyGeom); }