Skip to content
preaction edited this page May 24, 2012 · 3 revisions

Server Requirements

First, we will need to install the server's requirements:

  • Python 2.6+ (Python 3 will not work)
  • Twisted
  • PyAMF 0.6

Windows

You can install Python and Twisted from their Windows packages from http://python.org and http://twistedmatrix.com respectively.

PyAMF is easier to install via Python's easy_install. In order to get easy_install on Windows, you must install Setuptools from PyPi: http://pypi.python.org/pypi/setuptools. Once Setuptools is installed, you must add the Scripts directory from your Python install to your %PATH% environment variable:

  • Right-click on My Computer and choose Properties.
  • (Windows 7) Look for and click the link "Advanced System Properties"
  • On the Advanced tab of the System Properties dialog, click "Environment Variables"
  • In the System Variables box, look for the PATH entry
  • Add ";C:\Python27\Scripts" to the end of the PATH value, changing Python27 to the directory Python is installed in
  • Add ";.PY" to the end of the PATHEXT variable. This lets us type "twistd" instead of "twistd.py" at the command-line.

Once this is done, open a command window by clicking Start, typing "cmd", and pressing enter. In this new window, type "easy_install" and press enter. If the message you get is "error: No urls, filenames, or requirements specified (see --help)", your environment was updated correctly.

Now we can install PyAMF, and some other stuff that Twisted requires. In the command window, type the following two commands. Some text will scroll past and the files will get downloaded and installed from the Internet.

  • easy_install pyamf
  • easy_install zope.interface

Finally, we can get the latest SwfConduit from https://github.com/doublecluepon/SwfConduit/tarball/master

Linux / Mac OS X

Twisted and PyAMF can both be installed using Python's easy_install, which is included with most Python distributions on these platforms.

$ sudo easy_install twisted
$ sudo easy_install pyamf

Finally, we can get the latest SwfConduit from https://github.com/doublecluepon/SwfConduit/tarball/master

Client Requirements

Using Flash Builder

If you're using Flash Builder, you should have everything you need to create SwfConduit projects.

Using any editor

If you want to use another editor, you can download the free Adobe Flex 4 SDK from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4 . Once you've downloaded the Flex SDK, you'll want to make sure you can run "mxmlc" from your terminal.

Clone this wiki locally