FlexBuilder sets the project bin directory as "privileged" for the local
trusted sandbox to help rapid development of applications so that only
at deployment time will you need to consider the security implications
of a application hosted on a public domain.
 
See:
http://livedocs.adobe.com/flex/201/html/security2_117_46.html
 
So it's not anything in the bin directory itself that gives it
permission.
<http://livedocs.adobe.com/flex/201/html/security2_117_46.html>  
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of bnsmeets
Sent: Wednesday, April 11, 2007 10:41 AM
To: [email protected]
Subject: [flexcoders] Re: Calling Webservice from disk to http



Both, from the "Debug"/"Run" of Flex builder and directly by executing
the html file through file explorer. When the html/swf is in the bin,
it works. Outside or by others it doesn't.

If I share my "bin" directory over the network and let others execute
the html inside the bin through file sharing, no go either.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Are you launching the application from Flex Builder?
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of bnsmeets
> Sent: Wednesday, April 11, 2007 3:51 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Calling Webservice from disk to http
> 
> 
> 
> Hi All,
> 
> Very strange thing happening to me. I have a local based Flex2 swf
> which calls a http based webservice.
> 
> When i build the app (launches in browser with url like file://etc.)
> the webservice is called and results are returned. (isn't this
> supposed to be illegal by the sandbox definitions?).
> 
> The problem is, that if I mail someone else the entire "bin" directory
> to test sometghing for me, the webservice isn't called :(
> 
> Whatever other computer than mine I use for testing, the webservice
> stays silent. Only on my own PC it works.
> 
> To make it even weirder. If I copy the "bin" directory from the
> building directory to e.g. c:\, the webservice fails if i run the
> main.html inside the bin (works when running main.html from original
> bin directory ).
> 
> I'm flabbergasted, anyone any ideas?
> 
> Greets, Ben Smeets
>



 

Reply via email to