Groups | Blog | Home
all groups > macromedia flash flash remoting > november 2005 >

macromedia flash flash remoting : only works locally


draven000
11/22/2005 7:33:16 PM
Hi everyone,

I'm in a state of emergency..as always. I've gotten flash remoting to work
fine locally using flash 8 and CFMX7.

here's the odd part. testing the application using this url works fine
http://localhost:8500/wt/wt.html

but using my own ip instead of localhost seems to prevent either the CFC or my
Cold fusion server from returning the result.
http://[myIP]:8500/wt/wt.html

I also read that you have to make sure CFMX has remoting enabled, and that
going to this page http://localhost:8500/flashservices/gateway should return a
blank page if it is enabled, which it doesnt, but 404 instead.

My question: How to enable it???

help!

My Question
draven000
11/23/2005 12:00:00 AM
asnwer:

I needed a crossdomain.xml file to allow access from other domains to my local
database.
good to know. You will need to save this in the root web directory of the web
server you're trying to access...and not where the swf resides...unless it's in
your local web root folder.

<cross-domain-policy>
<allow-access-from domain="www.your sitecom" /> <!-- allows access from
your site-->
<allow-access-from domain="localhost" /> <!-- allows access from local
machine-->
<allow-access-from domain="*" /> <!-- allows access from any domain-->
</cross-domain-policy>

Terry
AddThis Social Bookmark Button