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(); }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.