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

Migrating applications to flex 2
Table of Contents

Advertisement

Legends
You now enclose the data provider for Legend controls in curley braces; for example:
Flex 1.x:
<mx:LineChart id="linechart">
...
</mx:LineChart>
<mx:Legend dataProvider="linechart"/>
Flex 2:
<mx:LineChart id="linechart">
...
</mx:LineChart>
<mx:Legend dataProvider="{linechart}"/>
Interfaces
All chart interfaces now follow the I* naming scheme, as the following table shows:
Flex 1.x Name
BoxRenderer
AreaRenderer
WedgeRenderer
LineRenderer
Fill
Axis
AxisRenderer
168
Additional Migration Issues
Flex 2 Name
IBoxRenderer
IAreaRenderer
IWedgeRenderer
ILineRenderer
IFill
IAxis
IAxisRenderer (the interface, not the class)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents