SWX: SWF Data Format

Icon

SWX is the native data format for Adobe Flash. This blog is about all things SWX, SWX RPC, SWX PHP and the SWX APIs (Flickr, Twitter, etc.)

SWX Alpha 0.2.0 Release

SWX Alpha version 0.2.0 is now available for download.

SWX 0.2.0 is another huge release and brings with it cross-domain data exchange as well as an API change.

For a comprehensive review of this release, see this blog post on aralbalkan.com.

Please read the release notes below for a full list of changes in this version.

  • API change: Prepare.forPhp() has been replaced with SWX.prepare(). See the updated introductory blog post on SWX for usage examples.
  • You can now do cross-domain data exchanges with SWX. If you want to disallow cross-domain access to your data, set the allowDomain paramater to false in the swx_config.php file (php/swx_config.php).
  • Added PowerPC support. Should now work on older (bi-endian) Macs.
  • The SWX analyzer now also works across domains. This means that once open, it will display data loading from any domain, local or remote.
  • GET support was broken on SWX gateway. This has now been fixed.
  • SWX now uses JSON instead of PHON when serializing arguments sent from the client to the server.
  • Fixed setVariable (bytecode) bug and removed respective workaround in SWFCompiler class.
  • Tested with PHP versions 4.4.2, 4.4.4, 5.1.4, 5.1.6, 5.2.1. Confirmed to *not* work with the PHP 4.3 branch (this branch and earlier versions are not supported.)

One Response

  1. pedro says:

    Sorry if the idea is silly, but since the data is sent in a swf, would it be feasible to include png files (or other assets) in the results, so, say, if I have a list of text data and images I could retrieve it all with one request, one progress bar displaying accurate feedback, etc. I imagine it wouldn’t be possible to have symbols with linkage ids, it wouldn’t work outside the loaded swf (or maybe it would with a helper method inside each swf? - I’m just dreaming), but then we could have instances on first frame. How crazy is that?