Macromedia flex 2 Manual
147
1 0
CHAPTER 10
Creating Advanced Visual
Components in ActionScript
Components in ActionScript
This topic describes the details of creating advanced visual components for use in Adobe Flex
applications. This topic assumes that you are familiar with creating simple ActionScript
components as described in
applications. This topic assumes that you are familiar with creating simple ActionScript
components as described in
.
Contents
About creating advanced components
Simple visual components are subclasses of existing Flex components that modify the
appearance of the component by using skins or styles, or add new functionality to the
component. For example, you add a new event type to a
appearance of the component by using skins or styles, or add new functionality to the
component. For example, you add a new event type to a
Button
control, or modify the default
styles or skins of a
DataGrid
control. For more information, see
This topic describes how to create advanced visual components in ActionScript. In advanced
components, you typically perform the following actions:
components, you typically perform the following actions:
■
Modify the visual appearance or visual characteristics of an existing component.
■
Create a composite component that encapsulates two or more components within it.
■
Create a component by creating a subclass of the
UIComponent
class.