Title: Message
Nope, that error "NetConnection.Call.Prohibited" is generated by the Flash Player, not Flex config or anything server side. The request never left the player actually.
 
If the host and port names are the same, then you can just rely on relative URLs to increase portability. If they're not the same, then you will have to setup a cross-domain.xml file on the [dev] box to accept requests from clients hosted on other domains.
 
Do a google search for "Flash Player 7 Security cross-domain.xml Deneb" :)
 
 
 
-----Original Message-----
From: Mehdi, Agha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 9:03 PM
To: '[email protected]'
Subject: RE: [flexcoders] RemoteObject Problem

Ok, this is something I didn't understand. I have my flex running on http://localhost:8600. when I use remoteObject with endpoint of http://localhost:8400/flashservices/gateway, which is a CF server, it runs fine with no problems. This time, I tried using remoteObject with endpoint http://[dev]/flashservices/gateway, it didn't work.
 
Do I need to modify my flex-config.xml file to allow access to call this RemoteObject, which is pointing to a separate box?


From: Peter Farland [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 5:33 PM
To: '[email protected]'
Subject: RE: [flexcoders] RemoteObject Problem

How are you loading your SWF and what endpoint are you setting on your RemoteObject?
 
Note that underneath RemoteObject is a call to NetConnection. Flash Player 7 introduced some stricter sandbox security rules that stipulate that you can not make connections to external resources unless either the host matches that as was used to load the SWF, or whether the remote location has a cross-domain.xml policy file allowing it to be contacted by other clients.
 
Note that 127.0.0.1 is not the same host name as localhost (i.e. it does not resolve host names to IPs to check if they refer to the same entity).
 
 
 
-----Original Message-----
From: Mehdi, Agha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 7:15 PM
To: [email protected]
Subject: [flexcoders] RemoteObject Problem

Hi all,
 
When I try to run a method on a RemoteObject, I see this error in the debugger
 
EventType: "Status"
MovieUrl: "http://localhost:8600/samples/greg/index.mxml.swf"
Source: "Client"
Time: 1109808432601
Date (object #1)
....."Wed Mar 2 16:07:12 GMT-0800 2005"
Status (object #2)
.....code: "NetConnection.Call.Prohibited"
.....description: ""
.....details: ""
.....level: "error"
 
Any ideas please.
 
Thanks
 
-- Agha
 

-------------------------
Agha Mehdi
web developer
Littler Mendelson P.C.
work:   415-288-6362
cell:     415-609-5741
-------------------------

 

----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com




----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com


Reply via email to