Solution : Basically, what we are about to do is creating XMLHttpRequest with Java script in Flex, and calling a server data with the parameters we will give to the object.
For example: xmlHttpRequest.open("GET","http://localhost/index.aspx",false
1. Request Type: GET or POST
2. Requested URL
3. Communication Type: true for asynchronous, false for synchronous.