Macromedia's Flex allows developers to create rich presentation layers for Internet applications using Flash. We'll show you how to get your first Flex application up and running.

To get started, you will need to download a trial copy of the Flex Server and the Flex Builder tool. Both the tool and server are available from Macromedia's Web site.

The Flex server runs on a number of platforms, including IBM AIX, Windows, Linux, and Solaris. The Flex Builder tool runs on Windows, so it is not a bad idea to download the Windows version of the server as well so you can setup your development environment locally. It is also possible to use other IDE's to build Flex applications, including Eclipse, but we will stick to Macromedia's tools for this article.

The installation for the server and development tools is straightforward and if you do not have a Java application server running, you can elect to install JRun at the same time you are installing the server. Once you have installed these tools you can verify that your installation is working correctly by viewing the sample applications that come with the product.

In the Start menu under the Macromedia Flex program group there is a shortcut to these samples but you will need to make sure that your server is running before you attempt to view them. There is also a shortcut in the program group marked Start Integrated Flex Server.

Note: this server window will need to stay open while you are working with your Flex server. If you close it, you will also closedown the server.

Once you have started the integrated server, you can then view the sample applications, either from the shortcut in the Flex program group or directly from your browser by navigating to http://localhost:8700/samples/ which will open a page listing all of the sample applications. You can click on any of these samples to run the associated application. The RSL Sample Application is a fine example of Flex integration and demonstrates the use of three Flex applications in a single page. These applications include a blog viewer, a contact manager and a share portfolio manager, all rolled into one user interface.


Figure 1: Sample Flex applications

Do you need help with Flash? Gain advice from Builder AU forums

Related links

Comments

1

Guille - 01/09/06

Hello, I´m Guille, I want to know how can I do a ComboBox with colors instead of text. There is a Turorial anywhere? I need to do one for my Project.

Thanks, ;-)

» Report offensive content

2

pankaj - 22/11/06

sir, i want to know how drag and drop multiple controls in a particular container i.e.panel or list not list items(whole list controls)but more then one .

» Report offensive content

Leave a comment

You must read and type the 6 chars within 0..9 and A..F

* indicates mandatory fields.

2

pankaj - 22/11/06

sir, i want to know how drag and drop multiple controls in a particular container i.e.panel or list not list items(whole ... more

1

Guille - 09/01/06

Hello, I´m Guille, I want to know how can I do a ComboBox with colors instead of text. There is a ... more

Log in


Sign up | Forgot your password?

  • Staff Aussies to pay more for Win 7

    If you are looking to make some money in these troubled times, perhaps importing copies of Windows 7 could be for you. Read more »

    -- posted by Staff

  • Staff Firefox: Greens want it, 3.5rc2 not up to par

    This week's roundup looks at the situation surrounding a campaign to change Outlook HTML renderer, a Greens MP wants to install Firefox but is restricted and all the photos from the iPhone 3GS launch. Read more »

    -- posted by Staff

  • Chris Duckett Microsoft misses the Outlook point

    Ask designers which mail program is the bane of their existence, and you'll find that Outlook tops the list. The reason why the most popular email reader is also the most painful is simple: it uses Word to render HTML emails. Read more »

    -- posted by Chris Duckett

What's on?