The NoteBook of EricKong

            BlogJava :: 首頁(yè) :: 聯(lián)系 :: 聚合  :: 管理
            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) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): Flex
          主站蜘蛛池模板: 基隆市| 楚雄市| 南岸区| 杭锦旗| 温州市| 靖边县| 湖口县| 广饶县| 邵东县| 天峻县| 囊谦县| 花莲县| 南开区| 塔河县| 逊克县| 黄冈市| 温州市| 廊坊市| 乌鲁木齐市| 广德县| 五原县| 英吉沙县| 外汇| 佛冈县| 平邑县| 长汀县| 五大连池市| 栖霞市| 五常市| 广汉市| 邵武市| 屏东市| 安庆市| 鄯善县| 高邮市| 东安县| 咸阳市| 高阳县| 镇江市| 沂南县| 济源市|