View Full Version : Flash Form Not Working (Crossdomain.xml)
msmith29063
02-18-2009, 12:44 PM
I have a site with a flash movie that has a search field and submit button in it. If you access the site by www.mysite.com -- everything works fine. But, if you access the site by mysite.com -- nothing happens when you click the submit button. And I've uploaded a crossdomain.xml file to the root directory.
The SWF is version 8 and the HTML code requires the version 7 plug-in to view. Also note that the flash movie uses GET to post the form data to a PHP page and uses the FULL URL, including "www." as the URL to post to.
Any ideas? Thank you for your help!
CyanBlue
03-11-2009, 04:21 PM
Flash takes www.domain.com and domain.com as two different domains and if your scripts mix use such names, it will cause problem... A possible solution is to make sure that you are using www.domain.com in your ActionScript and forward all the users coming from domain.com to www.domain.com by using URL Rewriting on your server end...
msmith29063
03-11-2009, 09:03 PM
I'll look into that.
But, I have some SSL pages that uses a different URL (it's a shared SSL server). Any advice here? Or am I going to have to load a different SWF on the SSL server that uses that URL?
msmith29063
03-12-2009, 03:14 PM
How to do the URL Rewriting? I asked my host company for help. They were going to do using htaccess. Although, I have a PHP redirect because the store in the "catalog" folder: http://www.mysite.com/catalog/
So, they're telling me this won't work. Any advice? Man, I really wish the crossdomain.xml would work. That would be so much easier.
Thank you for your time!
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.