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" <[email protected]> 
wrote:

> 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 ExternalInterface class.
> 
> It might be more than you can achieve given your tight deadline, but
> it's another option...
> 
> Does that make sense?
> 
> C:
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Paul
> Steven
> Sent: Friday, 26 November 2010 7:57 AM
> To: 'Flash Coders List'
> Subject: RE: [Flashcoders] Advice on calling subscriber script onanother
> server
> 
> 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 the script on
> the
> remote server (signup.ashx) fine when running from the IDE as the client
> was
> able to confirm the data was added but due to the security restrictions
> of
> flash it doesn't work from in the browser as my game is on one domain
> and
> the script on another. 
> 
> Any advice appreciated
> 
> Thanks
> 
> Paul
> 
> 
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Chris
> Foster
> Sent: 25 November 2010 20:51
> To: Flash Coders List
> Subject: RE: [Flashcoders] Advice on calling subscriber script on
> another
> server
> 
> 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: [email protected]
> [mailto:[email protected]] On Behalf Of Paul
> Steven
> Sent: Friday, 26 November 2010 5:37 AM
> To: 'Flash Coders List'
> Subject: [Flashcoders] Advice on calling subscriber script on another
> server
> 
> 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 crossdomain.xml
> file on
> the other server but this is not possible. I therefore seek advice on if
> there is any other solution to call a script and pass parameters to a
> script
> on another server. The script I am calling is a ashx file which I
> believe is
> asp. 
> 
> Any help really appreciated
> 
> Thanks
> 
> Paul
> 
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> This e-mail, including any attached files, may contain confidential and
> privileged information for the sole use of the intended recipient.  Any
> review, use, distribution, or disclosure by others is strictly
> prohibited.
> If you are not the intended recipient (or authorized to receive
> information
> for the intended recipient), please contact the sender by reply e-mail
> and
> delete all copies of this message.
> 
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to