AIR

Window options

Application WindowedApplication

In order for the transparency to work you must set background-color and background-image styles of the Application or WindowedApplication tags to an empty string (””). You must also have the systemChrome attribute set to none for the application to be transparent. If you have the Application tag and background color and image styles set to (””) your application will be completely transparent, with no borders, but if you have the WindowedApplication tag with background color and image of the WindowedApplication set to (””) your application content box will be transparent but you do have borders and buttons.

Botones

Flex-app.xml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/1.0.M4" appId="Chronos" version="1.0 Beta">
 
<!-- 
    AIR Application Descriptor File: 
    Specifies parameters for identifying, installing, and launching AIR applications.
 
    The root element of the descriptor is "application" and has the attributes:
    appID   - A string identifying this application. Every AIR application must
              have a unique appID. The recommended form of an appID is a 
              dot-delimited, reverse-DNS-style string, such as 
              "com.example.ApplicationName". The appID string must be between 
              17-255 characters long and may include the following characters:
              0-9 
              a-z 
              A-Z 
              . (dot)
              - (hyphen)              
    version - An application-defined version designator.
              Examples: "1.0", ".4", "0.5", "Alpha 1",
    xmlns   - The AIR namespace ("http://ns.adobe.com/air/application/1.0.M4").
-->
 
    <!--
        The name displayed by the operating system when the application is 
        running. (Required.)
    -->
    <name>Chronos</name>
 
    <!--
        The title displayed in the AIR application installer.
    -->
    <title/>
 
    <!--
        The description displayed in the AIR application installer.
    -->
    <description/>
 
    <!--
        The application copyright information.
    -->
    <copyright/>
 
    <!--
        The main content file of the application, which must be a SWF or 
        HTML file. (Required.)
 
        Attributes:
        systemChrome - "standard" or "none". If "standard", the application 
                       window is opened with operating system-specific window 
                       elements such as a title bar, minimize, and close 
                       buttons. If "none", the application must provide its 
                       own window controls. (Note, the Flex WindowedApplication 
                       class supplies a set of window controls, which are only 
                       shown when systemChrome="none".)
        transparent  - "true" or "false". If "true", the application has support 
                       for full transparency.
        visible      - "true" or "false". If "false", the main window will not 
                       be displayed 
                       until the application changes the window visible property 
                       to "true".
        width        - the initial window height (including chrome).
        height       - the initial window width (including chrome).
 
        In Flex Builder, the SWF reference required within this tag will be set 
        automatically when you launch or export this application.
    -->    
    <rootContent systemChrome="none" transparent="true" visible="true">[SWF reference is generated]</rootContent>
 
    <!--
        The subdirectory within the default application installation location in 
        which to install the application.
    -->
    <!-- <installFolder></installFolder> -->
 
    <!--
        One or more PNG, GIF, or JPEG graphics files to be used as application 
        icons. The path specified is relative to the application root directory. 
        If an image is specified, it must be the exact size. The image files 
        must be included in the AIR package.
    -->
 
	<!--
        <icon>
            <image16x16>icons/AIRApp_16.png</image16x16>     
            <image32x32>icons/AIRApp_32.png</image32x32>   
            <image48x48>icons/AIRApp_48.png</image48x48>    
            <image128x128>icons/AIRApp_128.png</image128x128>
        </icon>
    -->
 
    <!-- 
        If the handleUpdates element is present in the application descriptor, 
        then the AIR runtime will defer version updates to this application.
    -->
    <!-- <handleUpdates/> -->
 
    <!--
        One or more file types to register when this application is installed.
    -->  
 
	<!--  
        <fileTypes>
            <fileType>
                <name>com.example</name>
                <extension>xmpl</extension>
                <description>Example file</description>
                <contentType>example/x-data-type</contentType>
            </fileType>
        </fileTypes>
    -->
 
</application>

Source(s)

http:agknology.com/blog/http:/agknology.com/blog/air/24