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

大约有 1,442 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0082 秒)

1231. 使用UrlLoader加载图片,flash获取data为byteArray,翻译成h5后data为image? [ 55%]

...:URLLoader; private var l:Loader; public function UrlImage() { super(); if(stage) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { urlLoader=new URLLoader(); urlLoader.dataFormat=URLLoaderDataFormat.BINARY; urlLoader.addEventListener...

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

1232. laya.ui.OpenDataContextView_API3.0 [ 55%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters fps globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene ...

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

1233. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 55%]

...rite = new Laya.Sprite(); a.graphics.drawCircle(0, 0, 50, "#ff0000"); Laya.stage.addChild(a); a.size(100, 100); a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThroug...

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

1234. laya.ui.LayoutBox_API3.0 [ 55%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

1235. 微信小游戏声音,使用playsound播放音效问题 [ 55%]

...同来自: 不会啊!我测试了一下并没有你说的问题! this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void          {             Laya.SoundManager.playSound("res/sound/onClick.wav");         } 你看看是不是你的代码逻辑有问题那? ...

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

1236. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...rX = 0; // 设置图片居中显示 // 将图片添加到舞台显示 Laya.stage.addChild(img); } else { console.log("收到数据:", message); } } private onConnectError(): void { console.log("Connection Error"); } } 运行效果如图3-1所示。 (图3-1) 3.3 基于Laya.Byte二进制通信 3.3.1 T...

来源: Laya3.0_文档 发布时间: 20250214

1237. laya.ui.TipManager_API3.0 [ 55%]

...defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

1238. 请问object层中添加的sprite怎么添加点击事件 [ 55%]

...aya_Aaron 赞同来自: 按格子区域来选择触发哪个事件,点击stage 然后看坐标对应哪个格子,然后再进行操作 2018-07-23 0 3 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 正常点地图可能是没效果的,加在容器中,stage中比较方便,你的项目...

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

1239. laya.ui.ViewStack_API3.0 [ 55%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scen...

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

1240. laya.particle.Particle2D_API3.0 [ 55%]

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

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