View Single Post
  #3 (permalink)  
Old 07-19-2007, 08:49 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Post Re: Adobe AIR integrated with flex

AIR application XML file

Hi this is my first AIR application. Cool

Each AIR application requires an application descriptor file. This XML file defines various properties of the application, and is embedded in the AIR package that is distributed to users.

To create the application descriptor file, use a text editor to create an XML file named AIRHelloWorld-app.xml and then add the following text:

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/1.0.M4"
appId="com.adobe.air.example.AIRHelloWorld" version="1.0">
<name>Hello World</name>
<description>A test AIR application.</description>
<copyright>2007</copyright>
<rootContent systemChrome="none" transparent="true" visible="true">AIRHelloWorld.swf</rootContent>
</application>


And the Application mxml source is

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" title="Hello World">
<mx:Style>
Application
{
background-image:"";
background-color:"";
background-alpha:"0.5";
}
</mx:Style>
<mx:Label text="Hello AIR" horizontalCenter="0" verticalCenter="0"/>
</mx:WindowedApplication>


thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Reply With Quote