大约有 272 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0049 秒)
...函数的api~ 构造函数不能进断点 执行回调函数时报is not a function 关于customRender函数不执行的问题 引擎有没有管理或访问系统剪贴板的方法函数 load 加载完图集 回调函数可以传形参吗? 如何定义动画播放过某帧后的回调函数 注...
来源: Laya_社区 发布时间: 20171005
... 3、宏编译示例代码 3.1 LayaFlash单行宏编译写法private function byteArrayReadIntTest():void { var byteArray:ByteArray = new ByteArray(); byteArray.writeInt(100); byteArray.position = 0; var value:int; /*[IF-FLASH]*/value = byteArray.readUnsignedInt(); //[IF-SCRIPT]value = byteArray...
来源: Laya_社区 发布时间: 20151106
...huriKenParticle3D._cloneTo (http://222222.com/libs/laya.d3.js:24966:34) at Function._parseSprite3DInstance (http://222222.com/libs/laya.d3.js:6954:20) at Function._parseSprite3DInstance (http://2222.com/libs/laya.d3.js:6953:23) at Function._parseSprite3DInstance (http://22 2021-12-01 17:08:49.363 11...
来源: Laya_社区 发布时间: 20211211
...rt laya.ui.Label; import laya.webgl.WebGL; public class DemoLabel { public function DemoLabel() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; //---------------------------------这是用我自己写的label继承了官方的label,问题是label显示不出来,但是也无报错--...
来源: Laya_社区 发布时间: 20170516
...研发商 TypeError: this._emitter.advanceTime is not a function http://192.168.1.240:8900/bin/ ... :831: TypeError: this._emitter.advanceTime is not a function this._emitter && this._emitter.advanceTime(t) ...
来源: Laya_社区 发布时间: 20180511
...rt laya.utils.Handler; public class Loader_ProgressAndErrorHandle { public function Loader_ProgressAndErrorHandle() { Laya.init(550, 400); // 无加载失败重试 Laya.loader.retryNum = 0; var urls:Array = ["do not exist", "../../res/fighter/fighter.png", "../../res/legend/map.jpg"]; Laya.loader.lo...
来源: Laya2.0_示例 发布时间: 20250221
...吗? 上下文: /** * @private * 分析文本换行。 */ protected function parseLines(text:String):void { //自动换行和HIDDEN都需要计算换行位置或截断位置 var needWordWrapOrTruncate:Boolean = wordWrap || this.overflow == HIDDEN; if (needWordWrapOrTruncate) { var wordWrapWidt...
来源: Laya_社区 发布时间: 20190213
...isplay.Text; public class LayaAirTest { public function LayaAirTest() { Laya.init(600, 300); var txt:Text = new Text(); txt.text = "abc"+Laya.timer.currTimer; txt.color ...
来源: Laya_社区 发布时间: 20170429
...e:Skeleton; private var index:int;//帧频 private var time:Number; public function DragonDemo() { Laya.init(800,600,WebGL); index=15; mFactory=new Templet(); mFactory.on(Event.COMPLETE,this,omTemLoaded); mFactory.loadAni('NewDragon/NewDragon.sk'); } private function omTemLoaded():void { mArmature=m...
来源: Laya_社区 发布时间: 20170509
...均可以设置一个回调 Laya.LoaderManager.prototype["_loadAssets"] = function (arr, complete, progress, type, priority, cache, group) { (priority === void 0) && (priority = 1); (cache === void 0) && (cache = true); var itemCount = arr.length; var loadedCount = 0; var totalSize =...
来源: Laya_社区 发布时间: 20171226