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(); }
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.