PDA

View Full Version : What to do when my swf needs data from different domains's?


thumbling
10-19-2004, 01:05 PM
Couldn't decide on which board to post this in, so I chose this one. If I chose incorrectly, just move it ;)

Anyway, my flash file is hosted on one server, let's call him www.one-server.com and needs to connect to another server, I'll call him www.another-server.com for a Flash Communication Server connection. On top of that, it connects to a third one for the remoting service. With some hassle I'd be able to make one of those connections work, but never both at the same time.

I know there's this scriptAccess thing in the HTML which displays the flashfile that should be able to allow script access to any domain. But that doesn't seem to work.

FlashCom needs to be on the other server, since it's set up to listen on port 80 as well as the default ports, to enable access from behind even more firewalls.

Any clues on how I could get it all to work, by other means than letting users open the flashflile stand-alone?

Xeef
10-19-2004, 01:34 PM
hi

make a search on "cross-domain policy file"

thumbling
11-08-2004, 08:47 AM
Thanks. Got it all setup and running now.