Data Model Flex



    
        
            private var _myService:URLLoader;
            private function initializeHandler(event:Event):void {
               _myService = new URLLoader(  );
               _myService.addEventListener(Event.COMPLETE,myCompleteHandler);
               _myService.load(new URLRequest("http://localhost/my.xml"));
               XML.ignoreWhitespace = true;
            }
            private function myCompleteHandler(event:Event):void {
                var xml:XML = new XML(_myService.data);
                myComboBox.dataProvider = xml.children(  );
            }