| Page 1 of 1 | [ 3 posts ] |
|
hi everybody,
Would be great if could help me w/ the problem w/ crossdoman support. Doing this code: // Initialize Flash transport. YAHOO.util.Connect.transport('/connection.swf'); connection.swf is under webapp root, crossdomain.xml there as well. In firebug next call shows that crossdmain.xml is not loaded from where it's supposed: GET http://:/crossdomain.xml Host and port had gone. What it could be? Thanks in advance. |
Alberto SantiniYUI Contributor
|
Hello artem.
Did you give a look at the Cross-Domain Transactions with Connection Manager example [1]? I think it would be better using a relative path. Hope that helps, IceBox [1] http://developer.yahoo.com/yui/examples ... n/xdr.html P.S.: The path of the swf is relative to the HTML. |
|
Resolved!
The problem was on the server side, I was sending to UI the wrong callbackUrl(the one which supposed to be used as an url in YAHOO.util.Connect.asyncRequest function), starting with http://://localhost:7011/path - that's why I've got http://:/crossdomain.xml. Anyway, thanks Alberto for quick reply. |
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group