The NoteBook of EricKong

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks
          Note: When you compile an application using mxmlc, by default the compiler references the flex-config.xml configuration file, which specifies to include the libs/player directory in the library path for Flash Player. When you compile an application for AIR, use the load-config option to the mxmlc compiler to specify the air-config.xml file, which specifies to include the libs/air directory in the library path.

          Specifying the services-config.xml file in a compilation
          When you compile your Flex application, you typically specify the services-config.xml configuration file to the compiler. This file defines the channel URLs that the client-side Flex application uses to communicate with the BlazeDS server. Then the channel URLs are compiled into the resultant SWF file.
          Both client-side and server-side code use the services-config.xml configuration file. If you change anything in services-config.xml, you usually have to recompile your client-side applications and restart your server-side application for the changes to take effect.
          In Flex Builder, the appropriate services-config.xml file is included automatically based on the BlazeDS web application that you specified in the configuration of your Flex Builder project. When you use the mxmlc compiler, use the services option to specify the location of the file.
          Note: You can also create channel definitions at run time in ActionScript. In that case, you might be able to omit the reference to the services-config.xml configuration file from the compiler.
          posted on 2011-06-29 12:24 Eric_jiang 閱讀(242) 評論(0)  編輯  收藏 所屬分類: Flex
          主站蜘蛛池模板: 大同市| 潢川县| 中卫市| 贡嘎县| 措美县| 明溪县| 哈尔滨市| 理塘县| 保定市| 威海市| 天全县| 华坪县| 荥阳市| 安新县| 伊金霍洛旗| 镇赉县| 栾川县| 宿迁市| 福安市| 含山县| 洱源县| 兴仁县| 大田县| 偏关县| 闻喜县| 临汾市| 双流县| 平武县| 玉山县| 大同市| 中江县| 台安县| 甘谷县| 开远市| 萝北县| 将乐县| 墨脱县| 玛沁县| 湛江市| 梅州市| 博乐市|