Adobe Flex Compiler (mxmlc) V4.1.0 所有配置變量列表

 

下列命令列表是從“mxmlc -help list advanced details”得來的,SDK 版本爲 4.1.0 。完整的英文版在:http://help.adobe.com/zh_CN/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html

Adobe Flex Compiler (mxmlc)
Version 4.1.0 build 16076
Copyright (c) 2004-2009 Adobe Systems, Inc. All rights reserved.

  • -benchmark
        輸出性能基準
  • -compiler.accessible
        別名 -accessible
        生成可訪問的 SWF
  • -compiler.actionscript-file-encoding <string>
        別名 -actionscript-file-encoding
        指定 Actionscript 文件編碼。如果 AS3 源文件中沒有 BOM,則編譯器將使用此文件編碼。
  • -compiler.allow-source-path-overlap
        別名 -allow-source-path-overlap
        檢查源路徑條目是否是其它源路徑條目的子目錄。這有助於明確 MXML 組件的數據包名稱。 (高級)
  • -compiler.as3
        別名 -as3
        使用基於 ActionScript 3
        類的對象模型可以獲得更高的性能和更出色的錯誤報告功能。在基於類的對象模型中,大多數內置函數是作爲類的固定方法執行的。 (高級)
  • -compiler.context-root <context-path>
        別名 -context-root
        用於替換服務通道端點的 {context.root} 標記的路徑
  • -compiler.debug
        別名 -debug
        生成適於進行調試的電影
  • -compiler.defaults-css-files [filename] [...]
        別名 -defaults-css-files
         (高級, 可重複)
  • -compiler.defaults-css-url <string>
        別名 -defaults-css-url
        定義默認樣式表的位置。設置此選項可重寫 framework.swc 文件中 defaults.css 樣式表的隱式使用。 (高級)
  • -compiler.define <name> <value>
        別名 -define
        定義全局 AS3 條件編譯定義,例如 -define=CONFIG::debugging,true 或
        -define+=CONFIG::debugging,true(以追加到 flex-config.xml 中的現有定義) (高級,
        可重複)
  • -compiler.enable-runtime-design-layers
        別名 -enable-runtime-design-layers
  • -compiler.es
        別名 -es
        使用基於 ECMAScript 版本 3
        原型的對象模型以允許動態重寫原型屬性。在基於原型的對象模型中,內置函數是作爲原型對象的動態屬性執行的。 (高級)
  • -compiler.extensions.extension [extension] [parameters] [...]
        別名 -extension
         (可重複)
  • -compiler.external-library-path [path-element] [...]
        別名 -external-library-path
        要進行編譯但忽略鏈接的 SWC 文件或目錄列表 (可重複)
  • -compiler.fonts.advanced-anti-aliasing
        別名 -advanced-anti-aliasing
        爲嵌入字體啓用高級消除鋸齒,該功能可爲小字體提供更高的清晰度。
  • -compiler.fonts.flash-type
        別名 -flash-type
        爲嵌入字體啓用 FlashType,該功能可爲小字體提供更高的清晰度。
  • -compiler.fonts.languages.language-range <lang> <range>
        別名 -language-range
        限制嵌入 SWF 中的字體字形數的範圍 (高級, 可重複)
  • -compiler.fonts.local-font-paths [path-element] [...]
        別名 -local-font-paths
         (高級)
  • -compiler.fonts.local-fonts-snapshot <string>
        別名 -local-fonts-snapshot
        包含由 flex2.tools.FontSnapshot 生成的系統字體數據的文件。 (高級)
  • -compiler.fonts.managers [manager-class] [...]
        別名 -managers
        編譯器字體管理器類,以策略解析排序 (高級)
  • -compiler.fonts.max-cached-fonts <string>
        別名 -max-cached-fonts
        設置在服務器緩存中保留的字體的最大數目。默認值爲 20。 (高級)
  • -compiler.fonts.max-glyphs-per-face <string>
        別名 -max-glyphs-per-face
        設置在服務器緩存中爲每種字體保留的字符字形輪廓的最大數目。默認值爲 1000。
  • -compiler.headless-server
        別名 -headless-server
        當 Flex 在沒有顯示器的服務器上運行時要設置的標誌 (高級)
  • -compiler.include-libraries [library] [...]
        別名 -include-libraries
        要完全包括在 SWF 中的庫 (SWC) 列表 (可重複)
  • -compiler.incremental
        別名 -incremental
        啓用增量編譯
  • -compiler.isolate-styles
        別名 -isolate-styles
        使已編譯的應用程序或模塊可以設置僅影響其自身和其子代的樣式 (高級)
  • -compiler.keep-all-type-selectors
        別名 -keep-all-type-selectors
        停用刪除未使用的 CSS 類型選擇器 (高級)
  • -compiler.keep-as3-metadata [name] [...]
        別名 -keep-as3-metadata
        在 SWF 中保留指定的元數據 (高級, 可重複)
  • -compiler.keep-generated-actionscript
        別名 -keep-generated-actionscript
        保存在 MXML 編譯期間生成的臨時源文件 (高級)
  • -compiler.library-path [path-element] [...]
        別名 -l
        SWC 文件或包含 SWC 文件的目錄的列表 (可重複)
  • -compiler.locale [locale-element] [...]
        別名 -locale
        指定國際化的區域 (可重複)
  • -compiler.minimum-supported-version <string>
        別名 -minimum-supported-version
  • -compiler.mxml.compatibility-version <version>
        別名 -compatibility-version
        指定兼容性版本,例如 -compatibility-version=2.0.1
  • -compiler.mxml.minimum-supported-version <string>
  • -compiler.mxml.qualified-type-selectors
        別名 -qualified-type-selectors
         (高級)
  • -compiler.namespaces.namespace [uri] [manifest] [...]
        別名 -namespace
        指定要與用作 MXML 元素的組件的清單關聯的 URI (可重複)
  • -compiler.omit-trace-statements
        別名 -omit-trace-statements
        切換是否忽略 trace 語句
  • -compiler.optimize
        別名 -optimize
        啓用鏈接後 SWF 優化
  • -compiler.report-invalid-styles-as-warnings
        別名 -report-invalid-styles-as-warnings
        將無效樣式報告爲警告
  • -compiler.services <filename>
        別名 -services
        到 Flex Data Services 配置文件的路徑
  • -compiler.show-actionscript-warnings
        別名 -show-actionscript-warnings
        在檢測合法但可能不正確的代碼的模式下運行 AS3 編譯器
  • -compiler.show-binding-warnings
        別名 -show-binding-warnings
        切換是否顯示數據綁定代碼生成的警告
  • -compiler.show-invalid-css-property-warnings
        別名 -show-invalid-css-property-warnings
        切換是否報告無效 css 屬性警告
  • -compiler.show-shadowed-device-font-warnings
        別名 -show-shadowed-device-font-warnings
        切換是否在嵌入字體名稱覆蓋設備字體名稱時顯示警告
  • -compiler.show-unused-type-selector-warnings
        別名 -show-unused-type-selector-warnings
        切換是否顯示未使用的 CSS 類型選擇器生成的警告
  • -compiler.source-path [path-element] [...]
        別名 -sp
        構成 ActionScript 類層次根的路徑元素列表 (可重複)
  • -compiler.strict
        別名 -strict
        在嚴格檢查錯誤的模式下運行 AS3 編譯器。
  • -compiler.theme [filename] [...]
        別名 -theme
        要應用爲主題的 CSS 或 SWC 文件的列表 (可重複)
  • -compiler.use-resource-bundle-metadata
        別名 -use-resource-bundle-metadata
        確定是否在應用程序中包含資源束。
  • -compiler.verbose-stacktraces
        別名 -verbose-stacktraces
        將調用堆棧信息保存爲 SWF 以供調試 (高級)
  • -compiler.warn-array-tostring-changes
        別名 -warn-array-tostring-changes
        Array.toString() 格式已更改。 (高級)
  • -compiler.warn-assignment-within-conditional
        別名 -warn-assignment-within-conditional
        在條件內的指定。 (高級)
  • -compiler.warn-bad-array-cast
        別名 -warn-bad-array-cast
        數組計算操作可能無效。 (高級)
  • -compiler.warn-bad-bool-assignment
        別名 -warn-bad-bool-assignment
        在應使用布爾值的地方使用了非布爾值。 (高級)
  • -compiler.warn-bad-date-cast
        別名 -warn-bad-date-cast
        Date 轉換操作無效。 (高級)
  • -compiler.warn-bad-es3-type-method
        別名 -warn-bad-es3-type-method
        方法未知。 (高級)
  • -compiler.warn-bad-es3-type-prop
        別名 -warn-bad-es3-type-prop
        屬性未知。 (高級)
  • -compiler.warn-bad-nan-comparison
        別名 -warn-bad-nan-comparison
        與 NaN 比較無意義。任何涉及到 NaN 的比較運算結果都將爲 false,因爲 NaN != NaN。 (高級)
  • -compiler.warn-bad-null-assignment
        別名 -warn-bad-null-assignment
        不能指定爲 null。 (高級)
  • -compiler.warn-bad-null-comparison
        別名 -warn-bad-null-comparison
        與 null 比較無意義。 (高級)
  • -compiler.warn-bad-undefined-comparison
        別名 -warn-bad-undefined-comparison
        與 undefined 比較無意義。僅無類型變量(或類型爲 * 的變量)允許 undefined。 (高級)
  • -compiler.warn-boolean-constructor-with-no-args
        別名 -warn-boolean-constructor-with-no-args
        在 ActionScript 3.0 中,若 Boolean() 不帶參數,則會返回 false。在 ActionScript 2.0
        中,Boolean() 會返回 undefined。 (高級)
  • -compiler.warn-changes-in-resolve
        別名 -warn-changes-in-resolve
        __resolve 不再受支持。 (高級)
  • -compiler.warn-class-is-sealed
        別名 -warn-class-is-sealed
        類已封裝。無法動態向其添加成員。 (高級)
  • -compiler.warn-const-not-initialized
        別名 -warn-const-not-initialized
        未初始化常量。 (高級)
  • -compiler.warn-constructor-returns-value
        別名 -warn-constructor-returns-value
        在新表達式中使用的函數返回一個值。結果將是函數返回的值,而不是該函數的新實例。 (高級)
  • -compiler.warn-deprecated-event-handler-error
        別名 -warn-deprecated-event-handler-error
        EventHandler 未作爲偵聽器添加。 (高級)
  • -compiler.warn-deprecated-function-error
        別名 -warn-deprecated-function-error
        不支持的 ActionScript 2.0 函數。 (高級)
  • -compiler.warn-deprecated-property-error
        別名 -warn-deprecated-property-error
        不支持的 ActionScript 2.0 屬性。 (高級)
  • -compiler.warn-duplicate-argument-names
        別名 -warn-duplicate-argument-names
        多個參數具有相同名稱。 (高級)
  • -compiler.warn-duplicate-variable-def
        別名 -warn-duplicate-variable-def
        變量定義重複  (高級)
  • -compiler.warn-for-var-in-changes
        別名 -warn-for-var-in-changes
        ActionScript 3.0 將會以隨機順序循環訪問“for x in target”語句中的對象屬性。 (高級)
  • -compiler.warn-import-hides-class
        別名 -warn-import-hides-class
        導入名稱與當前類相同的數據包時,將會隱藏此範圍中的該類標識符。 (高級)
  • -compiler.warn-instance-of-changes
        別名 -warn-instance-of-changes
        使用 instanceof 運算符。 (高級)
  • -compiler.warn-internal-error
        別名 -warn-internal-error
        編譯器中的內部錯誤。 (高級)
  • -compiler.warn-level-not-supported
        別名 -warn-level-not-supported
        _level 不再受支持。有關詳細信息,請參見 flash.display 數據包。 (高級)
  • -compiler.warn-missing-namespace-decl
        別名 -warn-missing-namespace-decl
        缺少命名空間聲明(例如,未將變量定義爲公共變量、私有變量等)。 (高級)
  • -compiler.warn-negative-uint-literal
        別名 -warn-negative-uint-literal
        指定爲 uint 數據類型時,負值會變成一個較大的正值。 (高級)
  • -compiler.warn-no-constructor
        別名 -warn-no-constructor
        缺少構造函數。 (高級)
  • -compiler.warn-no-explicit-super-call-in-constructor
        別名 -warn-no-explicit-super-call-in-constructor
        未在構造函數中調用 super() 語句。 (高級)
  • -compiler.warn-no-type-decl
        別名 -warn-no-type-decl
        缺少類型聲明。 (高級)
  • -compiler.warn-number-from-string-changes
        別名 -warn-number-from-string-changes
        在 ActionScript 3.0 中,忽略空格且 ” 返回 0。在 ActionScript 2.0 中,當參數是 ”
        或包含空格時,Number() 返回 NaN。 (高級)
  • -compiler.warn-scoping-change-in-this
        別名 -warn-scoping-change-in-this
        this 關鍵字的範圍有變更。從類的實例中提取的類方法總是將 this 解析回該實例。在 ActionScript 2.0
        中,根據調用方法的位置來動態查找 this。 (高級)
  • -compiler.warn-slow-text-field-addition
        別名 -warn-slow-text-field-addition
        對文本域使用 += 無效。 (高級)
  • -compiler.warn-unlikely-function-value
        別名 -warn-unlikely-function-value
        可能缺少圓括號。 (高級)
  • -compiler.warn-xml-class-has-changed
        別名 -warn-xml-class-has-changed
        可能使用了 ActionScript 2.0 XML 類。 (高級)
  • -debug-password <string>
        要包含在可調試的 SWF 中的口令 (高級)
  • -default-background-color <int>
        默認背景顏色(應用程序代碼可以重寫該值) (高級)
  • -default-frame-rate <int>
        要在 SWF 中使用的默認幀頻。 (高級)
  • -default-script-limits <max-recursion-depth> <max-execution-time>
        默認腳本執行限制(root 屬性可以重寫該值) (高級)
  • -default-size <width> <height>
        默認應用程序大小(應用程序中的 root 屬性可以重寫該值) (高級)
  • -dump-config <filename>
        編寫一份文件,包含所有當前設置的配置值,格式要適合於作爲 flex config 文件使用 (高級)
  • -externs [symbol] [...]
        構建 SWF 時要從鏈接中刪掉的符號列表 (高級, 可重複)
  • -frames.frame [label] [classname] [...]
        別名 -frame
        帶有將被鏈接到幀上的類名稱序列的 SWF 幀標籤。 (高級, 可重複)
  • -framework <string>
  • -help [keyword] [...]
        關鍵字爲“syntax”、“list”、“advanced”、“aliases”、“details”或一個搜索條目
  • -include-resource-bundles [bundle] [...]
        要包含在輸出 SWC 中的資源束列表 (可重複)
  • -includes [symbol] [...]
        構建 SWF 時總是鏈接的符號列表 (高級, 可重複)
  • -licenses.license <product> <serial-number>
        別名 -license
        指定產品和序列號。  (可重複)
  • -link-report <filename>
        輸出所有鏈接到應用程序的定義的 XML 格式報告。 (高級)
  • -load-config <filename>
        加載包含配置選項的文件 (可重複)
  • -load-externs <filename>
        XML 文件,其中包含構建 SWF 時,要從鏈接中刪除的 <def>、<pre> 和 <ext> 符號  (高級, 可重複)
  • -metadata.contributor <name>
        別名 -contributor
        要存儲在 SWF 元數據中的參與者的名字 (可重複)
  • -metadata.creator <name>
        別名 -creator
        要存儲在 SWF 元數據中的作者的名字 (可重複)
  • -metadata.date <text>
        別名 -date
        要存儲在 SWF 元數據中的創建日期
  • -metadata.description <text>
        別名 -description
        要存儲在 SWF 元數據中的默認說明
  • -metadata.language <code>
        別名 -language
        要存儲在 SWF 元數據中的語言(例如 EN、FR) (可重複)
  • -metadata.localized-description <text> <lang>
        別名 -localized-description
        要存儲在 SWF 元數據中的本地化的 RDF/XMP 說明 (可重複)
  • -metadata.localized-title <title> <lang>
        別名 -localized-title
        要存儲在 SWF 元數據中的本地化的 RDF/XMP 標題 (可重複)
  • -metadata.publisher <name>
        別名 -publisher
        要存儲在 SWF 元數據中的發佈人的名字 (可重複)
  • -metadata.title <text>
        別名 -title
        要存儲在 SWF 元數據中的默認標題
  • -output <filename>
        別名 -o
        要創建的 SWF 電影的文件名
  • -raw-metadata <text>
        要存儲在 SWF 元數據中的 XML 文本(重寫 metadata.* 配置) (高級)
  • -resource-bundle-list <filename>
        將資源束列表打印到文件,以便輸入到 compc 編譯器以創建資源束 SWC 文件。 (高級)
  • -runtime-shared-libraries [url] [...]
        別名 -rsl
        要在應用程序啓動之前加載的運行時共享庫 URL 列表 (可重複)
  • -runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
        別名 -rslp
         (可重複)
  • -static-link-runtime-shared-libraries
        別名 -static-rsls
        靜態鏈接由“-runtime-shared-libraries-path”選項指定的庫。
  • -target-player <version>
        指定應用程序所針對的播放器版本。需要更高版本的功能將不會編譯到應用程序中。支持的最小值是“9.0.0”。
  • -tools-locale <string>
        指定編譯器在報告錯誤和警告時使用的區域設置。
  • -use-network
        切換是否將 SWF 標記爲可以訪問網絡資源
  • -verify-digests
        驗證運行時加載的庫是否正確。 (高級)
  • -version
        顯示程序的內部版本號
  • -warnings
        切換顯示/不顯示警告
發佈了7 篇原創文章 · 獲贊 0 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章