Define A Flex Builder Site - MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual

Table of Contents

Advertisement

Define a Flex Builder site

In this part of the tutorial, you define a Flex Builder site for the tutorials. A Flex Builder site lets
you visually design, preview, and debug MXML and ActionScript files without leaving Flex
Builder.
After you define the Flex Builder site, you can start working on the tutorials.
This section assumes you installed the Flex server on the same computer as Flex Builder using the
integrated JRun/Flex install option. If you installed the Flex server on a different computer, you
must use a procedure that's different from the one below to define the site. For instructions, see
"Defining the site if the Flex server is remote" on page
In Flex Builder, select Site > Manage Sites, click the New button in the Manage Sites dialog box,
1.
and select Flex Site from the context menu.
The Flex Server Site Setup dialog box appears.
Tip: You can also open this dialog box by clicking the Flex Site link on the Start page.
In the Site Name text box, enter Flex Builder Samples.
2.
The name identifies your site. The samples folder contains not only the Flex Builder tutorials,
but other sample applications as well.
In the Local Root Folder text box, click the folder icon and select the following folder:
3.
C:\Program Files\Macromedia\Flex\jrun4\servers\default\samples\
It should contain the Flex Builder tutorial folders (see
samples folder" on page
This step tells Flex Builder where your files are located on your hard disk.
In the Flex Server Root Folder text box, make sure the following path is specified:
4.
C:\Program Files\Macromedia\Flex\jrun4\servers\default\samples\
This folder must always be a Flex application root folder on the server. You can tell if a folder is
an application root folder by checking to see if it has a WEB-INF/flex folder containing a flex-
config.xml file. An application root folder always has this folder and file. For more
information, see
This step tells Flex Builder where it can "test" files—that is, where it can send MXML and
ActionScript files to be compiled by the Flex server at design time. Flex Builder needs to get
these files compiled so you can preview MXML files, get build and debugging information,
and connect to back-end systems.
24), among other folders.
"Identifying a Flex application root folder" on page
14.
"Copy the tutorial folders to the Flex
Tutorial: Setting up a development environment
11.
25

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX BUILDER-USING FLEX BUILDER and is the answer not in the manual?

This manual is also suitable for:

Flex builder

Table of Contents