jackyrong

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 9 10 ··· 93 下一页

2010年2月1日

摘要: 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的世界 阅读(282) 评论(0) 推荐(0) 编辑

2010年1月31日

摘要: 1 直接继承thread类,覆写RUN方法,启动调用的时候用start(); package com.Thread;class MyThread extends Thread{// 继承Thread类,作为线程的实现类private String name ;// 表示线程的名称public MyThread(String name){this.name = name ;// 通过构造方法配置na... 阅读全文
posted @ 2010-01-31 12:06 jackyrong的世界 阅读(435) 评论(0) 推荐(0) 编辑

2010年1月30日

摘要: 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的世界 阅读(284) 评论(0) 推荐(0) 编辑

2010年1月29日

摘要: 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的世界 阅读(210) 评论(0) 推荐(0) 编辑

2010年1月28日

摘要: <style type="text/css"><!--@import url("css/yangshi.css");-->.floatad { position:absolute; width:100px; height:400px; top:283px; margin-top:-200px; background:url(images/duilian.jpg);}#flo... 阅读全文
posted @ 2010-01-28 10:15 jackyrong的世界 阅读(348) 评论(0) 推荐(0) 编辑

2010年1月25日

摘要: 最近打算从TOMCAT迁移到国产货apusic,但居然部署时,发现有如下的错误:com.apusic.xml.reader.ScanException: The URL pattern ' /FCKeditor/editor/filemanager/browser/default/con nectors/jsp/connector ' cannot contains CR(#xD) or LF(#... 阅读全文
posted @ 2010-01-25 15:20 jackyrong的世界 阅读(650) 评论(0) 推荐(0) 编辑

2010年1月24日

摘要: 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的世界 阅读(269) 评论(0) 推荐(0) 编辑

2010年1月23日

摘要: 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) 编辑

2010年1月22日

摘要: 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的世界 阅读(344) 评论(0) 推荐(0) 编辑

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

上一页 1 2 3 4 5 6 7 8 9 10 ··· 93 下一页