I am having problems with loadVars over https. What I am trying to do is
sending credit card information from a flash store to a PHP-script on a server
over https, and the PHP-script should return a reply. (So I am using the
LoadVars sendAndLoad command). The problem is that the reply I get from the
script is empty. If I try the same over http, it works fine.
Can anybody please help me?
MotionMaker - 20 Feb 2007 12:31 GMT
Might be a Flash cross domain issue.
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?con
text=LiveDocs_Parts&file=00001621.html
ivanmoen - 20 Feb 2007 12:50 GMT
Both the SWF and the PHP script [u]is[/u] on the same domain, and I have changed all the 'http://' to 'https://' in the object/embed tag. Still it doesn't work
MotionMaker - 20 Feb 2007 13:13 GMT
Not sure but it still may require a crossdomain file or a System.security
setting
[http://livedocs.macromedia.com/flash/8/main/00001625.html
L=Cross-domain and subdomain access between SWF
files]http://livedocs.macromedia.com/flash/8/main/00001618.html
ivanmoen - 20 Feb 2007 13:20 GMT
Ok. Can you help me out? My crossdomain.xml looks like this:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy >
<allow-access-from domain="*" />
</cross-domain-policy>