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 閱讀(246) 評論(0)  編輯  收藏 所屬分類: Flex
          主站蜘蛛池模板: 杭锦后旗| 克什克腾旗| 顺平县| 含山县| 黄石市| 天长市| 文化| 广州市| 甘南县| 怀柔区| 博白县| 金坛市| 丁青县| 德州市| 广元市| 乌拉特中旗| 凌源市| 荆门市| 冕宁县| 德钦县| 南和县| 珠海市| 龙山县| 资阳市| 威信县| 仪陇县| 雅江县| 宁南县| 商城县| 云浮市| 钦州市| 金乡县| 宁阳县| 齐齐哈尔市| 扬州市| 永宁县| 江津市| 崇仁县| 富川| 济阳县| 辛集市|