You can place a crossdomain.xml on remote computer, which allows requests from this domain.
If you are using Flex Server (FES) you can use proxy...
-abdul
On 3/6/06, nahruka <[EMAIL PROTECTED]> wrote:
I have the following code in my Flex 2.0 application. Basically I'mtrying to send a HTTP request to a remote computer with Cocooninstalled. The entry actualitza1.xml reads the http request parametersand calls the PL procedures that access the database.
When it attemps to reach the specified url in the <mx:HTTPService> tag, it launches the following error:
"Security error accessing url"
When I debug the application, I get a Sandbox security violation... can anyone help me with this, please...
May I use a crossdomain.xml file somewhere in the remote computer??
May I write a destination entry in the Flex configuration files?
Any help will be appreciated
Thanks!
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx=" http://www.macromedia.com/2005/mxml" xmlns="*" initialize="srvpost.send()">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
]]>
</mx:Script>
<!-- Security error accessing url -->
<mx:HTTPService id="srvpost"
method="POST"
useProxy="false"
resultFormat="xml"
fault=" Alert.show(event.fault.faultstring);"
result="myText.text=srvpost.result.toString()"
url="" href="http://172.20.2.193:8888/curs/actualitza1.xml" target="_blank"> http://172.20.2.193:8888/curs/actualitza1.xml">
<mx:request>
<fdni>155959792</fdni>
<ftlf>971232323</ftlf>
<fmail> [EMAIL PROTECTED]</fmail>
</mx:request>
</mx:HTTPService>
</mx:Application>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

