`
wangyisong
  • 浏览: 235922 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

跟我StepByStep学FLEX教程------结束语

    博客分类:
  • FLEX
阅读更多

      跟我StepByStep学FLEX教程系列教程就暂时告一段落了,请读者关注博主其它系列的文章,以后也会把FLEX项目中的实际应用经验更新到博客中,感谢广大读者的支持!

      如果有FLEX方面的培训或者J2EE方面的,可以通过站内消息和我联系,谢谢!

分享到:
评论
3 楼 happyzjj 2013-12-18  
感谢楼主的共享,很受用
2 楼 wptc 2010-02-02  
多谢楼主的无私。
1 楼 tongliaozhang 2009-12-18  
你好,我正在看你的PDF 我用Myeclipse的插件版的Flex3 但是写一个简单的Demo 就是1.6的那个 出现了 类不能嵌套的错误 我不太明白 请帮我看看,谢谢!!
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="1024" height="700">
<mx:Script>
<![CDATA[
//初始化
internal function InitLs():void{
  var srcArr:Array= new Array();
  srcArr.push("China soft");
  srcArr.unshift("BOCO");
  srcArr.unshift("PCCW");
  SrcLs.dataProvider=srcArr;
 
  var desArr:Array=new Array("PM","PL","SE");
  DesLs.dataProvider=desArr;
}

//循环初始化
internal function ForInitLs():void{
  var clyleArr:Array=new Array();
  for(var i:Number=0;i<3;i++){
  clyleArr.push("TestLs"+i);
  }
 
  DesLs.dataProvider=clyleArr;
}

//拖拽效果
]]>
</mx:Script>
<mx:Panel width="407" height="247" layout="absolute" title="Flex画面" horizontalAlign="center" verticalAlign="top" themeColor="#106093" borderColor="#0BA6B0" left="32" top="10">
<mx:Label x="63" y="19" text="用户名" width="59" height="33" fontSize="15"/>
<mx:Label x="63" y="71" text="密码" fontSize="15"/>
<mx:TextInput x="153" y="22" color="#5410E0"/>
<mx:TextInput x="153" y="74"/>
<mx:Button x="101" y="144" label="登陆"/>
<mx:Button x="205" y="144" label="取消"/>
<mx:CheckBox x="101" y="114" label="VIP"/>
</mx:Panel>
<mx:Panel x="32" y="284" width="407" height="297" layout="absolute">
   
<mx:Button x="147" y="150" label="拖拽" textAlign="center" width="81" id="LeftMovBtn"/>
<mx:List x="19" y="20" width="110" height="179" id="SrcLs"></mx:List>
<mx:List x="236" y="20" width="116" height="179" id="DesLs"></mx:List>
<mx:Button x="147" y="101" label="循环初始化" width="81" id="ForInitBtn" click="ForInitLs()"/>
<mx:Button x="147" y="49" label="初始化" id="InitBtn" width="81" click="InitLs()"/>
</mx:Panel>
</mx:Application>

相关推荐

Global site tag (gtag.js) - Google Analytics