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

Flex 用 POST 提交数据


public function submit():void{
   
    //要请求的URL
    var request:URLRequest = new URLRequest("
http://localhost:8086/test.do
") ;
    var load:URLLoader = new URLLoader() ;
    //URL参数
    var variables:URLVariables = new URLVariables();
   
    //variables.+后面的参数 表示要提交的参数。
    variables.content = content.text;
   
    variables.no = 1001 ;
    //提交的方式
    request.method=URLRequestMethod.POST;
   
    //提交的数据
    request.data=variables ;
   
    load.dataFormat = URLLoaderDataFormat.TEXT ;
    load.load(request) ;
   
   }
后台通过:
String content = request.getParameter("content") 获取;
String no = request.getParameter("no ") 获取;


相关文档:

Flex拖拽 两个List之间拖拽

Flex拖拽-两个List之间拖拽
关键字: flex拖拽, list
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="creationHandler();">
<mx:Script>
<![CDATA[
import mx.events.DragEvent;
imp ......

flex学习起步

http://www.cnblogs.com/beniao/category/190537.html
WebORB for .NET   : http://www.cnblogs.com/beniao/category/190537.html
这个网页也有非可视化组件、数据可视化组件、打印组件以及行为效果组建等:http://examples.adobe.com/flex3/componentexplorer/explorer.html ......

flex tree 自动显示横向滚动条

mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:cmp="com.render.*"
    height="100%" width="100%" paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0">
    <cmp:AutoSizeTree
&n ......

flex学习 导航

几种导航选项卡
  <?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:ButtonBar dataProvider="myPages">
</mx:ButtonBar>
<mx:ToggleButtonBar dataProvider="myPages">
</mx:ToggleButto ......

flex学习 states和transitions

关于states
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Script>
<![CDATA[
import mx.effects.easing.Bounce;
]]>
</mx:Script>
<mx:states>
<mx:State name="bookDetails" ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号