创建flex的web工程的方法(总结)

来源:互联网 发布:罗伊基恩数据 编辑:程序博客网 时间:2024/05/01 04:50

服务器端,用eclipse建立web工程

 

1.建立web工程(这里取名test)

 

2.在WEB-INF下创建flex文件夹

 

3.在flex文件夹下创建4个xml文件

   (1)messaging-config.xml

     

   (2)proxy-config.xml

     

   (3)services-config.xml

     

      

   (4)remoting-config.xml

     

 

 

4.在web.xml里面加入:

     

 

 

在客户端用flex Builder建立工程(这里叫test-client)

 

(1)Flex project,Application type选择Web application(runs in Flash Player)

     Server technology里面Application server type选择ColdFusion, 在Use remote

     object access service里面选择ColdFusion Flash Remoting,点下一步

 

(2)Web root,Root URL,还有Context root跟你的建的web工程保持一致, 点下一步

    (注意这时服务器必须已经启动)

 

(3)点完成

   

原创粉丝点击