jackyrong

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  925 随笔 :: 2 文章 :: 1092 评论 :: 159万 阅读

随笔分类 -  FLEX

摘要:1 区域性图表 <mx:Script><![CDATA[import mx.collections.ArrayCollection;// 创建数组集合,用于图表数据源[Bindable]public var expenses:ArrayCollection = new ArrayCollection([{Month:"一月", Profit:2000, Expenses:1500... 阅读全文
posted @ 2010-02-02 14:07 jackyrong的世界 阅读(751) 评论(0) 推荐(0) 编辑

摘要:1 richtexteditor控件 import mx.controls.Button;/** * 初始化 * */private function InitApp():void{// 创建一个“打印”按钮var but:Button = new Button();but.label = "打印";but.addEventListener("click",PrintDia... 阅读全文
posted @ 2010-02-01 13:59 jackyrong的世界 阅读(283) 评论(0) 推荐(0) 编辑

摘要:1 advanceddatagrid中的分组grouping应用,比如: <![CDATA[import mx.rpc.events.ResultEvent;import mx.collections.ArrayCollection;[Bindable]private var bookData:ArrayCollection;private function bookHandler(evt:... 阅读全文
posted @ 2010-01-30 00:38 jackyrong的世界 阅读(285) 评论(0) 推荐(0) 编辑

摘要:1 在viewstack的导航中,如果用代码来切换选项卡时,可以不用selectedIndex,而用selectedChild,比如选用lable="welcome"的pannel <mx:Button label="welcome" click="viewstack.selectedChild=welcome"/>2 rollover,rollout的效果 <mx:Image ... 阅读全文
posted @ 2010-01-29 11:57 jackyrong的世界 阅读(211) 评论(0) 推荐(0) 编辑

摘要:1 FLASH调用webservice: <!--引入WebService标签,设定wsdl。不使用代理名称--><mx:WebService id="ws" wsdl="http://www.webxml.com.cn/WebServices/ChinaStockWebService.asmx?wsdl" useProxy="false"><!--生命调用的方法以及... 阅读全文
posted @ 2010-01-24 19:17 jackyrong的世界 阅读(270) 评论(0) 推荐(0) 编辑

摘要:flex学习小结71 饼状图 import mx.collections.ArrayCollection; //绑定需要显示的数据 [Bindable] //设定要显示的数据 private var modelData:ArrayCollection = new ArrayCollection( [ { Year: "2010年世界杯", Count: 4 }, { Year: "2014年世界杯... 阅读全文
posted @ 2010-01-23 19:36 jackyrong的世界 阅读(303) 评论(0) 推荐(0) 编辑

摘要:1 日历控件中,格式化日期: DateField.dateToString(birthday_dtf.selectedDate,"YYYY年MM月DD日") <mx:DateField id="birthday_dtf" yearNavigationEnabled="true" formatString="YYYY年MM月DD日"/>2 popupmenu自定义弹出菜单的使用 <... 阅读全文
posted @ 2010-01-22 16:39 jackyrong的世界 阅读(346) 评论(0) 推荐(0) 编辑

摘要:今天偶然想做FLEX里鼠标右键弹出菜单,但其实是很麻烦的,因为忘记了FLASH自己是有个鼠标右键菜单的,所以还是不动为秒,但如果实在要动的话,也可以,转载之:1.如果你是Desktop Application监听事件的MouseEvent.RIGHT_CLICK事件 比如对某个控件a进行监控右键点击事件 a.addEventListener(MouseEvent.RIGHT_CLICK,func)... 阅读全文
posted @ 2010-01-22 15:29 jackyrong的世界 阅读(294) 评论(0) 推荐(0) 编辑

摘要:flex学习小结5 阅读全文
posted @ 2010-01-21 21:55 jackyrong的世界 阅读(283) 评论(0) 推荐(0) 编辑

摘要:flex学习小结4 阅读全文
posted @ 2010-01-21 21:53 jackyrong的世界 阅读(300) 评论(0) 推荐(0) 编辑

摘要:1 TIMER类的应用 //创建一个500毫秒间隔,10次的Timervar curTimer:Timer = new Timer(500, 10);//添加一个事件监听器,使得每次到达时间间隔调用output方法curTimer.addEventListener(TimerEvent.TIMER, outPut);//添加一个事件监听使得完成所有Timer调用后,调用函数timerComplet... 阅读全文
posted @ 2010-01-17 11:21 jackyrong的世界 阅读(435) 评论(0) 推荐(0) 编辑

摘要:在flex中,一般直接在设计时写remoteobject的话,这个是比较普遍了,但有的时候,需要在AS代码中动态设置 remoteobject,这个比较少见,所以小结学习之: 阅读全文
posted @ 2010-01-11 21:59 jackyrong的世界 阅读(937) 评论(1) 推荐(1) 编辑

摘要:1 两个模块(MODULE间的传输) 主程序: <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"><mx:ModuleLoader url="m1.swf" id="m1"/><mx:ModuleLoader url="m2.swf" id="m2"/></mx:Application>... 阅读全文
posted @ 2009-10-07 11:46 jackyrong的世界 阅读(800) 评论(0) 推荐(0) 编辑

摘要:摘录最近学FLEX的一些读书笔记小结 阅读全文
posted @ 2009-10-04 23:37 jackyrong的世界 阅读(624) 评论(0) 推荐(0) 编辑

摘要:发现一个好的工具,能把象PDF,JPG等格式的东西转换为SWF的格式,具体的下载见:http://www.swftools.org/download.html一 个参考文的用法参考:http://www.blogjava.net/kissjava/archive/2009/09/21/231383.html 阅读全文
posted @ 2009-10-03 00:01 jackyrong的世界 阅读(448) 评论(0) 推荐(0) 编辑

摘要:http://wangyisong.javaeye.com/blog/376118,一个不错的讲解flex 3中自定义事件的文章 阅读全文
posted @ 2009-08-08 17:41 jackyrong的世界 阅读(733) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示