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); } }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.