override public function initialize():void { super.initialize(); states.push(new State({name:"state1"})); states.push(new State({name:"state2"})); currentState = "state1"; } override protected function getCurrentSkinState():String { return currentState; } override protected function stateChanged(oldState:String, newState:String, recursive:Boolean):void { super.stateChanged(oldState, newState, recursive); invalidateSkinState(); }
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.