View Single Post
Old 08-01-2012, 09:18 AM   PM User | #5
ruchiwebsol1
New to the CF scene

 
Join Date: Aug 2012
Location: India
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ruchiwebsol1 is an unknown quantity at this point
Hi there,

You'll want to probably do the equivalent of an AJAX call via Flex. I don't have it in front of me but I think you can use the HttpRequest object.

You'll basically have your object set up to retrieve the xml with a result handler on it. Whenever you need to call it, do so:

ActionScript Code:
myService.send();
and then you'll get your result via your handler:

ActionScript Code:
private function myResultHandler(event:ResultEvent):void
{
//do your handling stuff here....
}
obviously if you using things like ArrayCollections for drop downs and such, life will be a lot easier for you.

Hope that was at all helpful,
ruchiwebsol1 is offline   Reply With Quote