易截截图软件、单文件、免安装、纯绿色、仅160KB

netbeans + flex 第一个DEMO

  首先建一个netbeans的java web项目
然后从网上吧blazeds.war 下载下来用rar 解压 把web-inf 替换掉在netbeans\web 下面的web-inf中的全部文件
然后 部署下
在打开flex builder 新建一个flex project 写上名字和项目路径
在Application server type 选中j2ee
点击 下一步
然后 Root folder选中netbeans 建的项目 下的web路径 例如E:\学习\WebDemo\web  {我的项目交WebDemo}
Root Url 写上你的服务器url路径  例如:http://localhost:8080/WebDemo
Context root 还是/WebDemo
 在output folder 这里注意一下 比如我的项目是E:\学习\WebDemo\ 这个路径下 那么写E:\学习\WebDemo\web  这样的话flex builfer就会把生成的文件都放在web下面了
然后下一步 ok 现在项目算是搭建完事了
现在修改配置文件netbeans 下面的web\web-inf\flex\remoting-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
class="flex.messaging.services.RemotingService">
<adapters>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="helloWorld">
<properties>
<source>com.demo.java.HelloWorld</source>
</properties>
</destination>
</service>
<destination id="helloWorld">
            <properties>
            <source>cn.demo.java.HelloWorld</source>
            </properties>
        </destination>
这些是我新加的 helloWrold 是自己新建的名字
 com.demo.java.HelloWorld 是我新建的类
里面代码如下
 /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
p


相关文档:

MyEclipse安装Flex 3 插件及新建Flex项目演示


一、准备工作:
所需要的软件:
Tomcat 5: http://tomcat.apache.org/
FlexBuilder3 beta2 插件版: FB3_WWEJ_Plugin
Eclipse 3.3 : www.eclipse.org
 
或者
MyEclipse 6.0:http://www.myeclipseide.com/
Blazeds.war:http://flexorg.wip3.adobe.com/blazeds/3.0.x/milestone/3978/blazeds-bin-3.2.0.39 ......

Flex DataGrid组件


Flex DataGrid组件
实际上,DataGrid组件是属于列表组件的,之所以单独拿出来讲解,主要是因为 DataGrid组件有着很强大的功能,也有很多扩展的应用是在开发中经常用到的。DataGrid组件是按照行和列的形式显示数据的。有几个类是只有 DataGrid组件才能使用的,包括DataGridCellEditor类、DataGridColumn类和HeaderRendere ......

flex无法断点调试的解决办法

犯了一个极低的错误,这个原因是自己造成的,是自己把
改为本地自己即可,
查了些英文网站的解决方案,说是什么系统升级,诺顿杀毒软件问题,都不是自己要的答案,是自己以前不小心改了,后来无论怎么卸载、升级、重装flash插件都一个样
http://hi.baidu.com/phperbo/blog/item/bf77fefb29a73b1e6d22ebe4.html
老是遇见 ......

adobe flex部署 实际操作

Adobe flex到底是做什么的,我在这里就不进行阐述了。主要是写下:flex插件集成到MyEclipse/Eclipse中的方法和 flex+java项目的部署过程
插件安装过程:
1.安装Eclipse或者MyEclipse;
2.安装FlexBuilder3 beta2插件版 --  FB3_WWEJ_Plugin.exe;
   a.选择FlexBuilder3 的安装路径,可以任意选择,然后点 ......

Flex 启动基本流程


First, enough bytes for frame 1 are streamed down to the Flash
Player.
The Flash Player executes those bytes by creating a SystemManager
instance.
SystemManager instruct the Flash Player to stop at the end of frame
1.
SystemManager then goes on to create the Preloader which creates the ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号