*************************
  Adobe Flex 2 or newer
*************************

.. topic:: Introduction

   This is the Hello World example for the
   `Flex <http://opensource.adobe.com/wiki/display/flexsdk>`_ framework
   using MXML and |ActionScript (TM)| 3.0.

.. contents::

Source
======

Flex supports several ways to connect to a remote server:

- ``NetConnection`` - for old-skool Flash Remoting
- ``RemoteObject`` - for Flex Data Services


NetConnection
-------------

Examples for |ActionScript (TM)| 3.0 / Flex using ``NetConnection``:

- `helloworld.mxml <../../examples/general/helloworld/flex/src/helloworld.mxml>`_
- `helloworld.swf <../../examples/general/helloworld/flex/deploy/helloworld.swf>`_


RemoteObject
------------

Examples for |ActionScript (TM)| 3.0 / Flex using ``RemoteObject``:

- `helloworld.mxml <../../examples/general/helloworld/flex/remoteobject/src/helloworld.mxml>`_
- `helloworld.swf <../../examples/general/helloworld/flex/remoteobject/deploy/helloworld.swf>`_


.. |ActionScript (TM)| unicode:: ActionScript U+2122