Macromedia flex 2-migrating applications to flex 2 Manual De Usuario

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