Hello World in Flex 4

  1. Download and install the Flash Builder from Adobe.
  2. Under the Package Explorer, right-click and select New->Flex Project.
  3. Enter a Project name and click on the Finish button.
  4. An mxml file with the same name as your project name should also be created. Open that file and add <s:Label text="hello word"/>. It should look like the following:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
                 xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        <s:Label text="Hello Word"/>
  5. On the top menu, click on Run->Run test. It will open a browser showing "Hello World".