12 2022 档案
Glist 按钮属性
摘要:grayed 变灰与否不影响点击等事件 touchable 为false,不会变灰,但会无法点击, enabled为false自动变灰,且无法点击 阅读全文
posted @ 2022-12-23 10:49 我是cdt 阅读(25) 评论(0) 推荐(0) 编辑
获取并播放动画
摘要:private playTip(){ this.m_t0.play(this.endPlayCard,this,1) } private endPlayCard():void{ this.m_t0.playReverse(); } private playTip(){ this.m_t0.play( 阅读全文
posted @ 2022-12-21 17:52 我是cdt 阅读(23) 评论(0) 推荐(0) 编辑
ts fromCharCode charCodeAt
摘要:String.fromCharCode(unicode); 97 a 65 A unicode = str.charCodeAt(i); 阅读全文
posted @ 2022-12-20 15:09 我是cdt 阅读(9) 评论(0) 推荐(0) 编辑
python打包exe
摘要:1首先安装pyinstaller,使用安装命令:pip3 install pyinstaller 2pyinstaller -F 目标py,如: pyinstaller -F C:\project\test01\venv\getGameBy3355_xiuxian_huangzhuang_realU 阅读全文
posted @ 2022-12-17 21:21 我是cdt 阅读(16) 评论(0) 推荐(0) 编辑
Glist 刷新数据
摘要:private changeData(backData){ this.data_arr=backData["data"]["list"]; if(this.data_arr){ this.list_scroller.refreshVirtualList(); this.list_scroller.i 阅读全文
posted @ 2022-12-15 15:57 我是cdt 阅读(21) 评论(0) 推荐(0) 编辑
As3 计算两个日期之间的天数差
摘要:/*日期转YYYYMMDD*/ formDate.fullYear + "" + (formDate.month < 10 ? ("0" + formDate.month) : formDate.month) + "" + (formDate.day < 10 ? ("0" + formDate.d 阅读全文
posted @ 2022-12-14 09:53 我是cdt 阅读(63) 评论(0) 推荐(0) 编辑
egret 安卓打包字体
该文被密码保护。
posted @ 2022-12-13 14:14 我是cdt 阅读(4) 评论(0) 推荐(0) 编辑
com 滑动定位
摘要:this.selfList_mc=this.getChild("selfList_mc").asCom; 记录位置: GlobalData_yinbiaoxuexi.scence1_y= this.selfList_mc._scrollPane.scrollingPosY; 赋值位置: this.s 阅读全文
posted @ 2022-12-12 13:37 我是cdt 阅读(15) 评论(0) 推荐(0) 编辑