| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> |
| |
| <s:BorderContainer id="myBorder" |
| backgroundColor="blue" |
| backgroundAlpha="1.0" |
| borderColor="red" |
| borderWeight="3" |
| borderAlpha="1.0" |
| dropShadowVisible="true" |
| cornerRadius="3" |
| height="300" width="300" |
| color="green" |
| fontSize="14" |
| chromeColor="yellow" |
| symbolColor="purple" |
| focusColor="red" |
| left="10" right="10" top="10" bottom="10"> |
| |
| <s:Label text="Spark Border Component" top="2" horizontalCenter="0" fontSize="16" height="16" width="203"/> |
| |
| <s:HGroup top="30" left="5"> |
| <s:Button id="myBtn" label="Spark Button" height="21" width="112"/> |
| <s:NumericStepper id="myNS" height="23" width="57"/> |
| <s:HSlider id="mySlider" height="11" width="100"/> |
| </s:HGroup> |
| |
| <s:CheckBox id="myCB" label="CheckBox" fontSize="18" y="70" x="5" height="24" width="107"/> |
| |
| <s:DropDownList id="myDDL" prompt="Select One" x="130" y="70" height="21" width="114"> |
| <s:dataProvider> |
| <s:ArrayList source="[One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten]"/> |
| </s:dataProvider> |
| </s:DropDownList> |
| |
| <s:List id="myList" x="5" y="110" selectedIndex="3" fontSize="10" width="100" height="150"> |
| <s:dataProvider> |
| <s:ArrayList source="[Un, Deux, Trois, Quatre, Cinq, Six, Sept, Huit, Neuf, Dix]"/> |
| </s:dataProvider> |
| </s:List> |
| |
| <s:Button id="aBtn" label="CLICK ME" left="5" right="5" bottom="5" chromeColor="green" color="yellow" height="21" width="284"/> |
| |
| <s:Label id="myST" verticalCenter="0" horizontalCenter="0" text="MIDDLE" color="red" fontWeight="bold" height="14" width="61"/> |
| |
| </s:BorderContainer> |
| |
| </s:Group> |