| <?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:Application xmlns:fx="http://ns.adobe.com/mxml/2009" |
| xmlns:s="library://ns.adobe.com/flex/spark" |
| xmlns:mx="library://ns.adobe.com/flex/mx" |
| xmlns:comps="comps.*" |
| creationComplete="(CONFIG::skaha){import qa.Skaha;Skaha.enable()}"> |
| <fx:Script> |
| <![CDATA[ |
| import spark.primitives.BitmapImage; |
| import spark.components.Label; |
| ]]> |
| </fx:Script> |
| |
| <fx:Declarations> |
| <!-- Skaha settings objects that defines what test file we are currently working on and the favorite properties --> |
| <fx:Object id="skahaSettings" testDir="gumbo/components/Image/properties/" testFileName="Image_properties.mxml" /> |
| <s:ArrayCollection id="propertiesToInspect"> |
| <fx:Object propName="width" /> |
| <fx:Object propName="height" /> |
| <fx:Object propName="x" /> |
| <fx:Object propName="y" /> |
| <fx:Object propName="enabled" /> |
| <fx:Object propName="source" enum="{['../../../../../Assets/Images/redrect.jpg',null]}" /> |
| <fx:Object propName="scaleMode" enum="{['letterbox','stretch']}" /> |
| <fx:Object propName="horizontalAlign" enum="{['left','right','center']}" /> |
| <fx:Object propName="verticalAlign" enum="{['top','bottom','middle']}" /> |
| </s:ArrayCollection> |
| </fx:Declarations> |
| |
| <fx:Style> |
| @namespace s "library://ns.adobe.com/flex/spark"; |
| |
| @font-face{ |
| src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf"); |
| fontFamily: myEmbeddedFont; |
| embedAsCFF: true; |
| } |
| |
| s|Image{ |
| enableLoadingState: "true"; |
| smoothingQuality: "high"; |
| backgroundColor: #0000FF; |
| backgroundAlpha: 0.8; |
| } |
| |
| s|Application { |
| fontAntiAliasType: "normal"; |
| fontFamily: myEmbeddedFont; |
| fontLookup: "embeddedCFF"; |
| } |
| |
| </fx:Style> |
| |
| <s:layout> |
| <s:VerticalLayout /> |
| </s:layout> |
| |
| |
| |
| <comps:PropertiesRoot id="pr" /> |
| |
| </s:Application> |