private function widgetOpenedHandler(event:Event):void { if (graphicsLayer) graphicsLayer.visible = true; wTemplate.addEventListener(EffectEvent.EFFECT_END, checkHgt2); function checkHgt2(event:Event):void { if (currentState == "stateForcast"){ showStateForcast(); } else if (currentState == "stateRadar"){ showStateRadar(); } else if (currentState == "stateResult"){ showStateResults(); }else if (currentState == "stateSearch"){ showStateTextSearch(); } wTemplate.removeEventListener(EffectEvent.EFFECT_END, checkHgt2); } }
Los miembros que hayan iniciado sesión pueden publicar, seguir las novedades y mucho más. ¿Eres nuevo? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.