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

flex+java

1.我的配置环境为:
  flexBuilder3,LCDS251,MyEclipse 5.5.1
GA+
2.安装lcds2.5.1,打开目录,里面有一个flex
.war
3.关闭tomcat(如果打开在的话)
4.将flex
.war拷入tomcat的webapps目录
5.重启tomcat,可以看到webapps里多了一个目录flex
,这便是我们要的东西
6.可以将flex
.war删除
7.将flex
文件夹拷到其他地方,反正不能在webapps里面。(我也不知道为什么)
8.可以开始了,MyEclipse里新建web
Project(假设名为DemoWeb)
9.打开刚移出去的flex
目录,将其中WEB-INF全部复制到工程DemoWeb的WebRoot/WEB-INFO里,点全部,
即覆盖原有文件
9.5. flex
文件夹中有一个jars目录,里面是一些java包,将里面所有jar拷到DemoWeb的WebRoot/WEB-INFO的lib目录中,
//ok,准备工作都做好了,开始可以编写代码测试下
10.flexBuilder中新建flex
工程,放心,我们只用来编写mxml文件
11.编写mxml代码,我的代码是:
Java代码
<?xml version=
"1.0"
 encoding=
"utf-8"
?>  
<mx:Application   
     xmlns:mx="http://www.adobe.com/2006/mxml"
  
     layout="absolute"
   
     creationComplete="initApp()"
>  
    
<mx:Script>  
   <![CDATA[  
           
         import
 flash.events.Event;  
         import
 mx.managers.CursorManager;   
         import
 mx.rpc.events.ResultEvent;  
         import
 mx.rpc.events.FaultEvent;  
           
  
         internal function initApp():void
{  
   


相关文档:

从头学FLEX no.1

1.当下载了flash builder 4 beta ,安装启动时候,回提示输入注册码。可通过网址https://freeriatools.adobe.com/flashbuilder4beta/ 输入Flex Builder 3 Serial #: 来换取 builder 4 beta的注册码。在邮件中查收
2.通过http://www.adobe.com/devnet/flex/videotraining/flex4beta/来学习flex4.个人感觉video做的很不 ......

flex as3开源组件


flex项目和组件等
open-source project : Flex
Adobe APIs 
主要包含corelib, mappr, flickr, youtube及加密等类库. 
http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries
as3awss3lib 
与 Amazon S3 交互的 ActionScript 3.0 类库 
http://code.google.com/p/as3 ......

Flex Event总结

<!-- -->
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:宋体;
panose-1:2 ......

Flex 右键菜单

MXML:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" fontSize="20" initialize="doinit()"   mouseOver="getMouseTarget(event)">
 <mx:ArrayCollection id="dgArray">
  <mx:Object pid="1" name="秦始皇" time="秦" />
&nbs ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号