Commit c5a01b98 authored by Edwise's avatar Edwise 🍷

2222

parent c0564122
......@@ -1146,14 +1146,16 @@ Page({
//stage初始化
let addy = 50;
let step = this.data.step;
var con = stage.addChild(new FYGE.Container())
con.y=stage.viewRect.y;
stage.addEventListener(FYGE.Event.INIT_STAGE, () => {
SvgaParser.loadSvga(
paple1,
(v) => {
var mv = stage.addChild(new FYGE.MovieClip(v));
var mv = con.addChild(new FYGE.MovieClip(v));
mv.x = 383;
// mv.y = 390;
mv.y = 465;
mv.y = 395;
// console.log("svgmv", mv)
paples[0] = mv;
mv.gotoAndStop(1);
......@@ -1168,10 +1170,10 @@ Page({
SvgaParser.loadSvga(
paple2,
(v) => {
var mv = stage.addChild(new FYGE.MovieClip(v));
var mv = con.addChild(new FYGE.MovieClip(v));
mv.x = 83;
// mv.y = 420;
mv.y = 495;
mv.y = 425;
// console.log("svgmv", mv);
paples[1] = mv;
mv.gotoAndStop(1);
......@@ -1188,10 +1190,10 @@ Page({
SvgaParser.loadSvga(
paple3,
(v) => {
var mv = stage.addChild(new FYGE.MovieClip(v));
var mv = con.addChild(new FYGE.MovieClip(v));
mv.x = 232;
// mv.y = 510;
mv.y = 585;
mv.y = 515;
// console.log("svgmv", mv)
paples[2] = mv;
mv.gotoAndStop(1);
......@@ -1208,10 +1210,10 @@ Page({
SvgaParser.loadSvga(
paple4,
(v) => {
var mv = stage.addChild(new FYGE.MovieClip(v));
var mv = con.addChild(new FYGE.MovieClip(v));
mv.x = 420;
// mv.y = 560;
mv.y = 635;
mv.y = 565;
paples[3] = mv;
mv.gotoAndStop(1);
mv.addEventListener(FYGE.Event.END_FRAME, () => {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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