[Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Paul Steven
My flash game needs to call a script on another server to update a subscriber list with a name and and email address. I thought all was working fine while testing from the IDE but have just realised it doesn't work when testing in a browser. I realise this is probably something that requires a

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Henrik Andersson
Paul Steven skriver: I realise this is probably something that requires a crossdomain.xml file on the other server but this is not possible. Why not? Did you even ask the people responsible for the server? Either they are going to fix it quickly or they are going to turn you down. And if

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Paul Steven
The other server is something similar to mailchimp or campaignmonitor where they have hundreds of thousands of people using their services. Therefore doubt they would add crossdomain.xml for me. They basically offer api to update my subscriber list Sent from my iPhone On 25 Nov 2010, at

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Henrik Andersson
Paul Steven skriver: Therefore [I] doubt... Quit being so lazy and contact them already. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Paul Steven
Unfortunately the game goes live in 3 hours time so not a case of being lazy as I have just wrote a backup plan in php to save data to a database on client server. My client reported the functionality worked fine a week ago and only reported at the last hour today that it wasn't working.

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Henrik Andersson
Paul Steven skriver: Thought I could get some help here not labelled lazy! You do realize that it takes just as long to simply ask the site in question right? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Paul Steven
Thanks for all your help Henrik I will ask the site in question in the morning. I was under the impression it would be like every person who used Microsoft Office asking Microsoft to add a cross domain file for their particular scenario. To be honest I just panicked when the client reported

RE: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Chris Foster
Hi Paul, Are you relying on the other server to return information for you to use in your game? Or are you simply required to send new subscriber information to the distant server? C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Paul Steven
Hi Chris I simply need to send the new subscriber information to the distant server I was given an html form by my client that had to be converted to Flash for the game. The form has 2 hidden variables and then 3 other variables, name, email and telephone. The flash form submitted the data to

RE: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Chris Foster
Thanks Paul, I assume by 'client' you mean your Flash game, right? If that's so then I think you have a crossdomain issue, but a workaround 'may' be to still use your containing HTML page to send and verify the data, and only use your SWF to trigger the submission of the form using the

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Paul Steven
Thanks Chris I have never used externalinterface before but will google it now and give it a go. Thank you for your help - it is really appreciated. Thanks Paul On 25 Nov 2010, at 21:09, Chris Foster cfos...@catalystinteractive.com.au wrote: Thanks Paul, I assume by 'client' you mean

RE: [Flashcoders] Advice on calling subscriber script on anotherserver

2010-11-25 Thread Chris Foster
No problem Paul, As a rough guide, I'm suggesting that the form data submission is handled by a javascript function in your containing HTML page. Your SWF would then use the ExternalInterface class to call that function directly (and pass arguments if you need to), rather than the SWF sending

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Juan Pablo Califano
I think the easiest option would be creating some sort of proxy in php, if that's what's available to you on your server. The only potential problem is (your) server configuration. Sometimes, external connections are not allowed, so calling functions like file_get_contents() with an external url

[Flashcoders] Re: Flashcoders Digest, Vol 38, Issue 19

2010-11-25 Thread Ed Murphy
Yep AIR for android is very much alive and kicking... I recently released a simple quiz game called JeresySure? You can find it on the marketplace. Anywho, CS5 pro allows devs to not only build but deploy the app locally as to debug over wifi. Tracing and what not. It even includes a simple way

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Paul Steven
Awesome! Thank you Juan - that worked perfectly! I did get caught out for a while by not adding require_once HttpClient.class.php But once I realised I had omitted this, it worked a treat. Many thanks! Paul On 26 Nov 2010, at 02:25, Juan Pablo Califano califa010.flashcod...@gmail.com