Commit 7e745786 authored by wjf's avatar wjf

L

parent ca2be986
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="RedBombTipsSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Group id="con1"/>
<e:Image id="rulebtn" source="redbagtips活动规则_png" y="814" horizontalCenter="0"/>
<e:Image source="redbagtips_elexx_png" x="210" y="50"/>
<e:Group id="btn" y="693.31" horizontalCenter="0">
<e:Image id="rulebtn" source="redbagtips活动规则_png" y="1004" horizontalCenter="0"/>
<e:Image source="redbagtips_elexx_png" x="210" y="50" visible="false"/>
<e:Group id="btn" y="883.31" horizontalCenter="0">
<e:Image source="redbagtips按钮_png" y="0" x="0"/>
<e:Label text="开启作战" verticalCenter="-3.5" horizontalCenter="0" size="38" strokeColor="0x0389ff" stroke="2" fontFamily="FZY3JW"/>
</e:Group>
......
......@@ -15,27 +15,27 @@ export default class BombTips2Panel extends Panel {
this.showlog();
loadSvga(getResPath() + 'resource/assets/svgas/redBombTip.svga').then(
(mv: egret.DisplayObject) => {
mv.y = -190;
// mv.y = -190;
this['con1'].addChild(mv);
this.mv = mv;
mv.addEventListener(egret.Event.COMPLETE, () => {
// @ts-ignore
mv.gotoAndPlay(45, true);
mv.gotoAndPlay(120, true);
}, this);
}
);
loadSvga(getResPath() + 'resource/assets/svgas/redBombTip2.svga').then(
(mv: egret.DisplayObject) => {
mv.y = 0;
this['con1'].addChild(mv);
this.mv = mv;
mv.addEventListener(egret.Event.COMPLETE, () => {
// @ts-ignore
mv.gotoAndPlay(45, true);
}, this);
}
);
// loadSvga(getResPath() + 'resource/assets/svgas/redBombTip2.svga').then(
// (mv: egret.DisplayObject) => {
// mv.y = 0;
// this['con1'].addChild(mv);
// this.mv = mv;
// mv.addEventListener(egret.Event.COMPLETE, () => {
// // @ts-ignore
// mv.gotoAndPlay(45, true);
// }, this);
// }
// );
this.touchChildren = this.touchEnabled = false;
await RES.getResAsync('effect1_json');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment