CHAPTER 12
1 2
Additional Migration Issues
This topic describes miscellaneous migration issues, including charting and Runtime Shared
Libraries (RSLs).
Contents
HistoryManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Charting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Cell renderers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Validators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Embedding resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
HistoryManager
To migrate applications from Flex 1.5 to Flex 2, your application must implement the
mx.core.IHistoryState interface; for example:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
implements="mx.core.IHistoryState">
Also, you must declare the
and
methods as
. Otherwise,
saveState()
loadState()
public
they are not visible to the HistoryManager.
Charting
Flex Charting have undergone major changes for Flex 2. This section describes some
migration issues for charts for Flex 2.
Charting classes rely heavily on DataProviders and Arrays. Changes to these classes are
described throughout this document.
The
property on chart series and chart axes is now
.
name
displayName
165
Need help?
Do you have a question about the FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 and is the answer not in the manual?
Questions and answers