View Full Version : external server communication
03-06-2008, 05:21 PM
I seem to run into a continuing problem when trying to gather information from an external server (play a .flv hosted on another server, consume a web service). Everything works fine and dandy on my local machine, but once i host them on my server it all falls apart. I'm just curious if someone could shed some light on the situation. Is it security settings in flash? Do i need to add some MIME types to my server? Any other recommendations along these lines to get it working??
03-06-2008, 05:35 PM
Howdy and Welcome... :)
'it all falls apart' really does not give me much idea on what's going on, right???
Yes, if you have a SWF in one domain and you are trying to call a PHP file, for example, sitting in another domain, your another domain has to allow the communication by using the crossdomain.xml file...
If your host server FLV file and happened to have Windows 2003 server, the MIME type needs to be set manually...
03-06-2008, 06:24 PM
ha, i now realize that was pretty vague.
by 'falls apart' i meant that the external communication is not taking place. Everything in my swf works fine, but whatever i am trying to load from the external server is not happening. Thanks for the links, it appears that the cross-domain policy file should fix my problems. I have to get w/ my network engineers to get that file on the site.
We recently switched servers from Windows 2k3 where we had the MIME type defined to Linux. Is there any control i need to add to use .flv's on Linux?
These may be n00b questions, but i'm a designer, not a network guy. I am slowly picking up this stuff, one of these days it'll all make sense.
Here are some additional links i found while reseraching cross-domain policies for others encountering this problem:
03-06-2008, 07:06 PM
It does not matter what web server you are running... Just have the network admin make sure that the MIME type for the FLV is set correctly and you should not have any problem... ;)
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.