| <?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. |
| |
| --> |
| |
| |
| <!--- The Spark skin class for the MX ProgressBar component. |
| |
| @see mx.controls.ProgressBar |
| |
| @langversion 3.0 |
| @playerversion Flash 10 |
| @playerversion AIR 1.5 |
| @productversion Flex 4 |
| --> |
| <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" > |
| |
| <fx:Script> |
| /** |
| * @private |
| */ |
| override protected function initializationComplete():void |
| { |
| useChromeColor = true; |
| super.initializationComplete(); |
| } |
| </fx:Script> |
| |
| <!-- layer 1: fill --> |
| <s:Rect left="2" right="2" top="2" bottom="2" > |
| <s:fill> |
| <s:LinearGradient rotation="90"> |
| <s:GradientEntry color="0xFFFFFF" |
| alpha="1" /> |
| <s:GradientEntry color="0xD8D8D8" |
| alpha="1" /> |
| </s:LinearGradient> |
| </s:fill> |
| </s:Rect> |
| |
| <!-- layer 2: border --> |
| <s:Rect left="2" right="2" top="2" bottom="2" > |
| <s:stroke> |
| <s:LinearGradientStroke rotation="90"> |
| <s:GradientEntry color="0xFFFFFF" |
| alpha=".9" /> |
| <s:GradientEntry color="0xFFFFFF" |
| alpha="0.5" /> |
| </s:LinearGradientStroke> |
| </s:stroke> |
| </s:Rect> |
| |
| <!-- layer 3: right edge --> |
| <s:Rect right="1" top="2" bottom="2" width="1" > |
| <s:fill> |
| <s:SolidColor color="0x000000" alpha="0.55" /> |
| </s:fill> |
| </s:Rect> |
| |
| </s:SparkSkin> |