adding example for 03e4
This commit is contained in:
parent
19f934fc7c
commit
2af4cf42c7
44
03e4-viewstack/ViewStackDemo.mxml
Normal file
44
03e4-viewstack/ViewStackDemo.mxml
Normal file
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
|
||||
backgroundColor="#FFFFFF"
|
||||
backgroundAlpha="0"
|
||||
horizontalAlign="left"
|
||||
verticalGap="15" horizontalGap="15">
|
||||
|
||||
<mx:Panel>
|
||||
|
||||
<mx:ViewStack id="vs"
|
||||
x="30" y="32"
|
||||
width="452" height="339"
|
||||
selectedIndex="0">
|
||||
|
||||
<mx:Canvas backgroundColor="#FFFFCC">
|
||||
<mx:Text text="This is Area 1"
|
||||
fontWeight="bold"
|
||||
paddingTop="10" paddingLeft="10" />
|
||||
</mx:Canvas>
|
||||
|
||||
<mx:Canvas backgroundColor="#D7D7D7">
|
||||
<mx:Text text="This is Area 2"
|
||||
fontWeight="bold"
|
||||
paddingTop="10" paddingLeft="10" />
|
||||
</mx:Canvas>
|
||||
|
||||
<mx:Canvas backgroundColor="#CCCCFF">
|
||||
<mx:Text text="This is Area 3" fontWeight="bold" paddingTop="10" paddingLeft="10" />
|
||||
</mx:Canvas>
|
||||
|
||||
</mx:ViewStack>
|
||||
|
||||
</mx:Panel>
|
||||
|
||||
<mx:HBox>
|
||||
<mx:Button label="Area 1"
|
||||
click="vs.selectedIndex=0" />
|
||||
<mx:Button label="Area 2"
|
||||
click="vs.selectedIndex=1" />
|
||||
<mx:Button label="Area 3"
|
||||
click="vs.selectedIndex=2" />
|
||||
</mx:HBox>
|
||||
|
||||
</mx:Application>
|
@ -147,6 +147,10 @@
|
||||
$(MXMLC) 03e3-tabnavigator/Shopping.mxml -warnings -l+=03e3-tabnavigator -output 03e3-tabnavigator/Shopping.swf
|
||||
|
||||
|
||||
03e4-viewstack/ViewStackDemo.swf: 03e4-viewstack/ViewStackDemo.mxml
|
||||
$(MXMLC) 03e4-viewstack/ViewStackDemo.mxml -warnings -l+=03e4-viewstack -output 03e4-viewstack/ViewStackDemo.swf
|
||||
|
||||
|
||||
custom-03d1-datagrid/Snarf.swf: custom-03d1-datagrid/Snarf.mxml custom-03d1-datagrid/CustomApp.as
|
||||
$(MXMLC) custom-03d1-datagrid/Snarf.mxml -warnings -l+=custom-03d1-datagrid -output custom-03d1-datagrid/Snarf.swf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user