Socket Example

The Socket class enables Actionscript to make socket connections and to read and write raw binary data. This example shows how to:

  • use the Twisted framework and PyAMF to create a socket server
  • create a connection with the socket server using Flex and Actionscript
  • send the system time from Python to the Flash Player as Actionscript Date object, with an interval of 1 second

You can browse or download the source from the Subversion repository. You can find instructions on how to run the example yourself in the documentation.

Comments

blog comments powered by Disqus