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

Migrating applications to flex 2
Table of Contents

Advertisement

mx.controls.listClasses.ListCellRenderer
The ListCellRenderer class is now named ListItemRenderer.
The following table describes changes to the ListItemRenderer class:
Member
dataChanged
mx.controls.listClasses.TileListItemRenderer
The following table describes changes to the TileListItemRenderer class:
Member
dataChanged
mx.controls.Loader
The mx.controls.Loader class name has changed to mx.controls.SWFLoader.
The following table describes changes to the Loader class:
Member
border
borderMetrics
brokenImage
contentPath
load()
Styles
Adobe Flash Player 9 now dispatches
cannot be loaded. The external loading code in View now listens for
events and forwards them. The SWFLoader class traps these events and displays the
Error
broken image.
72
Flex Classes
Change description
dataChange
Change description
dataChange
Change description
Removed.
Removed.
The
is now the
brokenImage
property. This style property is of type Class, as are all
other skin style properties.
source
Using the
method to load a JPEG, GIF, or PNG file
load()
now creates an ImageSprite (containing an Image) as the
child of the SWFLoader.
You can no longer set border and background color styles
on the SWFLoader control.
events when external data such as the image
ioError
style
brokenImageSkin
events and
ioError

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents