Adobe Flex Actionscript Question:

Download Job Interview Questions and Answers PDF

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

Adobe Flex Actionscript Interview Question
Adobe Flex Actionscript Interview Question

Answers:

Answer #1
No.
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 #2
generally 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 Interview Questions And Answers PDF

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?