Creating a Flex Project

How to:

In this procedure, you will create a Flex project named My_First_Project, import WebFOCUS Enable and the Information Builders custom components as a .SWC file, and open the canvas on which you will create an application.

Importing the WebFOCUS Enable .SWC file is required only if the new Flex project provides integration with WebFOCUS.


Top of page

x
Procedure: How to Create a Flex Project
  1. From the Flex Development window, select File, New, and Flex Project, as shown in the following image.

    Flex Development window

  2. Accept the default configuration for the project (Basic) and click Next. For information on other project types, see the Flex Builder documentation.

    New Flex Project dialog box

  3. Enter a name for the project and click Next. The name of the project in this example is My_First_Project. To change the project location from the default, see the Flex Builder documentation.

    New Flex Project dialog box

  4. On the next dialog box, select the Library path tab and click Add SWC to import WebFOCUS Enable and the Information Builders components. The WebFOCUS Enable installation package has a .SWC extension.

    New Flex Project dialog box

  5. Browse to the directory in which the .SWC file is located, select it, and click OK. Notice the additions in the Build path libraries field.

    New Flex Project dialog box

  6. Click Finish.

    The project, My_First_Project, and the application file, My_First_Project.mxml, have been created. In the Components pane on the left, Information Builders components appear in folders prefixed by Enable or WebFOCUSEnable. Displayed in blue in the middle of the window is the default application canvas for My_First_Project.mxml. On the right side is the Properties pane, which displays the properties of a selected component once you start developing the application. Property values are case-sensitive.

    Flex Development window


WebFOCUS