Advertisement
Guest User

Order Form

a guest
Sep 20th, 2011
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.26 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <s:Group xmlns:s="library://ns.adobe.com/flex/spark"
  3. xmlns:fx="http://ns.adobe.com/mxml/2009"
  4. xmlns:ai="http://ns.adobe.com/ai/2009"
  5. xmlns:d="http://ns.adobe.com/fxg/2008/dt"
  6. xmlns:flm="http://ns.adobe.com/flame/2008"
  7. xmlns:fc="http://ns.adobe.com/flashcatalyst/2009"
  8. width="366" height="434">
  9. <fx:Script>
  10. <![CDATA[
  11. protected function button_clickHandler():void
  12. {
  13. const state:String = currentState;
  14. if ( state == 'order' ) {
  15. currentState='thankyou';
  16. }
  17. }
  18. ]]>
  19.  
  20. </fx:Script>
  21. <s:states>
  22. <s:State name="order"/>
  23. <s:State name="thankyou"/>
  24. </s:states>
  25. <s:Rect id="rect1" alpha="1" radiusX="10.1549" radiusY="9.9993"
  26. x.order="0.095" y.order="0.032" width.order="366.006" height.order="434.008"
  27. x.thankyou="0" y.thankyou="0" width.thankyou="366" height.thankyou="92"
  28. alpha.thankyou="0.7000000000000001">
  29. <s:fill>
  30. <s:SolidColor color="0xF7F7F7"/>
  31. </s:fill>
  32. <s:filters>
  33. <s:DropShadowFilter includeIn="order" alpha="0.2" angle="45.0" blurX="4.0" blurY="4.0"
  34. color="#000000" distance="4.0" hideObject="false" inner="false"
  35. knockout="false" quality="2" strength="1"/>
  36. <s:DropShadowFilter includeIn="thankyou" alpha="0.2" angle="45.0" blurX="4.0" blurY="4.0"
  37. color="#000000" distance="4.0" hideObject="false" inner="false"
  38. knockout="false" quality="2" strength="1"/>
  39. </s:filters>
  40. </s:Rect>
  41. <s:RichText x="17" y="13" width="119" height="24" color="#CCCCCC" fontFamily="Earth Normal"
  42. fontSize="21" tabStops="S0 S50 S100 S150 S200 S250 S300 S350" text="ORDER">
  43. </s:RichText>
  44. <s:RichText d:id="4" d:userLabel="Name" includeIn="order" x="17" y="52" width="40" height="13"
  45. ai:aa="2" alpha="0.8" color="#464646" columnCount="1" fontFamily="Arial"
  46. lineHeight="14.4" tabStops="S0" text="Name" textAlpha="0.7" flm:variant="1"
  47. whiteSpaceCollapse="preserve"/>
  48. <s:RichText d:id="5" d:userLabel="Email" includeIn="order" x="17" y="87" width="39" height="13"
  49. ai:aa="2" alpha="0.8" color="#464646" columnCount="1" fontFamily="Arial"
  50. lineHeight="14.4" tabStops="S0" text="Email" textAlpha="0.7" flm:variant="2"
  51. whiteSpaceCollapse="preserve"/>
  52. <s:RichText d:id="6" d:userLabel="Primary Phone:" includeIn="order" x="17" y="122" width="88"
  53. height="13" ai:aa="2" alpha="0.8" color="#464646" columnCount="1" fontFamily="Arial"
  54. fontSize="12" lineHeight="14.4" tabStops="S0 S50" text="Primary Phone:"
  55. textAlpha="0.7" flm:variant="3" whiteSpaceCollapse="preserve"/>
  56. <s:RichText d:id="7" d:userLabel="Secondary Phone " includeIn="order" x="17" y="157" width="105"
  57. height="13" ai:aa="2" alpha="0.8" color="#464646" columnCount="1" fontFamily="Arial"
  58. lineHeight="14.4" tabStops="S0 S50 S100" text="Secondary Phone " textAlpha="0.7"
  59. flm:variant="4" whiteSpaceCollapse="preserve"/>
  60. <s:RichText d:id="8" d:userLabel="Order" includeIn="order" x="62" y="194" width="35" height="13"
  61. ai:aa="2" alpha="0.8" color="#464646" columnCount="1" fontFamily="Arial"
  62. lineHeight="14.4" tabStops="S0" text="Order" textAlpha="0.7" flm:variant="5"
  63. whiteSpaceCollapse="preserve"/>
  64. <s:RichText d:id="9" d:userLabel="Please list the brand, item/s and quantities" includeIn="order"
  65. x="95" y="194" width="236" height="14" ai:aa="2" color="#464646" columnCount="1"
  66. fontFamily="Arial" fontSize="12" lineHeight="14.4"
  67. tabStops="S0 S50 S100 S150 S200 S250 "
  68. text="(please list the brand, item/s and quantities)" textAlpha="0.3"
  69. flm:variant="6" whiteSpaceCollapse="preserve"/>
  70. <s:RichText d:id="8" d:userLabel="Order" includeIn="order" x="17" y="194" width="51" height="13"
  71. ai:aa="2" alpha="0.8" color="#464646" columnCount="1" fontFamily="Arial"
  72. fontSize="12" lineHeight="14.4" tabStops="S0 S50" textAlpha="0.7" flm:variant="5"
  73. whiteSpaceCollapse="preserve">
  74. <s:content><s:p><s:span>Enquiry</s:span><s:span fontFamily="Arial Bold" textAlpha="0.4">/</s:span></s:p></s:content>
  75. </s:RichText>
  76. <s:TextInput includeIn="order" x="59" y="45" skinClass="components.Name_input"/>
  77. <s:TextInput includeIn="order" x="59" y="81" skinClass="components.Email_input"/>
  78. <s:TextInput includeIn="order" x="122" y="154" skinClass="components.Secondary_phone_input"/>
  79. <s:TextInput includeIn="order" x="122" y="118" skinClass="components.Primary_phone_input"/>
  80. <s:TextInput includeIn="order" x="17" y="216" skinClass="components.Enquiry_ORDER_input"/>
  81. <s:RichText includeIn="thankyou" x="17" y="46" width="242" height="29" alpha="0.5"
  82. color="#464646" fontFamily="Arial" fontSize="12"
  83. tabStops="S0 S50 S100 S150 S200" whiteSpaceCollapse="preserve">
  84. <s:content><s:p><s:span><![CDATA[Thankyou for your order/enquiry! ]]></s:span></s:p><s:p><s:span><![CDATA[Earthsk8 will be in contact with you shortly ]]></s:span></s:p></s:content>
  85. </s:RichText>
  86. <s:RichText includeIn="order" x="17" y="407" width="71" height="12" color="#464646"
  87. fontFamily="Arial" fontSize="10" tabStops="S0 S50 S100" text="*required fields"
  88. textAlpha="0.6"/>
  89. <s:RichText includeIn="order" x="52" y="45" width="9" height="8" alpha="0.3" color="#464646"
  90. fontFamily="Arial" fontSize="12" tabStops="S0" text="*"/>
  91. <s:RichText includeIn="order" x="52" y="81" width="9" height="8" alpha="0.3" color="#464646"
  92. fontFamily="Arial" fontSize="12" tabStops="S0" text="*"/>
  93. <s:RichText includeIn="order" x="114" y="118" width="9" height="8" alpha="0.3" color="#464646"
  94. fontFamily="Arial" fontSize="12" tabStops="S0" text="*"/>
  95. <s:RichText includeIn="order" x="9" y="216" width="9" height="8" alpha="0.3" color="#464646"
  96. fontFamily="Arial" fontSize="12" tabStops="S0" text="*"/>
  97. <s:Button includeIn="order" x="303" y="406" click="button_clickHandler()"
  98. skinClass="components.Send_button"/>
  99. <s:transitions>
  100. <s:Transition fromState="order" interruptionBehavior="stop" toState="thankyou">
  101. <s:Parallel>
  102. <s:Parallel target="{rect1}">
  103. <s:Animate duration="750">
  104. <s:SimpleMotionPath property="width"/>
  105. <s:SimpleMotionPath property="height"/>
  106. </s:Animate>
  107. <s:Fade duration="750"/>
  108. </s:Parallel>
  109. </s:Parallel>
  110. </s:Transition>
  111. </s:transitions>
  112. <fx:Private>
  113. <fc:Guide x="17"/>
  114. <fc:Guide x="0"/>
  115. <fc:Guide x="366"/>
  116. <fc:Guide y="0"/>
  117. <fc:Guide y="45"/>
  118. </fx:Private>
  119. </s:Group>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement