大约有 61 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0033 秒)
...nds Image { //缩放时间100毫秒 public var scaleTime:int = 100; public function ImageRunTime() { //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Event.MOUSE_DOWN,this,scaleSmall); //添加鼠标抬起事件侦听...
来源: Laya2.0_文档 发布时间: 20210714
...reRes("hall/bg.jpg"); */ public static function clearTextureRes(url:String):void { 2018-04-25 0 0 分享 微博 QZONE 微信 w1114367261 赞同来自: 你是针对Texture清理的吗? 2018-04-25 0 3 分享 微博 QZONE 微信 w1114367261 赞同来自: 直接调...
来源: Laya_社区 发布时间: 20180425
....webAudioEnabled) { WebAudioSound.ctx.close().then(function () { const AudioContext = window.AudioContext || window.webkitAudioContext || window.mozAudioContext; const newCtx = new...
来源: Laya_社区 发布时间: 20180425
...s.Event; import login.LoginView; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMod...
来源: Laya_社区 发布时间: 20151103
...file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:11112:9) at Function.Loader.checkNext (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:11141:41) at Loader.__proto.complete (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:11101:34) at Loader.__proto.onLoad...
来源: Laya_社区 发布时间: 20170124
...port laya.ui.Image; import laya.webgl.WebGL; public class TTFTest { public function TTFTest() { Laya.init(550,400); var sp:Image=new Image(); sp.loadImage("2.png"); Laya.stage.addChild(sp); var text:Text=new Text(); text.fontSize=40; text.color="#FF00FF"; text.text="哈哈哈哈哈哈哈哈哈哈哈...
来源: Laya_社区 发布时间: 20160514
...env env, jsvm_value exp) { //注册新的函数 jsvm_value fn; jsvm_create_function(env, "testAdd", SIZE_MAX, jsAdd, nullptr, &fn); jsvm_set_named_property(env, exp, "nativeAdd", fn); jsvm_value fn1; jsvm_create_function(env, "testStr", SIZE_MAX, jsStr, nullptr, &fn1); jsvm_set_named_propert...
来源: Laya3.0_文档 发布时间: 20251010
...equire("./matter.js");之后 又出现个 TypeError: window.focus is not a function 2018-05-11 0 0 分享 微博 QZONE 微信 吉日-jerry 赞同来自: @layabox 请问测试了么?有好的解决方案么? 2018-05-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该...
来源: Laya_社区 发布时间: 20180508
...体转不转... 然后... Uncaught TypeError: primitive.beginFill is not a function PS: 今日客服的姐姐貌似生理期... 让我自己调原生的matter.... 敢问调好了原生你的东西就一定能过吗? 好吧 既然这样我就联调咯... 然后就报错咯.... 反正这种我问...
来源: Laya_社区 发布时间: 20170704
...这样的,先贴一下SkinMesh里相关方法: public function render(context:*, x:Number, y:Number):void { if (Render.isWebGL && mTexture) { context._renderKey = 0; context._shader2D....
来源: Laya_社区 发布时间: 20190628