12
Chapter 1: Getting Started with Flex Builder
For example, if you installed the Flex server on a Windows computer using the integrated
JRun4/Flex install option, the application root folder of the default application is as follows:
C:\Program Files\Macromedia\Flex\jrun4\servers\default\flex
In this example, the JRun root (
jrun_root
) is C:\Program Files\Macromedia\Flex\jrun4\, the
JRun4 server (
server
) is called default, and the Flex application (
Flex_app
) is called flex. The
flex folder has a WEB-INF\flex subfolder with a flex-config.xml file:
...\flex\WEB-INF\flex\flex-config.xml
For more examples, see
“Examples of site settings” on page 15
.
Defining a site for the Flex Sample Apps application
A Flex application called Flex Sample Apps is created when you install the Flex server using the
integrated JRun4/Flex install option. This application provides a number of sample applications
you can use to explore Flex and learn to work with Flex Builder. This section describes how to
define a Flex Builder site to work with the Flex Sample Apps application.
Note:
If you didn’t use the JRun4/Flex install option to install Flex, then you must deploy the samples
.war file yourself.
For information on installing Flex server, see Installing Flex on the Macromedia website at
www.macromedia.com/go/flex_install/
. For information on installing Flex server on the same
computer as Flex Builder, see
“Install the Flex server on your computer” on page 22
.
This section consists of the following sections:
•
“Defining the site if the Flex server is local” on page 12
•
“Defining the site if the Flex server is remote” on page 14
•
“Examples of site settings” on page 15
Defining the site if the Flex server is local
This section describes how to define a Flex Builder site to work with the Flex Sample Apps
application installed with the Flex server. The section assumes you installed the server on the same
computer as Flex Builder using the integrated JRun4/Flex install option (see
“Install the Flex
server on your computer” on page 22
). For settings for other configurations, see
“Examples of site
settings” on page 15
.
For information on setting up Flex Builder when the Flex server is on another computer,
“Defining the site if the Flex server is remote” on page 14
.
To set up Flex Builder for the samples application if Flex is running locally:
1.
In Flex Builder, select Site > Manage Sites, click the New button in the Manage Sites dialog box,
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.
2.
In the Site Name text box, enter
Flex Sample Apps
or something similar.
The name identifies your Flex Builder site.
Summary of Contents for FLEX BUILDER-USING FLEX BUILDER
Page 1: ...Using Flex Builder...
Page 116: ...116 Chapter 4 Building a Flex User Interface Visually...
Page 144: ...144 Chapter 6 Working with Data...
Page 154: ...154 Appendix A Basic Flex Concepts...