I have a flex app that is shared by many virtual sites www.domain1.com/myapp,
www.domain2.com/myapp, www.domain3.com/myapp, etc. All the domains have virtual
directories pointing to/ myapp. myapp.swf calls remoteObject using the same
ro endpoint http://www.rodomain.com/flex2gateway/ . I want all of these
virtual sites to share the same myapp but be able to call the same ro endpoint
Of course, I'm getting sandbox violation that domainX.com cannot load data from
How do I allow all of the virtual domains to make the data calls to the same ro
I do have a crossdomain.xml file in the root of the server, but that does not
resolve the problem. I assume I need something in my Flex code to make it work,
but the many postings I find on the internet related to crossdomain are
My environment is Flash 10.1, Flex 4.1, ColdFusion 9, Windows 2003 Server/IIS.
Can anyone tell me what AS3 code is required to get crossdomain to work for Flash 10.1/Flex 4.1? My xml file is in the root, but it still doesn't work.
You can try using a network monitor to see if the crossdomain.xml is
requested before the request that is giving you problems.
I got it working by forcing the loading of the crossdomain.xml via my server's IP address default site in IIS. The load policy didn't like me using a virtual directory on the various sites to find crossdomain.xml. It must be a direct to root, not virtual directory to root. This worked for all sites within my IP
Thanks Alex for the tip on force loading the policy!
Appreciate the help.