******************
  Simple Example
******************

.. topic:: Introduction

   The basic, no-nonsense example showing how to pass
   typed objects from AMF servers to AMF clients using
   Flex.

.. contents::


Source
======

ActionScript
------------

You can use the examples below with the simple example
`server <../examples/actionscript/simple/python/server.py>`_.

- `flex source code root <../examples/actionscript/simple/flex/src>`_
- `simple.mxml <../examples/actionscript/simple/flex/src/simple.mxml>`_
  -- ActionScript Application MXML File
- `SimpleView.as <../examples/actionscript/simple/flex/src/org/pyamf/examples/simple/SimpleView.as>`_
  -- ActionScript File
- `User.as <../examples/actionscript/simple/flex/src/org/pyamf/examples/simple/User.as>`_
  -- ActionScript User Data Transfer Object


Python
------

Python examples are available for:

- `client <../examples/actionscript/simple/python/client.py>`_
- `server <../examples/actionscript/simple/python/server.py>`_
