HistoryButton
From Openzet
Introduction
HistoryButton class lets you move back and forth along the view history of any ViewStack control.
Usage
<mx:VBox>
<mx:HBox width="100%"
horizontalAlign="right">
<controls:HistoryButton target="{vs}"
useForward="true" useBackward="true" />
</mx:HBox>
<mx:TabNavigator id="vs"
width="300" height="300">
<mx:VBox width="100%" height="100%"
label="tab 1"
backgroundColor="0xFF0000" backgroundAlpha=".1">
<mx:Label text="box 1" />
</mx:VBox>
<mx:VBox width="100%" height="100%"
label="tab 2"
backgroundColor="0x0000FF" backgroundAlpha=".1">
<mx:Label text="box 2" />
</mx:VBox>
<mx:VBox width="100%" height="100%"
label="tab 3"
backgroundColor="0x00FF00" backgroundAlpha=".1">
<mx:Label text="box 3" />
</mx:VBox>
</mx:TabNavigator>
</mx:VBox>
<controls:HistoryButton target="{vs}" useForward="true" useBackward="true" /> By specifying HistoryButton’s target property, depending on the value of useForward and useBackward properties, this control adds back button and next button to navigate Viewstack view history.
