Uiobject Class Removed; Class Variables Changed - Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual

Migrating applications to flex 2
Table of Contents

Advertisement

CHAPTER 11
11
Customizing Components
This topic describes modifications to the process of creating components in ActionScript in
Adobe Flex.
This topic only contains an overview of the major changes to the process from Flex 1.5 to Flex
2.0. For detailed information on creating custom components, see Creating and Extending
Flex 2 Components.
Contents
UIObject class removed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
Class variables changed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
Specifying the package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Defining the class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Defining the constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Creating bindable properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Overriding a method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Clip parameters removed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Initialization sequence changed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Renamed invalidateStyle() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163

UIObject class removed

The UIObject class has been removed for Flex 2.

Class variables changed

Remove the
and
class variables. Symbols are no longer important
symbolName
symbolOwner
because display objects can be instantiated using the new operator.
161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents