Re: [Flashcoders] Crossdomain data exchange

2005-12-16 Thread Roman Blöth

Chris Hill schrieb:
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.


Thanks for the hints. As so often the user is the cause: The 
crossdomain.xml was stored in the wrong directory - had been in the 
wrong directory, and we didn't recognize it...


And yes, you can use * in this file - simply opening data access to 
all SWFs out there...


Best regards,
Roman.
--

---
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
 t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de
---
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Crossdomain data exchange

2005-12-15 Thread Roman Blöth

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.
--

---
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
 t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de
---
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Crossdomain data exchange

2005-12-15 Thread Chris Hill
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders