2011年4月7日

flex 常用正则表达式validator

摘要: public static function isPwd(pwd:String):Boolean{ var reg:RegExp = /^[_a-zA-Z0-9]{6,16}$/; if(reg.test(pwd)) ... 阅读全文

posted @ 2011-04-07 19:00 coding-now 阅读(34) 评论(0) 推荐(0)

flex reset Grid

摘要: /*** * 重置 Grid */ public static function resetClick(event:Event,grid:Grid):void{ var rows:int = grid.numChildren; for(va... 阅读全文

posted @ 2011-04-07 18:56 coding-now 阅读(33) 评论(0) 推荐(0)

flex urlLoader post/get

摘要: /*** * get 方式传递参数,数据量大会出现问题,数据会截断,传递到服务器端的数据不全,是由于地址栏传参的数据量有限制. */ public static function connect(url:String,params:String... 阅读全文

posted @ 2011-04-07 18:54 coding-now 阅读(27) 评论(0) 推荐(0)

导航