Re: [flexcoders] Calling Webservice from disk to http
Tnx guys, that did the trick. So when going online, this won't be a problem if the swf is loaded of the same domain right? If it happens to be loaded from another domain, the solution is to add a crossdomain.xml to the webservive server? Tnx, Ben 11 Apr 2007 16:22:27 -0700, Muzak [EMAIL PROTECTED]: Flex Builder installs a FlashPlayerTrust configuration file for each project. Read more about it here: http://www.adobe.com/devnet/flash/articles/fplayer8_security_04.html regards, Muzak - Original Message - From: bnsmeets [EMAIL PROTECTED] bensmeets%40gmail.com To: [EMAIL PROTECTED] flexcoders%40yahoogroups.com Sent: Wednesday, April 11, 2007 3:05 PM 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
Re: [flexcoders] Calling Webservice from disk to http
That is correct ;-) regards, Muzak - Original Message - From: Ben [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2007 9:23 AM Subject: Re: [flexcoders] Calling Webservice from disk to http Tnx guys, that did the trick. So when going online, this won't be a problem if the swf is loaded of the same domain right? If it happens to be loaded from another domain, the solution is to add a crossdomain.xml to the webservive server? Tnx, Ben 11 Apr 2007 16:22:27 -0700, Muzak [EMAIL PROTECTED]: Flex Builder installs a FlashPlayerTrust configuration file for each project. Read more about it here: http://www.adobe.com/devnet/flash/articles/fplayer8_security_04.html regards, Muzak - Original Message - From: bnsmeets [EMAIL PROTECTED] bensmeets%40gmail.com To: [EMAIL PROTECTED] flexcoders%40yahoogroups.com Sent: Wednesday, April 11, 2007 3:05 PM 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
Re: [flexcoders] Calling Webservice from disk to http
Great, all clear ;) 12 Apr 2007 02:32:13 -0700, Muzak [EMAIL PROTECTED]: That is correct ;-) regards, Muzak - Original Message - From: Ben [EMAIL PROTECTED] bensmeets%40gmail.com To: [EMAIL PROTECTED] flexcoders%40yahoogroups.com Sent: Thursday, April 12, 2007 9:23 AM Subject: Re: [flexcoders] Calling Webservice from disk to http Tnx guys, that did the trick. So when going online, this won't be a problem if the swf is loaded of the same domain right? If it happens to be loaded from another domain, the solution is to add a crossdomain.xml to the webservive server? Tnx, Ben 11 Apr 2007 16:22:27 -0700, Muzak [EMAIL PROTECTED]p.ginneberge%40telenet.be : Flex Builder installs a FlashPlayerTrust configuration file for each project. Read more about it here: http://www.adobe.com/devnet/flash/articles/fplayer8_security_04.html regards, Muzak - Original Message - From: bnsmeets [EMAIL PROTECTED] bensmeets%40gmail.combensmeets%40gmail.com To: [EMAIL PROTECTED] flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com Sent: Wednesday, April 11, 2007 3:05 PM 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
[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
RE: [flexcoders] Calling Webservice from disk to http
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
Re: [flexcoders] Calling Webservice from disk to http
Flex Builder installs a FlashPlayerTrust configuration file for each project. Read more about it here: http://www.adobe.com/devnet/flash/articles/fplayer8_security_04.html regards, Muzak - Original Message - From: bnsmeets [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 11, 2007 3:05 PM 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