| <?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" |
| width="400" height="300" chromeColor="#000000" creationComplete="group1_creationCompleteHandler(event)"> |
| <fx:Declarations> |
| <!-- Place non-visual elements (e.g., services, value objects) here --> |
| </fx:Declarations> |
| <fx:Script> |
| <![CDATA[ |
| import mx.events.FlexEvent; |
| public var labelTxt:String = "kdhf" |
| |
| protected function group1_creationCompleteHandler(event:FlexEvent):void |
| { |
| // TODO Auto-generated method stub |
| label.text="item - " +labelTxt; |
| } |
| |
| ]]> |
| </fx:Script> |
| |
| <s:Rect left="0" right="0" top="0" bottom="0"> |
| <s:fill> |
| <s:LinearGradient rotation="90"> |
| <s:GradientEntry color="#8a696a" ratio="0"/> |
| <s:GradientEntry color="#693439" ratio="0.5"/> |
| <s:GradientEntry color="#826562" ratio="0.7"/> |
| </s:LinearGradient> |
| </s:fill> |
| </s:Rect> |
| |
| <s:Label color="#FFFFFF" horizontalCenter="-16" id="label" verticalCenter="2"/> |
| </s:Group> |