<?xml version="1.0" encoding="utf-8"?> <!-- //////////////////////////////////////////////////////////////////////////////// // // *Copyright (c) 2006 Uday M. Shankar // // The usual Yada-Yada! // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this code and associated documentation // files (the "Code"), to deal in the Code without // restriction, including without limitation the rights to use, // copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the // Code is furnished to do so, subject to the following // conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Code. // // THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. // // Further it is worth to mention that no animals have been // harmed during the development. No trees have been cut // down. Womens rights have been treated with full respect. // Mankind's safety has been ensured at every step. // // Peace! // // @file: UseCGrid // @author: Uday M. Shankar // @date: 23-12-2006 // @description: Brings together the 2 CGrid samples into one tab navigator. // //////////////////////////////////////////////////////////////////////////////// --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundGradientColors="[#000000, #8c8c8c]" xmlns:flexed="*" horizontalAlign="center" verticalAlign="middle" viewSourceURL="srcview/index.html"> <mx:Style source="flexed/widgets/grid/grid.css"/> <mx:Style> Alert{ color : #0f3177; title-style-name : "alertTitle"; header-height:19; border-thickness: 1; drop-shadow-enabled: true; drop-shadow-color :#d1ddf7; background-color: #ffffff; corner-radius :6; border-style :solid; header-colors : #90a4d1, #5970a0; footer-colors : #9db6d9, #ffffff; border-color : #5970a0; } .alertTitle{ font-family :Verdana; font-size :10; font-weight :bold; text-align :left; color :#ffffff; } </mx:Style> <mx:VBox verticalGap="3" width="70%" height="80%"> <!-- Using the Tab Navigator to hold my components. --> <flexed:UseCustomGrid width="100%" height="100%"/> <!-- Copyright text (???) :) --> <mx:Label horizontalCenter="0" text="Test Drive v1.0 | http://flexed.wordpress.com | Uday M. Shankar" bottom="0" color="#ffffff"/> </mx:VBox> </mx:Application>