Convert python code to flex using pypy
For sending and receiving messages in Flash, you could use the pretty expensive Flash Communication Server / Flash Media Server, or you could use a simple socket server, such as this one, written in Python. Feel free to download it and set it up.
Flow (Flash Game) _ A Jenova Chen MFA Thesis
A collection of some of Jim's posts on FlashKit.com, on various Flash actionscript-related topics.