大约有 1,232 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(702) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(75) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
...it(800,800); Laya.loader.load('logo.png',Handler.create(this,onLoaded)); } private function onLoaded():void { var texture:Texture=Loader.getRes('logo.png'); var sp:Sprite=new Sprite(); sp.graphics.clear();//把上次的绘制清除 sp.graphics.drawTexture(texture); Laya.stage.addChild(sp); } 2017-05...
来源: Laya_社区 发布时间: 20170505
...ay not be using this functionality currently, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method_exch...
来源: Laya_社区 发布时间: 20171221
...nDragMove); aaa.startDrag(new Rectangle(0, 0, 100, 100), true, 0, 200); private function onDragMove(e:Event = null):void { // 正常移动时, bbb 会和 aaa 坐标一至, 释放鼠标后也正常, 但 // BUG 出现在鼠标释放后 当aaa 进入到回弹阶段时, Event.DRAG_MOVE 并不会被...
来源: Laya_社区 发布时间: 20180530
...textInput); textInput.name = "aa"; textInput.on(Event.FOCUS,this,onFoucs); private function onFoucs(e:Event):void { trace(e); } 2017-10-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 15952728807 相关问题 发起问题须知,必...
来源: Laya_社区 发布时间: 20171026
...什么都是null 的export default class startScene extends Laya.Scene { private sp: Sprite; public constructor() { super(); console.log("startScene"); console.log(Laya.stage.name); console.log(Laya.stage.numChildren); console.log(this.numChildren); console.log(this.parent); console.log(this.name); ...
来源: Laya_社区 发布时间: 20190904
...,是怎么回事? Laya.stage.on(Event.KEY_PRESS,this,keypressHandler); private function keypressHandler(evt:Event):void { trace("键盘事件=keyCode="+evt.keyCode); } 键盘字母区和数字区有输出,上下左右方向键没有,是什么情况? 2018-03-05 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20180305
创建对象时使用wx报错 代码如下 private var wxLaya:* = wx; 编译后提示如下 wx This variable is not defined 2018-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: zmhwa...
来源: Laya_社区 发布时间: 20180608
...this.changeInput.on(Laya.Event.FOCUS,this.changeInput,this.onChangeInput); private onChangeInput(params:any){ alert(this.changeInput.text); } 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying ...
来源: Laya_社区 发布时间: 20170307
...调用MD5加密? AS语言怎么调用MD5加密?还有正则判断? private static function RegExpFunc(reg:RegExp,str:String):Boolean { var p:RegExp=reg; return p.test(str) ; } 2017-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170309
...cript { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目标的水平距离参数 public smooth: number = 2;//位置平滑移动插值...
来源: Laya3.0_文档 发布时间: 20251010