Solved! Go to Solution.
map.addEventListener(ZoomEvent.ZOOM_END, checkScale); if(map.scale > 40000) graphicsLayer.visible = false;
import com.esri.ags.events.ZoomEvent;
private function checkScale(evt:Event):void { if(map.scale > 40000){ graphicsLayer.visible = false; }else{ graphicsLayer.visible = true; } }
map.addEventListener(ZoomEvent.ZOOM_END, checkScale); if(map.scale > 40000) graphicsLayer.visible = false;
import com.esri.ags.events.ZoomEvent;
private function checkScale(evt:Event):void { if(map.scale > 40000){ graphicsLayer.visible = false; }else{ graphicsLayer.visible = true; } }