Create a crossdomain.xml file with content <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM " http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="www.a.com" to-ports="*" /> </ cross-domain-policy>
and put in the root directory of the server http://www.b.com On 16 мар, 08:44, Shri <[email protected]> wrote: > Hi, > > I have an application that make an http request to get data. > > Lets say the swf ishttp://www.a.com/flex.swfand it makes an http > request to readhttp://www.a.com/data.xml. > > I copied the swf onto another site (sayhttp://www.b.com/flex.swf). > But now the swf is *NOT* able to make the http request > tohttp://www.a.com/data.xml. > > What should I do so that the swf can make the http request? > > Thanks in advance. > -Shri -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

