MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 13

Table of Contents

Advertisement

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\
This step tells Flex Builder where the application files are located on your hard drive.
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. To determine whether a
folder is an application root folder, check 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
"Identifying a Flex application root folder" on page
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.
In the URL Prefix text box, enter the following URL:
5.
http://localhost:8700/samples/
Note: The default port number is 8700. If you changed it during installation, use the appropriate
number in the URL prefix.
To get the Flex server to compile files while you work, Flex Builder uploads the file to the
application root folder you specified and attempts to request it using the URL prefix.
The Flex Server Site Setup dialog box should look as follows:
Click OK to define the site and close the Flex Server Site Setup dialog box, and then click Done
6.
to close the Manage Sites dialog box.
The Flex Sample Apps site is defined and you can start exploring, editing, previewing, and
debugging the sample apps with Flex Builder.
Caution: You should make a backup of the samples folder so you can restore files if necessary.
Defining a site for the Flex Sample Apps application
11.
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents