大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0050 秒)
...stRender(e:MouseEvent,index:int):void { // TODO Auto Generated method stub if(e.type==MouseEvent.CLICK) { if(index==2) { trace("okla") } } } } } 2015-12-24 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 haliluya 相关问题 分享:自...
来源: Laya_社区 发布时间: 20151224
....events.Event; public class Main extends Sprite { public function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(event:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺...
来源: Laya_社区 发布时间: 20151218
...ModuleJs(moduleName);//已经加载过,通过Url获取具体脚本代码 if (moduleJs) { __JS__("var script = document.createElement('script');") __JS__(" script.type = 'text/javascript';") __JS__(" script.text = moduleJs;") __JS__(" document.body.appendChild(scr...
来源: Laya_社区 发布时间: 20161020
...sBar); Laya.timer.loop(300, this, changeValue); } function changeValue() { if (progressBar.value >= 1){ progressBar.value = 0; Laya.stage.removeSelf(); //将登录页面从内存销毁 // Laya.stage.destroy(); Laya.stage.addChild(new gamelistUI()); } progressBar.value += 0.05; // this.removeSelf(...
来源: Laya_社区 发布时间: 20171230
...LICK,this,onMouse,['btn'+i]) } public function onMouse(aa):void { if(aa=='btn001') { } else if(aa=='btn002') { } } 2017-04-25 1 2 分享 微博 QZONE 微信 189*****192 赞同来自: 已接近!! 2017-04-25 0 4 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20170425
...eo; var m3u8url = "https://xxxx.m3u8"; var hlsxx; var HLS = window["Hls"]; if (HLS && HLS.isSupported()) { var hls = new HLS({ debug: false, }); hls.loadSource(m3u8url); hls.attachMedia(video); hls.on(HLS.Events.MEDIA_ATTACHED, () => { video.muted = true; this.playVideo(); }); hls.on(HLS....
来源: Laya_社区 发布时间: 20250908
...c var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii"; } 2018-01-15 0 0 分享 微博 QZONE 微信 liwenhua 赞同来自: this.linkJso...
来源: Laya_社区 发布时间: 20180115
... is not a function TypeError: this.bitmap.activeResource is not a function if (bitmap&&bitmap._addReference){ bitmap._addReference(); } 这个代码过滤已经加了,但是会报下面这个错 this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a fun...
来源: Laya_社区 发布时间: 20180403
...nction(a){ box2d.ENABLE_ASSERTS&&box2d.b2Assert(!this.IsLocked()); if(!this.IsLocked()){ var b=a.m_collideConnected; a.m_prev&&(a.m_prev.m_next=a.m_next); a.m_next&&(a.m_next.m_prev=a.m_prev); a===this.m_jointList&&(this.m_jointList=a.m_next); var c=a.m_bodyA,d=a.m_bo...
来源: Laya_社区 发布时间: 20181213
...例子切换不了卡槽的图片,附件为我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisp...
来源: Laya_社区 发布时间: 20180201