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 flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > Are you launching the application from Flex Builder? > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bnsmeets > Sent: Wednesday, April 11, 2007 3:51 AM > To: flexcoders@yahoogroups.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 >