MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 149

Table of Contents

Advertisement

The following are some of the characteristics of components:
Events
Application or user actions that require a component response. Events include
component creation, mouse actions such as a mouse over, and button clicks.
Styles
Characteristics such as font, font size, and text alignment. These are the same styles as
defined and used with Cascading Style Sheets (CSS).
Behaviors
Visible or audible changes to the component triggered by an application or user
action. Examples of behaviors are moving or resizing a component based on a mouse click.
Skins
Symbols that control a component's appearance.
Size
Height and width of a component. All components have a default size. You can use the
default size, specify your own size, or allow Flex to resize a component as part of laying out your
application.
Related topics
Chapter 5, "Working with Components," on page 117
Chapter 4, "Building a Flex User Interface Visually," on page 95
Flex controls
Controls are user-interface components, such as Button, TextArea, and ComboBox controls. You
place controls in containers, which are user-interface components that provide a hierarchical
structure for controls and other containers. Typically, you define a container, and then insert
controls or other containers in it.
At the root of a Flex application is the
that covers the entire Macromedia Flash Player drawing surface. You can place controls or
containers directly under the
Most controls have the following characteristics:
MXML API for declaring the control and the values of its properties and events
ActionScript API for calling the control's methods and setting its properties at runtime
Customizable appearance using styles, skins, and fonts
Related topics
Chapter 5, "Working with Components," on page 117
Chapter 4, "Building a Flex User Interface Visually," on page 95
Flex containers
A container defines a rectangular region of the Macromedia Flash Player drawing surface. Within
a container, you define the components, both controls and containers, that you want to appear
within the container. Components defined within a container are called children of the container.
At the root of a Macromedia Flex application is a single container, called the Application
container, that represents the entire Flash Player drawing surface. This Application container
holds all other containers, which can represent dialog boxes, panels, and forms.
<mx:Application>
tag or in other containers.
<mx:Application>
About Flex containers, components, and controls
tag, which represents a base container
149

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents