
flex
jimiStephen
把握当下,勤学活用,多问多反思。
展开
-
flex actionscript时间处理
/** * 时间处理类,datepart:转入的参数是要处理的字段,number:要加减的参数,date:要处理日期,没有传入时就是表示当前的时间。 * 例如:dateAdd("date",23,date); * */ public function dateAdd(datepart:String = "", number:Number = 0, date:Date = null):D原创 2013-09-18 10:29:39 · 1352 阅读 · 0 评论 -
flex创建hashMap
1,定义hashMap的接口。 import flash.events.IEventDispatcher; import mx.events.CollectionEvent; /** * Dispatched when the Map has been updated in some way. * * @eventType mx.events.CollectionEve翻译 2013-10-30 08:22:11 · 2990 阅读 · 0 评论 -
flex actionScript时间处理
public class Util { public function Util() { } /** * 时间处理类,相加返回相加后的date * @param datepart 要相加的时间位置 * @param number 相加的数值 * @param date 相加的date没有传入是当前时间 * @return原创 2013-12-16 21:39:42 · 730 阅读 · 0 评论 -
flex展示效果之发光效果学习
1,创建发光体效果对象,设置属性。 var glow:Glow = new Glow(); glow.duration=500;//发光效果的持续时间 glow.alphaFrom=1;//发光效果的起始alpha值 glow.alphaTo=0.6;//发光效果的起结束alpha值 glow.blurXFrom=0;//发光效果的x轴方向的起始模糊值 glow原创 2013-12-23 19:10:01 · 2407 阅读 · 0 评论 -
flex actionScript读取文件
import flash.events.Event; import flash.net.URLLoader; import flash.net.URLRequest; import flash.net.URLVariables; public class TxtLoader { private var setTxt:Function = null; publi原创 2013-12-16 22:05:20 · 719 阅读 · 0 评论