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(); }
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.