I'd say your best bet is to use Charles to debug the interaction to make sure that the domains that you're calling are doing what you expect:

Charles:
http://www.xk72.com/charles/index.php

Tutorial (shameless self-plug)
http://ubergeek.tv/article.php?pid=92

Record the session, and you can usually tell where things go pear-shaped. Also, I'm not sure that you can (or should) use "*" in a crossdomain.xml. And there is no issue with using non-www domains.
Peace
C

Roman Blöth wrote:

Hello flashcoders,


this thing is driving me mad...

My swf (published for flash player 7 under Flash MX) just can't load data from another domain.

In our intranet the computers all have fully qualified domain names.
On "main.ourweb.net" the swf is running (embedded in a HTML page, of course). When calling the action I'm trying to implement, the swf sends data to "another.ourweb.net" via a loadVars-object, using a XML object as receiver of the data sent back - it is XML, but that's not the point - I'm observing the onLoad AND the onData - the received data is always "undefined".

The crossdomain.xml allows access from "*" on the "another.ourweb.net" server (that computer runs an IIS, main.ourweb.net runs Apache) - I even placed the same crossdomain.xml on main.ourweb.net...

When directing the web browser to the address the loadVars is sending it's data to, I get proper XML. When running the swf in my browser, all I get is undefined...

Somewhere I've read a notice from a flash user, stating that Flash would not be able to receive data from a domain name not starting with "www", though I don't think this really is true, since the examples given by macromedia also use (cross-)domains not starting with "www"...

Anyone observed such a problem before? Any idea on how to approach this phenomenon? I'm fumbling with this for 3 days now, but all I get is undefined... So every hint will be very welcome.


Best regards,
Roman.


--
_________________________________________
<   __ __  ____                           >
<  |  |  \/ ___\  Chris Hill              >
<  |  |  / /_/  > [EMAIL PROTECTED]    >
<  |____/\___  /  http://ubergeek.tv      >
<       /_____/   The Smell of Geek!      >
<----------------------------------------->

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to