Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual page 44

Migrating applications to flex 2
Table of Contents

Advertisement

The following table describes changes to the Container class:
Member
allChildrenList
backgroundAlpha
backgroundDisabledColor
backgroundSize
(formerly
childAdded
)
childCreated
(formerly
childRemoved
)
childDestroyed
childIndexChanged
childrenCreationCompleteEffect
createComponent()
createComponents()
createdComponents
dataObjectChanged
defaultButton
dropShadow
hLineScrollSize
hPageScrollSize
hPosition
hScrollBarStyleName
44
Flex Classes
Change description
rawChildren
Deprecated. Use the
Deprecated.
Deprecated. Use the
childAdd
childRemove
childIndexChange
Removed. Use the
creationCompleteEffect
createComponentFromDescriptor()
a descriptor as its first argument rather than either a
descriptor or a descriptor index. If you know the index, use
childDescriptors[index]
This method requires that you call the
method on the container to make the specified
component appear in the display list. Alternatively, you
can use the
createComponentsFromDescriptors()
to create all components of the container.
createComponentsFromDescriptors()
This property is now internal only.
dataChange
The
property of a container used to be set
defaultButton
as follows:
<mx:Form defaultButton="id">
You must now set it as follows:
<mx:Form defaultButton="{id}">
Where
is the name of the Button control given in the
id
MXML tag.
dropShadowEnabled
horizontalLineScrollSize
horizontalPageScrollSize
horizontalScrollPosition
horizontalScrollBarStyleName
style to set this value.
background
style to set this value.
background
. This method now takes
to get the descriptor itself.
validateNow()
effect.
method

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents