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
          主站蜘蛛池模板: 南丰县| 彭泽县| 伽师县| 皮山县| 弥勒县| 松滋市| 卫辉市| 游戏| 铜鼓县| 舟曲县| 凌海市| 石城县| 玉山县| 新兴县| 天峻县| 故城县| 乌兰浩特市| 慈溪市| 嵊泗县| 沁阳市| 九江县| 泉州市| 邳州市| 宝坻区| 蓬溪县| 平江县| 舒兰市| 孟连| 长宁县| 万安县| 陇西县| 长沙县| 南昌县| 泸西县| 浙江省| 新津县| 林西县| 东宁县| 沈丘县| 永平县| 江城|