In the meanwhile, though, if you have deployed examples that stopped working yesterday, please either add System.security.allowDomain(gatewayUrl); to your examples (if you didn't already have it) or update from svn and use the full API, which will do this for you automatically.
I deployed the Beta 1 SWX gateway to swxformat.org yesterday and my twitter badge on aralbalkan.com promptly stopped working. This was because I had mistakenly removed the System.security.allowDomain call in the main SWF. This call is currently necessary because, if allowDomain is on in the SWX server config file, the created data SWF using _parent._url in its own allowDomain call. Of course, it needs access to the parent SWF for this call to succeed so the parent SWF has to, in turn, grant it access. That's not really ideal as the data SWF doesn't otherwise need access to the parent SWF. I'm looking into a better way of doing this by actually writing out the URL of the parent SWF into the returned data SWF and want to include this in Beta 1.

0 Responses to “Cross-domain issue in SVN fixed”
Leave a Reply