Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / November 2005



Tip: Looking for answers? Try searching our database.

only works locally

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
draven000 - 22 Nov 2005 19:33 GMT
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 - 23 Nov 2005 18:01 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.