PDA

View Full Version : Flash Forms: Get, Post, Pet, Gost?



lrhb
March 11th, 2004, 01:23 PM
Hello all,

I searched around and found some helpful things, but I am still missing something I think...

LoadVariables() won't work across domains, right, so, is it porrible to send data to a CGI script via getURL and not have a popup window on send?

Thanks!

lrhb :hat:

Harpreet
March 11th, 2004, 02:20 PM
Question not clear, what are you trying to do?

lrhb
March 11th, 2004, 02:48 PM
Oh you're right, it's not very clear at all! :)

I'm trying to send form data from a flash movie to a CGI script, without having any popup windows on send...

I don't think I can use LoadVariables() because the flash movie is hosted on a different domain from the CGI script.

So what other options might I have, for sending data across domains and not having any popup window after the data is sent?

Thanks!!

lrhb :hat:

Harpreet
March 11th, 2004, 05:19 PM
You can use cross-domain communication. Following is the example

<?xml version="1.0"?>
<!-- http://www.foo.com/crossdomain.xml -->
<cross-domain-policy>
<allow-access-from domain="www.friendOfFoo.com" />
<allow-access-from domain="*.foo.com" />
<allow-access-from domain="105.216.0.40" />
</cross-domain-policy>

cheers