private function initializeHandler(event:Event):void { statesService.getCountries( ); } private function changeHandler(event:Event):void { statesService.getStates(country.value); }