Place the crossdomain.xml file on your server path so that you can 
access it at http://abc.com/crossdomain.xml
Your xml file should contain the following code
<?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="*" />
</cross-domain-policy>

OR

There is an alternative, where you need to add -use-network=false to 
the additional compiler arguments of your project.

You can right click on your project and click the properties, you 
can find additional compiler arguments in the flex compiler.

Hope this helps...



--- In [email protected], "slash_n_rose" <[EMAIL PROTECTED]> 
wrote:
>
> Hi,
> When I access data from server using webservice I have to specify 
the
> path of wsdl. There is a problem with that
> For example If I give the path as
> http://www.abc.com/service.asmx?WSDL, I cant access the html page
> containing that swf movie with out using "www" infront of the url. 
If
> I access the html page just like http://abc.com/test.html its 
throwing
> an error.
> 
> The vice versa is also making problem..
> 
> If the service is in the same domain I can give relative path to 
avoid
> this problem, but how can we solve this problem if the service is 
in a
> different domain?
> 
> Please help
> Jerry
>


Reply via email to