adding example for 03e3
This commit is contained in:
parent
0897a44865
commit
19f934fc7c
48
03e3-tabnavigator/Shopping.mxml
Normal file
48
03e3-tabnavigator/Shopping.mxml
Normal file
@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
|
||||
backgroundColor="#FFFFFF"
|
||||
backgroundAlpha="0">
|
||||
|
||||
<mx:Move id="hideEffect"
|
||||
xTo="-500" />
|
||||
<mx:Move id="showEffect"
|
||||
xFrom="500" />
|
||||
|
||||
<mx:Panel width="500" height="300"
|
||||
headerColors="[#000000,#FFFFFF]">
|
||||
|
||||
<mx:TabNavigator id="viewstack2"
|
||||
selectedIndex="0"
|
||||
historyManagementEnabled="false"
|
||||
width="100%" height="100%">
|
||||
|
||||
<mx:Form label="Shopping Cart"
|
||||
hideEffect="{hideEffect}" showEffect="{showEffect}">
|
||||
<mx:FormItem label="Acme Widget 1.0">
|
||||
<mx:NumericStepper value="1" />
|
||||
<mx:Button label="Add to Cart"
|
||||
click="viewstack2.selectedIndex=1" />
|
||||
</mx:FormItem>
|
||||
</mx:Form>
|
||||
|
||||
<mx:Form label="Enter Your Payment Information"
|
||||
hideEffect="{hideEffect}" showEffect="{showEffect}">
|
||||
<mx:FormItem label="Name on Credit Card">
|
||||
<mx:TextInput />
|
||||
</mx:FormItem>
|
||||
<mx:FormItem label="Credit Card Number">
|
||||
<mx:TextInput />
|
||||
<mx:Button label="Buy"
|
||||
click="viewstack2.selectedIndex=2" />
|
||||
</mx:FormItem>
|
||||
</mx:Form>
|
||||
|
||||
<mx:Form label="Thank You!"
|
||||
hideEffect="{hideEffect}" showEffect="{showEffect}">
|
||||
<mx:Text text="Thanks for your purchase!" />
|
||||
</mx:Form>
|
||||
|
||||
</mx:TabNavigator>
|
||||
|
||||
</mx:Panel>
|
||||
</mx:Application>
|
@ -143,6 +143,10 @@
|
||||
$(MXMLC) 03e2-tabbar-linkbar/TabBarDemo.mxml -warnings -l+=03e2-tabbar-linkbar -output 03e2-tabbar-linkbar/TabBarDemo.swf
|
||||
|
||||
|
||||
03e3-tabnavigator/Shopping.swf: 03e3-tabnavigator/Shopping.mxml
|
||||
$(MXMLC) 03e3-tabnavigator/Shopping.mxml -warnings -l+=03e3-tabnavigator -output 03e3-tabnavigator/Shopping.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