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

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

1751. Laya.HttpRequest 没有调用回调方法? [ 77%]

...; xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); console.log("11...

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

1752. TextInput 监听事件 Laya.Event.INPUT 事件在IOS 环境下没动作 [ 77%]

...嗎 2022-02-22 0 0 分享 微博 QZONE 微信 之肖 赞同来自: 试试this.vertify1.on(Laya.Event.CLICK,this,this._onInputVerify,[1) 2022-02-22 0 1 分享 微博 QZONE 微信 凱文 赞同来自: 幫推個幫推個 2022-03-01 0 0 分享 微博 QZONE 微信 Laya_Yan 赞同来自: 提供示例看...

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

1753. list 滚动条设置显示异常 不会缩放 [ 77%]

...随着上下滑动 而跟着滑动 设置为完代码之后效果不好使 this.rootSceneView.PropList.vScrollBarSkin = "uires/Doudizhuicon/icon_gundongniu.png" this.rootSceneView.PropList.scrollBar.autoHide = true this.rootSceneView.PropList.scrollBar.scaleBar = true 效果图如附件:滚动条...

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

1754. Laya.Event.CLICK,第二次无法出发click事件 [ 77%]

...Event.CLICK,第二次无法出发click事件 xxx.on(Laya.Event.CLICK, xxx, this.RecordA);这个放在第一次执行for循环里,第一次for循环时,click是可以进this.RecordA这个函数里,在第二次执行for循环,点击click就不能进this.RecordA这个函数里 2018-04-10 添加...

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

1755. 怎么设置了label的text属性,没有生效啊? [ 77%]

...-09-11 0 0 分享 微博 QZONE 微信 youxin 赞同来自:         this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text: "Hello LayaAir"}};                  this.TestLablel.text = "测试测试"; 官网提供...

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

1756. 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function [ 77%]

...ture1= new Laya.Texture(); Texture1.load("res/1.png",Laya.Handler.create(this,function(){     this.sprite.graphics.drawTexture(Texture1,0,0,50,50,null,1,"#FFFFF"); })); 2021-09-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 破...

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

1757. window 下接收不到事件,Click,EnterFrame都接受不到 [ 77%]

...: 2 人 黄进 • 2018-06-11 17:23 啥意思? Content.once(Event.CLICK,this,OnMouseDown); Content.once(Event.MOUSE_OUT,this,OnMouseDown); Laya.stage.once(Event.FRAME,this,onEnterFrame); 这样事件都监听不到? Laya_Aaron • 2018-06-11 17:52 你描述的我也不懂是什么意思,只能...

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

1758. [LayaAir3]右键up删除不了监听 [ 77%]

...并回收事件的;需要再添加下面代码所示的右键Up监听: this.owner.on(Laya.Event.RIGHT_MOUSE_UP, this, this.onRightMouseUp); 2025-02-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 仓颉 相关问题 TextInput重写...

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

1759. 请问list如何判断已经拉到底部了 [ 77%]

...st.scrollBar.value 目前没什么问题 188*****501 • 2018-07-14 14:12 (this.card_List.scrollPane.posY + this.card_List.height) >= this.card_List.scrollPane.contentHeight 我用的这个判断

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

1760. Dialog关闭时如何向open他的页面传值? [ 77%]

...是哪个按钮,抛出具体的事件并监听。 myClose.on(Event.CLICK,this,onClicks); myYes.on(Event.CLICK,this,onClicks); myNo.on(Event.CLICK,this,onClicks) } private function onClicks(e:Event):void { // TODO Auto Generated method stub if(e.target.name=="close") { open页面.event(CLOSE, [para...

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