• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)

761. 关于当前焦点的问题 [ 71%]

...,200); Laya.stage.addChild(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

762. laya air AS3 自定义事件派发与监听 [ 71%]

...: 1217 关注: 2 人 Zorana • 2018-07-26 11:28 我知道了 我的this.eventEvent 不小心大写了 谢谢~

来源: Laya_社区 发布时间: 20180726

763. 请问键盘事件对方向键没有起作用,是怎么回事? [ 71%]

...键盘事件对方向键没有起作用,是怎么回事? Laya.stage.on(Event.KEY_PRESS,this,keypressHandler); private function keypressHandler(evt:Event):void { trace("键盘事件=keyCode="+evt.keyCode); } 键盘字母区和数字区有输出,上下左右方向键没有,是什么情况? 2...

来源: Laya_社区 发布时间: 20180305

764. 资源加载问题 [ 71%]

...re.js:13173)     at LayaGame.<anonymous> (LayaGame.ts:60)     at EventHandler.__proto.runWith (laya.core.js:724)     at ResInfo.__proto.event (laya.core.js:494)     at LoaderManager.__proto._endLoad (laya.core.js:13377)     at Loader.onLoaded (laya.core.js:13353)     at EventHandle...

来源: Laya_社区 发布时间: 20190129

765. laya.d3.component.Animator [ 71%]

...ll Classes | Index | Frames No Frames AnimatorProperties | Methods | Events Packagelaya.d3.componentClasspublic class AnimatorInheritanceAnimator Component3D EventDispatcher ObjectImplements laya.resource.IDestroy Animator 类用于创建动画组件。 Public Properties Hide Inherited Public...

来源: laya_api 发布时间: 20170929

766. [LayaAirIDE3]Panel会使HSlider的拖拽结束检测事件失效 [ 71%]

...n);         if (sliderButton) {             sliderButton.on(Laya.Event.MOUSE_UP, this, () => {                  console.log("滑块按钮拖拽结束");             });         } HSlider是Panel的子物体,会导致这个事件失效,当HSlider拿出Panel的时...

来源: Laya_社区 发布时间: 20250710

767. laya.d3.core.material.Material_API3.0 [ 71%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

来源: Laya3.0_api 发布时间: 20231115

768. 如何监测进入了静默模式?又如何知道唤醒了呢? [ 71%]

... Monica - 知识达人 赞同来自: 浏览器是否失去焦点,监听Event.BLUR和Event.FOCUS即可 不想让timer关闭的话可以看下js原生的settimeout 2017-07-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复...

来源: Laya_社区 发布时间: 20170713

769. 滤镜问题,有复现demo [ 71%]

...(0, 0, btn.width, btn.height, "#ff00ff"); Laya.stage.addChild(btn); btn.on(Event.MOUSE_DOWN, this, function():void { btn.filters = [new GlowFilter("#ff0f0f")]; } ); btn.on(Event.MOUSE_UP, this, function():void { btn.filters = null; } ); 附件 : --> myLaya_demo1.zip 2018-12-21 添加评论 免费帖...

来源: Laya_社区 发布时间: 20181221

770. Cannot read property 'displayObject' of null [ 71%]

...TypeError: Cannot read property 'props' of undefined Cannot read property 'events' of undefined 发布微信小游戏,报错Cannot read property 'events' of undefined 实例碰撞体报错,Cannot read property 'btSphereShape' of undefined 添加组件PhysicsCollider 时报 Cannot read property '...

来源: Laya_社区 发布时间: 20180716