New to SWX? Just get started!
You are new here and want to get a taste for SWX. You don't need to download anything to get started!
Read the getting started tutorial.
If you want to use SWX RPC to create mashups with APIs like Flickr and Twitter, you can start doing so without downloading anything by following this tutorial. Once you've done that, and gotten a taste for how SWX RPC works, come back here and you'll find lots of yummy downloads to play with!
SWX ActionScript Library
You don't want to create your own services but you do want to use a high-level library to consume the SWX APIs from the Public SWX Gateway.
Download SWX ActionScript Library 1.0 (2.43MB)
The SWX ActionScript Library provides an abstract, high-level interface for working with SWX RPC. If you don't want to write your own server-side classes but want a scalable client-side solution for writing your SWX applications, download and unzip the SWX ActionScript Library and add it to your classpath in Flash.
The SWX ActionScript Library comes with Flash and Flash Lite samples that will work out of the box by using the Public SWX Gateway on swxformat.org.
The SWX ActionScript Library is included as part of SWX PHP.
SWX PHP
You want to write your own back-end services or host your own instance of the SWX PHP gateway.
Download SWX PHP 1.01 (7.16MB)
SWX PHP is an implementation of SWX RPC for PHP 4 and 5.
SWX PHP needs requires a web server with PHP to run under. For the full list of requirements, see the SWX PHP System Requirements.
See the SWX PHP Installation section in the documentation for more information on installing SWX PHP.
If you want to see what you get with SWX PHP before you download it, you can play with the SWX PHP Start Page live on this server!
SWX PHP includes the SWX ActionScript Library and the Flash sample applications as part of the download.
SWX PHP MAMP Bundle
You are on OS X and want to write your own back-end services but you don't want to bother with setting up your own development server.
Download SWX PHP MAMP Bundle 1.0 (137.5MB)
The SWX MAMP Bundle contains everything you need to get started in a simple one-click installer, including Apache, PHP, and SWX PHP.
Watch the SWX PHP MAMP Bundle Screencast to learn how to get up and running with the SWX PHP MAMP Bundle in no time!
If you want to see what you get with SWX PHP MAMP Bundle before you download it, you can play with the SWX PHP Start Page live on this server!
SWX PHP Deployment Bundle
You want a lean copy of SWX PHP to deploy to your server.
Download SWX PHP Deployment Bundle 1.01 (1.76MB)
The SWX PHP Deployment Bundle contains a bare-bones version of the full SWX PHP package for uploading to your deployment server. Notably missing are the source files for the SWX Service Explorer and SWX Data Analyzer Flex applications as well as the FLA files for the Flash Examples.
CakeSWXPHP
You want to work with the CakePHP MVC framework for PHP and SWX.
Learn more about CakeSWXPHP and download it.
CakeSWXPHP is developed and maintained by Wouter Verweirder. CakeSWXPHP is currently based on SWX PHP Beta 1.3.
SWX Ruby
You want to use SWX RPC in Ruby with Ruby on Rails.
Learn more about SWX Ruby and download it.
SWX Ruby is developed and maintained by Jed Hurt. SWX Ruby is currently in Alpha 0.1.
SVN
You can also get the SWX PHP Version 1.01 tag or the latest version of the trunk from the SWX PHP Subversion repository.


should make the ‘Download’ link more obvious - blue perhaps, like other links?
i take that back. i’m going mad…
Curious to know that, because I already have MAMPP installed and running for PHP development, if my best option would be to just install the whole package in a different location or not? I guess I am worried about losing my MAMPP control panel.
Are there any suggestions people have for me?
Thanks!!
Oops, got it… something about sleeping in a hotel for a week and flying home don’t make for an easy night of setting things up… thank you though!
Hi Luke,
Glad to hear that you have it sorted but, just in case anyone else is wondering, if you have MAMP up and running already, you can simply download the SWX PHP zip file and unzip it in a folder underneath your web root and you’ll be set to go.
Does this work w/ a java server or only PHP & Ruby?
Hi Vic,
SWX Java is currently in Alpha. Check it out here: swxjava.org.
Maybe I’m missing something, but I can’t seem to locate the download link for SWX beta 1.3. All of the links take me BACK to the download page where I can only find the version 1.01 swx_php_1.01.zip file.
Is the beta no longer available?
Thanks for putting this together! I can’t wait to mess with this!
best regards
Hi tb,
The latest version is the release version (1.01). The beta versions were older and are no longer available.
Have fun with SWX!
Hi,
installed swx 1.01 on latest wamp 2.0a without any hassels. swx homepage shows the swx gateway as: http://localhost/swx/php/swx.php
When adding this url to the SWX Service Explorer I get this:
(mx.rpc::Fault)#0
errorID = 0
faultCode = “Client.Error.MessageSend”
faultDetail = “Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: ‘http://localhost/swx/php/swx.php’”
faultString = “Send failed”
message = “faultCode:Client.Error.MessageSend faultString:’Send failed’ faultDetail:’Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: ‘http://localhost/swx/php/swx.php””
name = “Error”
rootCause = (Object)#1
code = “NetConnection.Call.BadVersion”
description = “”
details = “”
level = “error”
When accessing the gateway using:
my computer name,
127.0.0.1
the hourglass shows indefinately after pressing Refresh.
Changing the encoding to either option yields the same result.
What does this mean? How do I get this working?
Hi Dudi,
The SWX Service Explorer uses AMF to query your server side classes (in the future, it will use SWX). So you have to point it to the AMF gateway. So on your system, it will be:
http://localhost/swx/php/amf.php
Please let me know if that works for you.
Thanks Aral,
pointing the gateway to amf.php instead of swx.php worked great.
Using AS 2 works fine. Will AS 3 be supported in the future?
Keep up the great work!!
I’ve tried using SWX with an AS 3 file. This was my experience.
The fun starts when debugging the movie. It seems that the swx.call(callParameters) fails with this response:
Location: SWX.as, line 269
Description: 1046: Type was not found, or was not a compile-time constant: MovieClip
Source: static function prepare(dataHolder:MovieClip):Void
What does this mean?
Hi Dudi,
SWX is currently ActionScript 2 only.
Have you joined the SWX Mailing list by the way? It’s a great place to ask these sort of questions and there are others there that can help out as well in case I’m busy.
nice information thanx for this tool and information
Aral? I have the same problem like Dudi. But my URL is correct. What should I do now?
Ok, solved. Had to change the port number to 80.
Hey Aral,
I cannot check out the latest version of the trunk for SWX, cvsdude is asking me for a login. Could you tell me what I’m doing wrong please?
Kind regards,
Sven