| <mx:ViewStack | |
| xmlns:fx="http://ns.adobe.com/mxml/2009" | |
| xmlns:mx="library://ns.adobe.com/flex/mx" | |
| xmlns:s="library://ns.adobe.com/flex/spark" | |
| width="800" height="200" > | |
| <!-- index 0 --> | |
| <s:NavigatorContent id="nc1" width="100%" height="100%" label="NavigatorContent One" > | |
| <mx:Label id="lbl1" text="hollandaise sauce" /> | |
| </s:NavigatorContent> | |
| <!-- index 1 --> | |
| <mx:Canvas id="canvas1" width="100%" height="100%" label="Canvas One" > | |
| <mx:Label id="lbl2" text="wasabe" /> | |
| </mx:Canvas> | |
| </mx:ViewStack> |