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

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

491. dialog 遮挡 [ 56%]

...",300,300); createDialog("444",400,400); createDialog("555",500,500); Laya.stage.on(Event.CLICK,this,onClick); } private function onClick():void { alert(Dialog.manager.numChildren+"");//manager是DialogManager的实例,创建多少个dialog,manager下就有多少的子对象 var dia:Dialog=Dialo...

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

492. 使用全局动作createFrames命名的动作不能播放。 [ 56%]

...*8         body.y=48*3         body.interval=100;         Laya.stage.addChild(body);         body.play(0,true,"RUN")         body.visible=true 附件 : --> TestAnimation.zip 2016-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

493. TypeError: this._childs is null [ 56%]

TypeError: this._childs is null 用了Laya.stage.destroyChildren();之后出错 TypeError: this._childs is null 看不懂啊! 救命啊!!!!!!   还有火狐提示 HTTP "Content-Type" 中的 "text/html" 不支持。媒体资源加载失败。 无法播放媒体。没有相应格式的...

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

494. laya.display.Sprite [ 56%]

...prite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprit...

来源: Laya2.0_api 发布时间: 20190513

495. laya.ui.Radio_API3.0 [ 56%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea iconOffset is3D label labelAlign labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeCol...

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

496. laya.physics.PhysicsDebugDraw_API3.0 [ 56%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

497. sprite添加texture后,sprite无法触发点击事件? [ 56%]

...is.item.graphics.drawTexture(Laya.loader.getRes(IMG_RES[this.name])); Laya.stage.addChild(this.item);  this.item.on(Laya.Event.CLICK, this, () => { this.item.destroy(); }); 2017-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

498. laya.html.dom.HTMLIframeElement_API3.0 [ 56%]

...xtWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrol...

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

499. 鼠标滚轮滚动事件 [ 56%]

... ssmc 赞同来自: MAR 、1594697013用户 自己回答,以遍查找 Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseRoll); } // 鼠标滚动 private mouseRoll(e: Laya.Event): void { let value: number = e.delta; if (value > 0) {//滚轮滑动增量大于0,向上滚动 } else {//滚轮滑...

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

500. 用JS原生态window.location.href跳转 [ 56%]

... sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FFFF00"); Laya.stage.addChild(sp); sp.size(1000,100); sp.on(Event.CLICK,this,onClick); } private function onClick():void { Browser.window.location.href="https://www.baidu.com"; } 2016-12-15 0 0 分享 微博 QZONE 微信 为什么被折叠?...

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