| <?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. |
| |
| --> |
| <mx:Application backgroundColor="0xFFFFFF" backgroundImage="" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" width="700" height="700"> |
| |
| <mx:Script> |
| <![CDATA[ |
| |
| [Bindable] |
| public var myMatrix:Array = [0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0]; |
| [Bindable] |
| public var brightmatrix:Array = [-30, 30, 0, -30, 30, 0, -30, 30, 0]; |
| |
| ]]> |
| </mx:Script> |
| |
| <mx:Style source="assets/myStyles.css" /> |
| |
| <mx:HBox> |
| <mx:TitleWindow id="TitleWindow1" backgroundColor="0xFFFFFF" > |
| <mx:filters> |
| <mx:DropShadowFilter color="0xFF0000" distance="5" /> |
| </mx:filters> |
| <mx:Button id="button1" label="button 1" /> |
| <mx:TextInput id="textinput3" text="textinput 3" /> |
| <mx:Button id="button4" label="button 4" /> |
| <mx:TextInput id="textinput7" text="textinput 7" /> |
| </mx:TitleWindow> |
| |
| <mx:TitleWindow id="TitleWindow2" backgroundColor="0xFFFFFF" > |
| <mx:filters> |
| <mx:BevelFilter shadowColor="0xFF0000" distance="5"/> |
| </mx:filters> |
| <mx:TextInput id="textinput52" text="textinput 5" /> |
| <mx:Button id="button62" label="button 6" /> |
| </mx:TitleWindow> |
| |
| <mx:TitleWindow id="TitleWindow3" backgroundColor="0xFFFFFF" > |
| <mx:filters> |
| <mx:BlurFilter blurX="10" blurY="10" /> |
| </mx:filters> |
| <mx:Button id="button13" label="button 1" /> |
| <mx:Button id="button23" label="button 2" /> |
| </mx:TitleWindow> |
| </mx:HBox> |
| |
| <mx:HBox> |
| <mx:TitleWindow id="TitleWindow4" backgroundColor="0xFFFFFF" > |
| <mx:filters> |
| <mx:ColorMatrixFilter matrix="{myMatrix}" /> |
| </mx:filters> |
| <mx:Button id="button44" label="button 4" /> |
| <mx:TextInput id="textinput54" text="textinput 5" /> |
| <mx:Button id="button64" label="button 6" /> |
| <mx:TextInput id="textinput74" text="textinput 7" /> |
| </mx:TitleWindow> |
| |
| <mx:TitleWindow id="TitleWindow5" backgroundColor="0xFFFFFF" > |
| <mx:filters> |
| <mx:ConvolutionFilter matrixX="3" matrixY="3" matrix="{brightmatrix}"/> |
| </mx:filters> |
| <mx:Button id="button15" label="button 1" /> |
| <mx:Button id="button25" label="button 2" /> |
| <mx:TextInput id="textinput35" text="textinput 3" /> |
| <mx:TextInput id="textinput75" text="textinput 7" /> |
| </mx:TitleWindow> |
| |
| <mx:TitleWindow id="TitleWindow7" backgroundColor="0xFFFFFF" > |
| <mx:filters> |
| <mx:GlowFilter color="0x00FF00" /> |
| </mx:filters> |
| <mx:Button id="button17" label="button 1" /> |
| <mx:Button id="button27" label="button 2" /> |
| </mx:TitleWindow> |
| </mx:HBox> |
| |
| <mx:HBox> |
| <mx:TitleWindow id="TitleWindow8" backgroundColor="0xFFFFFF" > |
| <mx:filters> |
| <mx:GradientBevelFilter colors="[0xFFFFFF, 0x00FF00, 0xFF0000]" alphas="[1, 0, 1]" |
| ratios="[0, 128, 255]" blurX="8" blurY="8" distance="5"/> |
| </mx:filters> |
| <mx:Button id="button58" label="button 1" /> |
| <mx:Button id="button28" label="button 2" /> |
| <mx:Button id="button68" label="button 6" /> |
| <mx:TextInput id="textinput78" text="textinput 7" /> |
| </mx:TitleWindow> |
| |
| <mx:TitleWindow id="TitleWindow9" backgroundColor="0xFFFFFF" > |
| <mx:filters> |
| <mx:GradientGlowFilter colors="[0xFFCCFF, 0x0000FF, 0x9900FF, 0xFF0000, 0xFFFF00]" |
| alphas="[1,1,1,1,1]" ratios="[0, 32, 64, 128, 225]" type="full" /> |
| </mx:filters> |
| <mx:Button id="button18" label="button 1" /> |
| <mx:Button id="button69" label="button 2" /> |
| <mx:TextInput id="textinput38" text="textinput 3" /> |
| </mx:TitleWindow> |
| </mx:HBox> |
| |
| </mx:Application> |