Would you like to tell us how we are doing?

You bet No thanks

Create an XML configuration file

The following steps demonstrate how to create an XML configuration file.

  1. In a text editor, paste the following XML markup.

    To include AIR Native Extensions (ANE) into your application, you must include the package in the <extensionsID> tag. For this application, you will use the QNXSkins ANE.

    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/3.1">
            <id>net.example.test</id>
            <filename>AIRHelloWorld</filename>
           <name>AirHelloWorld</name>
            <versionNumber>1.0.0</versionNumber>
             <copyright>Example Inc.</copyright> 
            <initialWindow>
                    <content>AIRHelloWorld.swf</content>
            </initialWindow>
          <extensions>
    	       <extensionID>qnx.fuse.ui.skins.QNXSkins</extensionID>
        	</extensions>
    </application>
  2. Update the namespace of your project to the version of the Adobe AIR runtime you are using. In the <application> element, set the XML namespace to the version of your Adobe AIR runtime. 
    For example, using Adobe AIR runtime 3.1:
    <application xmlns="http://ns.adobe.com/air/application/3.1">
  3. Save the file with the name AIRHelloWorld-app.xml in the same folder as your application.

    Make sure that this file name matches the name of your ActionScript file.



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus