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

