FLEX的RIA應用程序中配置文件(*-app.xml)的說明

[size=medium]
<application xmlns="http://ns.adobe.com/air/application/1.0">

<!-- The application identifier string, unique to this application. Required. -->
<id>AIRTest1</id><!-- 軟件ID,當安裝時系統將會檢測同一ID軟件版本,版本高的即做更新操作 -->

<!-- Used as the filename for the application. Required. -->
<filename>AIRTest_filename</filename><!-- 安裝界面中 Application: -->

<!-- The name that is displayed in the AIR application installer. Optional. -->
<name>AIRTest_name</name><!-- 桌面快捷方程式及窗口和系統控制面板添加程序中名稱 -->

<!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
<version>1.0</version><!-- 軟件版本 -->

<!-- Description, displayed in the AIR application installer. Optional. -->
<description>AIRTest_description</description><!-- 安裝第二個界面中的 description -->

<!-- Copyright information. Optional -->
<copyright>AIRTest_copyright</copyright>

<!-- Settings for the application's initial window. Required. -->
<initialWindow>
<!-- The main SWF or HTML file of the application. Required. -->
<!-- Note: In Flex Builder, the SWF reference is set automatically. -->
<content>[This value will be overwritten by Flex Builder in the output app.xml]</content>
<!-- The title of the main window. Optional. -->
<title>AIRTest_title</title><!-- 窗體標題,當此處爲註釋狀態時取 name標籤中內容 -->

<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
<systemChrome>none</systemChrome><!-- standard爲標準窗體,none 爲圓滑窗體 -->

<!-- Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. -->
<transparent>true</transparent><!-- 背景是否透明 -->

<!-- Whether the window is initially visible. Optional. Default false. -->
<visible>true</visible><!-- 窗體初始化的時候是否可見 -->

<!-- Whether the user can minimize the window. Optional. Default true. -->
<minimizable>true</minimizable><!-- 是否允許最小化 -->

<!-- Whether the user can maximize the window. Optional. Default true. -->
<!-- <maximizable></maximizable> --><!-- 是否允許最大化 -->

<!-- Whether the user can resize the window. Optional. Default true. -->
<!-- <resizable></resizable> --><!-- 是否允許縮放窗體 -->

<!-- The window's initial width. Optional. -->
<!-- <width></width> --><!-- 窗體寬 -->

<!-- The window's initial height. Optional. -->
<!-- <height></height> --><!-- 窗體高 -->

<!-- The window's initial x position. Optional. -->
<!-- <x></x> --><!-- 窗體X位置座標 -->

<!-- The window's initial y position. Optional. -->
<!-- <y></y> --><!-- 窗體Y位置座標 -->

<!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
<!-- <minSize></minSize> --><!-- 窗體最小化值 -->

<!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
<!-- <maxSize></maxSize> --><!-- 窗體最大化值 -->
</initialWindow>

<!-- The subpath of the standard default installation location to use. Optional. -->
<installFolder>AIRInstrallField/AIR</installFolder><!-- 默認安裝路徑 C:\Program Files\AIRInstrallField\AIR -->

<!-- The subpath of the Windows Start/Programs menu to use. Optional. -->
<programMenuFolder>AIRTest_programMenuFolder</programMenuFolder><!-- 開始/程序 快捷方程式所在文件夾 -->

<!-- The icon the system uses for the application. For at least one resolution,
specify the path to a PNG file included in the AIR package. Optional. -->
<!-- 圖標的大小必須和標籤中標寫的尺寸一致 -->
<icon>
<image16x16>icons/logo.png</image16x16><!-- 系統菜單中及系統控制面板添加程序中的圖標 -->
<image32x32>icons/logo_32.png</image32x32><!-- 桌面圖標,窗口圖標 -->
<image48x48>icons/logo_48.png</image48x48><!-- 安裝目錄EXE文件圖標 -->
<image128x128>icons/logo_128.png</image128x128><!-- 未知 -->
</icon>

<!-- Whether the application handles the update when a user double-clicks an update version
of the AIR file (true), or the default AIR application installer handles the update (false).
Optional. Default false. -->
<!-- <customUpdateUI></customUpdateUI> --><!-- 是否爲同一版本的時候雙擊直接更新 -->
<!-- Whether the application can be launched when the user clicks a link in a web browser.
Optional. Default false. -->
<!-- <allowBrowserInvocation></allowBrowserInvocation> --><!-- 是否應用程序可以通過瀏覽器激活 -->

<!-- Listing of file types for which the application can register. Optional. -->
<!-- <fileTypes> -->

<!-- Defines one file type. Optional. -->
<!-- <fileType> -->

<!-- The name that the system displays for the registered file type. Required. -->
<!-- <name></name> -->

<!-- The extension to register. Required. -->
<!-- <extension></extension> -->
<!-- The description of the file type. Optional. -->
<!-- <description></description> -->
<!-- The MIME type. Optional. -->
<!-- <contentType></contentType> -->
<!-- The icon to display for the file type. Optional. -->
<!-- <icon>
<image16x16></image16x16>
<image32x32></image32x32>
<image48x48></image48x48>
<image128x128></image128x128>
</icon> -->
<!-- </fileType> -->
<!-- </fileTypes> -->

</application> [/size]
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章