大约有 30 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
...ight:Number; private var _oldY:Number; private function onMuseHandler(type:Event,index:int):void { trace("type:" + type.type + "ddd--" + _list.scrollBar.value + "---index:" + index); var curX:Number,curY:Number; ...
来源: Laya_社区 发布时间: 20171204
...se.linearIn) } } timeline.play(0, true); timeline.on(Event.COMPLETE, this, function () { count++; if (count === 2) { timeline.destroy(); count = 0; } });为什么在结束的时候,会报下面的错误呢? 附件 : --> 2017-04-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20170405
...悬浮提示框 private var _tip:TipManager;//实例化TipManager public function ToolTipDemo() { Laya.init(Browser.width,Browser.height); Laya.stage.bgColor="#eeffcc"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { this....
来源: Laya_社区 发布时间: 20161115
关于打包App后Texture.getPixels此方法不能使用 public function getPixels(x:Number, y:Number, width:Number, height:Number):Array { if (Render.isWebGL) { return RunDriver.getTexturePixels(this, x, y, width, height); } else { Browser.canvas.size(width, height)...
来源: Laya_社区 发布时间: 20171030
...了你的代码后,现在显示正常了。 __proto.parseImgForBuffer = function(url,data){ var _this = this; var image; var onload = function () { // image.onload = null; // image.onerror = null; // var data = Laya.Texture2D._parse(image); // data._url = "sdfasf" // _this.onLoaded(data); img=HTML...
来源: Laya_社区 发布时间: 20210809
...了drawToCanvas方法的么?一调用就会提示gl.readPixels is not a function。如果不能用的话,有没有其它替代方案? 加载好了模型 怎么才能像2D一样 能用鼠标拖动模型 问题状态 最新活动: 2018-01-30 10:17 浏览: 742 关注: 2 人
来源: Laya_社区 发布时间: 20180130
... page2._list.renderHandler = new Handler(this, onRender); function onRender(cell,index){ //如果索引不再可索引范围,则终止该函数 if(index > json.length)return; //获取当前渲染条目的...
来源: Laya_社区 发布时间: 20180717
...e addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Function):void 清理定时器。功能同Lay...
来源: laya_api 发布时间: 20170929
...e addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Function):void 清理定时器。功能同Lay...
来源: laya_api 发布时间: 20170929
...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.time...
来源: Laya2.0_api 发布时间: 20190513