if (!isRssFeed(value.toString())) line when u pass a value to another function isRssFeed which have a asynchronous Http call .So u have do the further opration inside the result \ fault handler of Httpservice ..
Hope this helps u..
Yes, i need to stop the application from executing until the httpservice response isn't returned. I've tried with AsyncToken but it seems i'm not using correctly.
I'm new in flex and i don’t have a clue how can i do this.
Tnx in advance.
Try to post your code...which are having your Http result and Fault handlers..
Yes you can wait the application wait until the response is returned from the Server.....What you are doing is right.....You are notified for the response returned from the server with the event handlers you registered.
So what's your problem now...?
Please us setTimeOut(function_to_be_ called_after_timeout,delay_number) if you want your app to wait.
Also u can use a
If ur rssfeed got data(changed) it will call a method since it is filled with data..
Mark as answer if this is correct
You shouldn't use a timeout to wait for data from HTTPService. If you set the timeout for 2 seconds and the service takes 3 seconds to respond, you'd be out of luck. You want to write a handler for the "result" event, because this event is not dispatched until the data has arrived.
Adobe Flex SDK Team