View comments | RSS feed

Using custom history management

You can register a component with the HistoryManager class if it implements the mx.managers.StateInterface interface. All of the navigator containers implement the StateInterface interface in their class definitions. The StateInterface interface contains two methods: saveState() and loadState(). As their names imply, these methods save and load a component's navigation states.

The HistoryManager class contains a load() method that calls the loadState() method for each registered component with an object identical to the one that the saveState() method returns.


Version 1.5

Comments


No screen name said on Jan 4, 2005 at 6:51 AM :
"You can register a component with the HistoryManager class if it implements the mx.managers.StateInterface interface" - there's no such interface in Flex 1.5

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000633.htm