Heads up: Changing public SWX gateway to latest Beta 1 version

I'm updating the SWX gateway on swxformat.org to the latest Beta 1 version that I am about to release within the next hour or so. This change should not require any client-side changes in your SWX applications.

The main changes here are that your applications will not need to call System.security.allowDomain() on the loaded SWX SWF data files. Instead, if you are not using the SWX API, you will need to pass a url parameter into your data holder movie clip and set its value to _url. The SWX server, after validating that this is a valid URI, will use it in the allowDomain() statement it places in the SWX data SWF to allow your application to access its data. This is a much better way of doing things than the previous method which used (_parent._url) and meant that your application had to allow the SWX data SWF access to itself also. Although you should never place any sensitive data in a SWF, this approach makes more sense in terms of security.

If you do not set a url parameter in your data holder, SWX will function as it did before and you will need to specifically allow domain the data holder movie clip (i.e., your existing apps should continue to work regardless of whether you use the new method or the old.) The Full API in the Beta release uses the new method.

Also, there is now a cancelAllCalls() method in the Full API that you can use to cancel all outstanding SWX calls in the queue.

0 Responses to “Heads up: Changing public SWX gateway to latest Beta 1 version”


  1. No Comments

Leave a Reply




Bad Behavior has blocked 3571 access attempts in the last 7 days.