Macromedia flex 2-migrating applications to flex 2 Manual De Usuario
Containers
53
mx.core.UITextFormat
The following table describes the changes to the UITextFormat class:
mx.core.View
The mx.core.View class has been removed and its functionality has been distributed between
the SWFLoader (formerly Loader), ScrollControlBase (formerly ScrollView), and Container
classes.
the SWFLoader (formerly Loader), ScrollControlBase (formerly ScrollView), and Container
classes.
Object creation and destruction methods that were on the View class have been removed. To
create a new object, you now use the
create a new object, you now use the
new
operator and use the
addChild()
method or other
methods to add the new object to the parent container. To destroy an object, you use the
removeChild()
or other methods to remove the object from the parent container.
The following methods of the View class have been removed:
■
createChild()
■
createChildWithStyles()
■
destroyChild()
■
destroyChildAt()
■
destroyAllChildren()
Containers
This section describes changes to Flex classes in the mx.containers package. In addition to the
changes listed here, there are also changes to the layouts. For more information, see Chapter 15, “Using Layout Containers,” in Flex 2 Developer’s Guide.
changes listed here, there are also changes to the layouts. For more information, see Chapter 15, “Using Layout Containers,” in Flex 2 Developer’s Guide.
Member
Change description
isFontFaceEmbedded
Moved to the SystemManager class.