大约有 272 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0043 秒)
...rt laya.events.Event; public class AAA { private var swf:MovieClip; public function AAA() { Laya.init(550,400); swf=new MovieClip(); swf.load("data.swf"); swf.on(Event.LOADED,this,onLoaded); Laya.stage.addChild(swf); } private function onLoaded():void { // TODO Auto Generated method stub swf.interva...
来源: Laya_社区 发布时间: 20160918
...r Unexpected token in JSON at position 27;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 27 at JSON.parse (<anonymous>) at Function.MiniAdpter.getJson (http://127.0.0.1:9973/game/code.js:20980:15) at Function.MiniLoader.onReadNativ...
来源: Laya_社区 发布时间: 20180205
... 'y' of null"的解决方案 导微信小程序报错window.focus is not a function 关于场景编辑器的,用的最新版引擎 问题状态 最新活动: 2019-08-14 16:05 浏览: 990 关注: 2 人 流浪地球Gaara • 2019-08-15 17:08 我现在没用2.1.1.1了
来源: Laya_社区 发布时间: 20190814
...ite3D.load("fff.lh")) as Sprite3D; wjqs.once(Event.HIERARCHY_LOADED, this, function():void { var aaa:ShurikenParticleSystem = wjqs.getChildAt(0).getChildAt(0).particleSystem; aaa.on(Event.COMPLETE, this, function() { trace("COMPLETE callback!!"); }); }); 2017-05-15 0 1 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20170512
怎么使用http请求 httpRequest: function (url, data) { var xhr = cc.loader.getXMLHttpRequest(); if (!xhr.onreadystatechange) { xhr.onreadystatechange = function () { if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 207)) { //cc.log("response:\n" + xhr.respons...
来源: Laya_社区 发布时间: 20180807
...hat your app or its metadata enables the purchase of content, services, or functionality in the app by means other than the in-app purchase API, which is not appropriate for the App Store. Next Steps While the payment system that you have included may conduct the transaction outside of the app, if t...
来源: Laya_社区 发布时间: 20180414
... */ public static var parseXMLFromString:Function = function(value:String):XmlDom { var rst:*; value = value.replace(/>\s+</g, '><'); __JS__("rst=(new DOMParser()).parseFromString(val...
来源: Laya_社区 发布时间: 20180126
...完成一遍后有没事件或者回调 执行回调函数时报is not a function 问题状态 最新活动: 2018-03-21 10:33 浏览: 811 关注: 2 人 jinfawu • 2018-03-21 10:50 我的代码是这样写的: Laya.loader.create("scenes/LayaScene_yueren/yueren.ls", Laya.Handler.create(th...
来源: Laya_社区 发布时间: 20180321
... = Laya.WebAudioSoundChannel.prototype; /** *播放声音 */ _proto.play = function () { // if (this.url.indexOf("music.d") != -1) { // console.log("play", this.url) // console.trace("play", this.url) // } Laya.SoundManager.addChannel(this); this.isStopped = false; this._clearBufferSource(); if (!th...
来源: Laya_社区 发布时间: 20201014
...持的标签</SCRIPT> 导微信小程序报错window.focus is not a function Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 问题状态 最新活动: 2017-10-10 11:04 浏览: 3912 关注: 4 人 沧海一粟 • 2017-09-18 16:35 错误解决了,但是出现了好...
来源: Laya_社区 发布时间: 20160419