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

flex上传文件

1.flex端
  <mx:Button id="upload" label="上传文件" click="ExternalInterface.call('openUpload');"/>
2后台
  2.1 openUpload是后台的js脚本(jsp)
        function openUpload(){
  var url="/OA/service/upload.jsp";
newWin=jscomNewWinOpenBySize(url,"文件上传",350,150);
}
function jscomNewWinOpenBySize(url,target,width,height){
 
 
        var tt,w,left,top;
  if (!width) width=screen.width;
  if (!height) height=screen.height-60;
  left=(screen.width-width)/2;
  if(left<0){ left=0;}
  top=(screen.height-60-height)/2;
  if(top<0){ top=0;}
        tt="toolbar=no, menubar=no, scrollbars=yes,resizable=yes,location=no, status=yes,";
        tt=tt+"width="+width+",height="+height+",left="+left+",top="+top;
     w=window.open(url,target,tt);
  try{
   w.focus();
  }catch(e){}
  return w;
}
upload.jsp
<%@ include file="/service/common.jsp"%>
<%@ page contentType="text/html; charset=gbk"  language="java"%>
<html>
<head>
<title>附件上传</title>
<script type="text/javascript" language="javascript">
addEventSimple(window,"load",initial);
function initial(){
 o4lukaForm=document.getElementById("lukaForm");
 o4myFile1=document.getElementById("myFile1");
 o4asslb=document.getElementById("asslb");
 o4ahigbg=document.getElementById("ahigbg");
 if(o4myFile1.value!=""){
 o4lukaForm.submit();
 }else{
  o4asslb.style.display="block";
 }
 
}
 
function getFileSize(filePath){    
 o4asslb=document.getElementById("asslb");
 o4asslb.style.display="none";
 var image=new Image();  
  &nbs


相关文档:

FLEX杂谈——flex就业现状与学习标准分析

写下这个标题大家一定以为我是只FLEX老鸟,不然不敢这么高声说话,而且是在JAVAEYE里.我知道JE里高手很多.有很多人都对FLEX有秀深的见底,写此文是为了回答一些朋友对我的提问.
 
有很多想转行的开发者都问我这样几个问题:现在招FLEX的公司多吗?搞FLEX开发工资高吗?怎么样才算是FLEX入门了?怎么才称得上是FLEX高手?
&n ......

Flex 视频播放器全屏播放

第一步:  *.mxml文件中
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal"
creationComplete="playLoad()" color="#0F7085" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#FFFFFF, #FFFFFF]">
<m ......

flex的基础

1.在flex里面显示查询后的list集合数据
 private var model:ModelConfig=ModelConfig.getOne();
 ModelCong类中存放一些全局的东西要实现接口implements IModelLocator
(如public var root:String="http://192.168.1.68:8090/OA";--系统数据,
public var users:UsersVO=new UsersVO();用来存储信息的变量, ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号