Flash Remoting in Python?

Dave Benjamin dave at 3dex.com
Thu Sep 11 19:43:30 EDT 2003


"Dave Benjamin" <dave at 3dex.com> wrote in message
news:2E78b.1002$8g2.829 at news1.central.cox.net...
> Another way to set up an RPC interface between Flash and Python would be
to
> use plain old HTTP GET/POST, with either urlencoded key-value pairs or
WDDX
> as a serialization format. (PyXML supports WDDX, as does PHP, as does
Flash
> if you Google around for the wddx.as script).

Just FYI, you can find the ActionScript WDDX modules here:
http://chattyfig.figleaf.com/

And on the Python side, for starters, try getting this to work:

>>> from xml.marshal import wddx
>>> wddx.dumps('hello')
'<?xml version="1.0"?><!DOCTYPE wddxPacket SYSTEM
"wddx_0090.dtd"><wddxPacket
version="0.9"><header/><data><string>hello</string></data></wddxPacket>'

Dave







More information about the Python-list mailing list