[]打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃

1.最简单的拖放,在apk里无法使用
      public function TestMain()
        {
            //舞台默认背景色是黑色的
            Laya.init(1136, 640,WebGL);
            Laya.loader.load([GameConfig.getAssetsFile("comp")],Handler.create(this, onComplet));
                
        }
        private var imag:Image;
        private function onComplet():void
        {
            imag=new Image("ui/comp/image.png");
            Laya.stage.addChild(imag);
            imag.on(Event.MOUSE_DOWN,this,onDown);
            imag.on(Event.MOUSE_UP,this,onUP);
        }
        
        private function onDown():void{
            imag.startDrag();
        }
        private function onUP():void{
            imag.stopDrag();
        }
2.color="#0"程序崩溃
 
           var _mDown:Sprite=new Sprite();
            _mTop.graphics.drawRect(0,0,1,1,"#0");
 
 
3.叠加效果 BlendMode.ADD,apk中无效
 
4.MouseManager.as 运行 时报错,“ touchemoves is undefined”
               case "touchmove": 
                    var touchemoves:Array = evt.targetTouches;
                    if(!touchemoves)break;
                    for (j = 0, n = touchemoves.length; j < n; j++) {
                        _this.initEvent(touchemoves[j], evt);
                        _this.check(_this._stage, _this.mouseX, _this.mouseY, _this.onMouseMove);
                    }
                    _this.checkMouseOut();
                    break;
 以上问题电脑浏览器中都不存在。
已邀请:

cuixueying

赞同来自:

这个问题已知,最新版本1.7.5beta或者1.7.4正式版本会修复,请关注版本更新!使用最新版本依然存在以上问题,请随时联系我们,谢谢!

要回复问题请先

商务合作
商务合作