Adobe Flex Actionscript Question:

Is it possible to make httpService Requests synchronous in adobe flex?

Tweet Share WhatsApp

Answers:

Answer #1No.
Basically, what we are about to do is creating XMLHttpRequest with Javascript in Flex, and calling a server data with the parameters we will give to the object.
e.g. xmlHttpRequest.open("GET","http://localhost/Default.aspx",false);
1. Request Type: GET or POST
2. Requested URL
3. Communication Type: true for asynchronous, false for synchronous.

Answer #2generally not possible. But if needs your application, you can define the next http service request call in result event of first call. so its like synchrous call

Download Adobe Flex Actionscript PDF Read All 84 Adobe Flex Actionscript Questions
Previous QuestionNext Question
Explain What is the function of trace?I need to load an image from flickr into my application. Do I need a crossdomain.xml file on flickr?