ADOBE FLEX BUILDER 3
Using Adobe Flex Builder 3
11
Views A view typically supports an editor. For example, when editing MXML, the Components and Flex
Properties views are also displayed in the Flex Development perspective. These views support the development
of Flex applications and are therefore displayed when a MXML file is opened for editing.
Some views support the core functionality of the workbench itself. For example, the Flex Navigator view allows
you to manage files and folders within the workbench and the Tasks view displays all of the tasks that are either
automatically generated by the workbench or added manually.
The term view is synonymous with the term panel as it is used in earlier versions of Flex Builder, Dreamweaver®,
and other Adobe development tools.
Workspace Not to be confused with workbench, a workspace is a defined area of the file system that contains
the resources (files and folders) that make up your application projects. You can work with only one workspace
at a time; however, you can select a different workspace each time you start Flex Builder. For more information,
see “Managing projects” on page 36.
Resource The term resource is used generically to refer to the files and folders within the projects in a
workspace. For more information, see “Creating folders and files in a project” on page 41.
Project All of the resources that make up your applications are contained within projects. You cannot build an
application in Flex Builder without first creating a project. You can create three types of projects in Flex Builder:
Flex, ActionScript 3.0, and Library projects. For more information, see “Working with Projects” on page 27.
Launch configuration A launch configuration is created for each of your projects, and it defines project
settings that are used when running and debugging your applications. For example, the names and locations of
the compiled application SWF files are contained in the launch configuration, and you can modify these settings.
For more information, see “Running your applications” on page 138.
About Flex Builder editors
Flex Builder contains editors that allow you to edit MXML, ActionScript 3.0, and CSS code. Editors are the essence
of the workbench and views, and the perspectives in which they are contained support their functionality.
Editors are associated with resource types, and as you open resources in the workbench, the appropriate editor is
opened. The workbench is a document-centric (and project-centric) environment for developing applications.
When you develop Flex applications in Flex Builder, you use the MXML, ActionScript 3.0, and CSS editors. Each
editor provides the functionality needed to author the given resource type. Flex Builder contains the following
editors:
MXML editor You use the MXML editor to edit MXML and to embed ActionScript and CSS code in
<mx:Script> and <mx:Style> tags. The MXML editor has two modes: Source and Design. Source mode is used
for editing code. Design mode is used for visually laying out and designing your applications. The two modes
are synchronized and changes in one mode are immediately reflected in the other. For more information, see
“About code editing in Flex Builder” on page 102.
ActionScript editor You use the ActionScript editor to edit ActionScript class and interface files. Although
you can embed ActionScript functions into an MXML file by using the
<mx:Script> tag, it is a common practice
to define classes in separate ActionScript files and then import the classes into MXML files. Using this method,
you can define most of your Flex applications in ActionScript.
CSS editor You use the CSS editor to display and edit Cascading Style Sheets. You can then apply styles to the
visual elements of your applications. For more information, see “Working with components visually” on page 69
and “Using Styles and Themes” on page 470 in the Adobe Flex 3 Developer Guide.