I have a crossdomain.xml file with the following content located at the root of my webapp directory:
<cross-domain-policy> <allow-access-from domain="*" secure="false"/> </cross-domain-policy> I also embedded the same SWF from a staging environment and that seems to work - but its communicating with the webapp running on staging. >From this, it appears that hosting the SWF on a CDN requires a webapp running from the location where the SWF is stored. I am using GraniteDS for the remoting and can't seem to find any configuration files for it to specify the location of the target server it should be talking to. Regards, E --- In [email protected], Jeffry Houser <[EMAIL PROTECTED]> wrote: > > > Sounds like you need a crossdomain.xml file. It allows a swf on one > domain to make calls to another domain. > > Edison wrote: > > > > > > Hi, > > > > I'm running a Flex 2 application with a Java backend using Tomcat and > > GraniteDS for remoting. > > > > When I host the swf in the tomcat application ( embedded in a html > > file ), it works fine and can connect to the backend. The swf is > > quite large and I'd like to host it on a content delivery network. > > > > When I put the swf on the cachefly CDN and use an external link in the > > html to embed it in my tomcat webapp, the swf loads but can't connect > > to the backend. Is there a way that you can host an application swf > > externally and somehow point it to the tomcat server so it can connect > > to the backend? > > > > Thanks for your help, > > > > Edison > > > -- > Jeffry Houser > Flex, ColdFusion, AIR > AIM: Reboog711 | Phone: 1-203-379-0773 > -- > Adobe Community Expert > <http://www.adobe.com/communities/experts/members/JeffryHouser.html> > My Company: <http://www.dot-com-it.com> > My Podcast: <http://www.theflexshow.com> > My Blog: <http://www.jeffryhouser.com> >

