| <?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 height="600" width="700" |
| xmlns:mx="http://www.adobe.com/2006/mxml" |
| xmlns:comps="comps.*" |
| backgroundColor="0xFFFFFF" initialize="loadCSS()"> |
| |
| <mx:Script> |
| <![CDATA[ |
| |
| import mx.styles.StyleManager; |
| |
| public var eventDispatcher:IEventDispatcher; |
| |
| public function loadCSS(): void |
| { |
| eventDispatcher = StyleManager.loadStyleDeclarations("assets/pseudoStylesHalo.swf"); |
| } |
| |
| ]]> |
| </mx:Script> |
| <comps:ButtonComp id="button1" /> |
| <comps:TextBasic id="box1" /> |
| <mx:Panel title="stuff" layout="horizontal"> |
| <comps:VBoxStatesComp id="vbox1" /> |
| <comps:ButtonComp id="button2" /> |
| <comps:DateChooserComp id="datechooser1" /> |
| </mx:Panel> |
| |
| <comps:DateChooserComp id="datechooser2" /> |
| <comps:ComboBoxStatesComp id="peepComboBox" /> |
| <comps:ComboBoxStatesComp id="peepComboBox2" /> |
| <mx:HBox> |
| <comps:ComboBoxStatesComp id="peepComboBox3" /> |
| <comps:ComboBoxStatesComp id="peepComboBox4" /> |
| </mx:HBox> |
| <comps:CanvasStatesComp id="canvas1" /> |
| </mx:Application> |