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="">
<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




Reply via email to