SWX

From FlashSec

Jump to: navigation, search
SWF Data Exchange Format (SWX)
Developer Aral Balkan
Release Beta
Website(s) swxformat.org
Documentation SWX Docs
Wikipedia
OSFlash swx

SWX stands for SWF Data Exchange Format. It’s a way of working with data in Flash that uses simple SWF files to exchange data. SWX Analyzer (a Flex application) can be used to see the data that returned from an SWX call using if debug mode is turn on.

SWX is compatible with Flash 7+ (ActionScript 1 and ActionScript 2) and Flash Lite 2 (tested with Flash Lite 2.1). POST appears to be broken in loadMovie() in Flash Lite 2.1, so GET need to be used. The SWX SWF files are based on the bytecode generated for Flash 6 r65 but they don't currently work when loaded into a SWF that's published for the Flash 6 player.

On the server-side, SWX works with PHP 4 and 5. It has been tested with PHP versions 4.4.2, 4.4.3 (Beta 1.1, to be released shortly), 4.4.4, 5.1.4, 5.1.6, 5.2.1. Starting with the upcoming Beta 1.1 release, SWX should basically work with all versions of PHP 4.4.2+ and PHP 5. It will not work with the PHP 4.3 branch or earlier.

ActionScript 3 and Flash 9 are currently not supported but SWX can be used with AS3 and Flash 9 by using LocalConnection. In fact, the SWX Analyzer application is a Flex 2 app that talks to SWX in this way.