|
@@ -0,0 +1,742 @@
|
|
|
|
+(function (cjs, an) {
|
|
|
|
+
|
|
|
|
+var p; // shortcut to reference prototypes
|
|
|
|
+var lib={};var ss={};var img={};
|
|
|
|
+lib.ssMetadata = [
|
|
|
|
+ {name:"assets_atlas_P_", frames: [[0,0,625,443],[0,445,563,455]]},
|
|
|
|
+ {name:"assets_atlas_P_2", frames: [[0,0,635,382],[0,778,371,144],[637,0,353,269],[0,384,614,392],[616,384,368,505]]},
|
|
|
|
+ {name:"assets_atlas_P_3", frames: [[439,0,203,139],[777,252,180,59],[777,191,180,59],[644,0,202,129],[250,0,187,159],[553,141,86,75],[115,257,97,42],[0,209,113,49],[250,161,103,118],[115,209,108,46],[848,0,123,189],[644,131,131,156],[439,141,112,139],[0,0,248,207]]}
|
|
|
|
+];
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+// symbols:
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.ball1 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(0);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.blackboard = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_2"];
|
|
|
|
+ this.gotoAndStop(0);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.bowl = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_"];
|
|
|
|
+ this.gotoAndStop(0);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.btn1 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(1);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.btn2 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(2);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.game_bg = function() {
|
|
|
|
+ this.initialize(img.game_bg);
|
|
|
|
+}).prototype = p = new cjs.Bitmap();
|
|
|
|
+p.nominalBounds = new cjs.Rectangle(0,0,640,1040);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon1 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(3);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon1_1 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(4);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon2 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(5);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon2_1 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(6);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon3 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_2"];
|
|
|
|
+ this.gotoAndStop(1);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon3_1 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(7);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon4 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(8);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon4_1 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(9);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.material1 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(10);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.material2 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(11);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.material3 = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(12);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.menu_hsr = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_2"];
|
|
|
|
+ this.gotoAndStop(2);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.plate = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_"];
|
|
|
|
+ this.gotoAndStop(1);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.pot = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_2"];
|
|
|
|
+ this.gotoAndStop(3);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.pro = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_3"];
|
|
|
|
+ this.gotoAndStop(13);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.smoke = function() {
|
|
|
|
+ this.spriteSheet = ss["assets_atlas_P_2"];
|
|
|
|
+ this.gotoAndStop(4);
|
|
|
|
+}).prototype = p = new cjs.Sprite();
|
|
|
|
+// helper functions:
|
|
|
|
+
|
|
|
|
+function mc_symbol_clone() {
|
|
|
|
+ var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop));
|
|
|
|
+ clone.gotoAndStop(this.currentFrame);
|
|
|
|
+ clone.paused = this.paused;
|
|
|
|
+ clone.framerate = this.framerate;
|
|
|
|
+ return clone;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) {
|
|
|
|
+ var prototype = cjs.extend(symbol, cjs.MovieClip);
|
|
|
|
+ prototype.clone = mc_symbol_clone;
|
|
|
|
+ prototype.nominalBounds = nominalBounds;
|
|
|
|
+ prototype.frameBounds = frameBounds;
|
|
|
|
+ return prototype;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.smoke_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.smoke();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.smoke_1, new cjs.Rectangle(0,0,368,505), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.pro_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层_1
|
|
|
|
+ this.instance = new lib.pro();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.pro_1, new cjs.Rectangle(0,0,248,207), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.material3_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.material3();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.material3_1, new cjs.Rectangle(0,0,112,139), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.material2_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.material2();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.material2_1, new cjs.Rectangle(0,0,131,156), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.material1_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.material1();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.material1_1, new cjs.Rectangle(0,0,123,189), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon4_1_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.hsr_icon4_1();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.hsr_icon4_1_1, new cjs.Rectangle(0,0,108,46), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon3_1_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.hsr_icon3_1();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.hsr_icon3_1_1, new cjs.Rectangle(0,0,113,49), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon2_1_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.hsr_icon2_1();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.hsr_icon2_1_1, new cjs.Rectangle(0,0,97,42), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon1_1_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.hsr_icon1_1();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.hsr_icon1_1_1, new cjs.Rectangle(0,0,187,159), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.btn2_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层_1
|
|
|
|
+ this.instance = new lib.btn2();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.btn2_1, new cjs.Rectangle(0,0,180,59), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.btn1_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层_1
|
|
|
|
+ this.instance = new lib.btn1();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.btn1_1, new cjs.Rectangle(0,0,180,59), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.bowl_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.bowl();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.bowl_1, new cjs.Rectangle(0,0,625,443), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.bg = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.game_bg();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.bg, new cjs.Rectangle(0,0,640,1040), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.ball1_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.ball1();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.ball1_1, new cjs.Rectangle(0,0,203,139), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.menu_hsr_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // 图层_3 (mask)
|
|
|
|
+ var mask = new cjs.Shape();
|
|
|
|
+ mask._off = true;
|
|
|
|
+ mask.graphics.p("EgbzAmmMAAAhNLMA3nAAAMAAABNLg");
|
|
|
|
+ mask.setTransform(170.1,-68);
|
|
|
|
+
|
|
|
|
+ // smoke
|
|
|
|
+ this.smoke = new lib.smoke_1();
|
|
|
|
+ this.smoke.name = "smoke";
|
|
|
|
+ this.smoke.parent = this;
|
|
|
|
+ this.smoke.setTransform(171.1,450,1,1,0,0,0,184,252.5);
|
|
|
|
+
|
|
|
|
+ var maskedShapeInstanceList = [this.smoke];
|
|
|
|
+
|
|
|
|
+ for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
|
|
|
|
+ maskedShapeInstanceList[shapedInstanceItr].mask = mask;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.smoke).to({y:-340.9,alpha:0},36).wait(1));
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.menu_hsr();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(37));
|
|
|
|
+
|
|
|
|
+}).prototype = p = new cjs.MovieClip();
|
|
|
|
+p.nominalBounds = new cjs.Rectangle(0,0,353,269);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon4_2 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // timeline functions:
|
|
|
|
+ this.frame_0 = function() {
|
|
|
|
+ this.stop();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // actions tween:
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2));
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.hsr_icon4();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.instance_1 = new lib.hsr_icon4_1_1();
|
|
|
|
+ this.instance_1.parent = this;
|
|
|
|
+ this.instance_1.setTransform(54,71,1,1,0,0,0,54,23);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = p = new cjs.MovieClip();
|
|
|
|
+p.nominalBounds = new cjs.Rectangle(0,0,103,118);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon3_2 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // timeline functions:
|
|
|
|
+ this.frame_0 = function() {
|
|
|
|
+ this.stop();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // actions tween:
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2));
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.hsr_icon3();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.instance_1 = new lib.hsr_icon3_1_1();
|
|
|
|
+ this.instance_1.parent = this;
|
|
|
|
+ this.instance_1.setTransform(198.5,57.5,1,1,0,0,0,56.5,24.5);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = p = new cjs.MovieClip();
|
|
|
|
+p.nominalBounds = new cjs.Rectangle(0,0,371,144);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon2_2 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // timeline functions:
|
|
|
|
+ this.frame_0 = function() {
|
|
|
|
+ this.stop();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // actions tween:
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2));
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.hsr_icon2();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.instance_1 = new lib.hsr_icon2_1_1();
|
|
|
|
+ this.instance_1.parent = this;
|
|
|
|
+ this.instance_1.setTransform(29.5,40,1,1,0,0,0,48.5,21);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = p = new cjs.MovieClip();
|
|
|
|
+p.nominalBounds = new cjs.Rectangle(0,0,86,75);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.hsr_icon1_2 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // timeline functions:
|
|
|
|
+ this.frame_0 = function() {
|
|
|
|
+ this.stop();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // actions tween:
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2));
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.hsr_icon1();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.instance_1 = new lib.hsr_icon1_1_1();
|
|
|
|
+ this.instance_1.parent = this;
|
|
|
|
+ this.instance_1.setTransform(93.5,79.5,1,1,0,0,0,93.5,79.5);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = p = new cjs.MovieClip();
|
|
|
|
+p.nominalBounds = new cjs.Rectangle(0,0,202,129);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.blackboard_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // material3
|
|
|
|
+ this.material3 = new lib.material3_1();
|
|
|
|
+ this.material3.name = "material3";
|
|
|
|
+ this.material3.parent = this;
|
|
|
|
+ this.material3.setTransform(509,195.5,1,1,0,0,0,56,69.5);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.material3).wait(1));
|
|
|
|
+
|
|
|
|
+ // material2
|
|
|
|
+ this.material2 = new lib.material2_1();
|
|
|
|
+ this.material2.name = "material2";
|
|
|
|
+ this.material2.parent = this;
|
|
|
|
+ this.material2.setTransform(315.5,193,1,1,0,0,0,65.5,78);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.material2).wait(1));
|
|
|
|
+
|
|
|
|
+ // material1
|
|
|
|
+ this.instance = new lib.material1_1();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+ this.instance.setTransform(122.1,185.1,1,1,0,0,0,61.5,94.5);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance_1 = new lib.blackboard();
|
|
|
|
+ this.instance_1.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.blackboard_1, new cjs.Rectangle(0,0,635,382), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.pot_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // hsr
|
|
|
|
+ this.hsr = new lib.menu_hsr_1();
|
|
|
|
+ this.hsr.name = "hsr";
|
|
|
|
+ this.hsr.parent = this;
|
|
|
|
+ this.hsr.setTransform(375.3,216.6,1,1,0,0,0,243.8,202);
|
|
|
|
+ this.hsr.alpha = 0;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.hsr).wait(1));
|
|
|
|
+
|
|
|
|
+ // 图层_1
|
|
|
|
+ this.instance = new lib.pot();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.pot_1, new cjs.Rectangle(0,-300.9,614,1018), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+(lib.plate_1 = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // hsr_icon4
|
|
|
|
+ this.hsr_icon4 = new lib.hsr_icon4_2();
|
|
|
|
+ this.hsr_icon4.name = "hsr_icon4";
|
|
|
|
+ this.hsr_icon4.parent = this;
|
|
|
|
+ this.hsr_icon4.setTransform(437,193,1,1,0,0,0,51.5,59);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.hsr_icon4).wait(1));
|
|
|
|
+
|
|
|
|
+ // hsr_icon3
|
|
|
|
+ this.hsr_icon3 = new lib.hsr_icon3_2();
|
|
|
|
+ this.hsr_icon3.name = "hsr_icon3";
|
|
|
|
+ this.hsr_icon3.parent = this;
|
|
|
|
+ this.hsr_icon3.setTransform(267,323,1,1,0,0,0,185.5,72);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.hsr_icon3).wait(1));
|
|
|
|
+
|
|
|
|
+ // hsr_icon2
|
|
|
|
+ this.hsr_icon2 = new lib.hsr_icon2_2();
|
|
|
|
+ this.hsr_icon2.name = "hsr_icon2";
|
|
|
|
+ this.hsr_icon2.parent = this;
|
|
|
|
+ this.hsr_icon2.setTransform(332,207.1,1,1,0,0,0,43,37.5);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.hsr_icon2).wait(1));
|
|
|
|
+
|
|
|
|
+ // hsr_icon1
|
|
|
|
+ this.hsr_icon1 = new lib.hsr_icon1_2();
|
|
|
|
+ this.hsr_icon1.name = "hsr_icon1";
|
|
|
|
+ this.hsr_icon1.parent = this;
|
|
|
|
+ this.hsr_icon1.setTransform(177,198.5,1,1,0,0,0,101,64.5);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.hsr_icon1).wait(1));
|
|
|
|
+
|
|
|
|
+ // 图层 1
|
|
|
|
+ this.instance = new lib.plate();
|
|
|
|
+ this.instance.parent = this;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = getMCSymbolPrototype(lib.plate_1, new cjs.Rectangle(0,0,563,455), null);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+// stage content:
|
|
|
|
+(lib.assets = function(mode,startPosition,loop) {
|
|
|
|
+ this.initialize(mode,startPosition,loop,{});
|
|
|
|
+
|
|
|
|
+ // pro
|
|
|
|
+ this.pro = new lib.pro_1();
|
|
|
|
+ this.pro.name = "pro";
|
|
|
|
+ this.pro.parent = this;
|
|
|
|
+ this.pro.setTransform(492.5,448.8,1,1,0,0,0,124,103.5);
|
|
|
|
+ this.pro.alpha = 0;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.pro).wait(1));
|
|
|
|
+
|
|
|
|
+ // ball1
|
|
|
|
+ this.ball1 = new lib.ball1_1();
|
|
|
|
+ this.ball1.name = "ball1";
|
|
|
|
+ this.ball1.parent = this;
|
|
|
|
+ this.ball1.setTransform(132.9,529.7,1,1,0,0,0,101.5,69.5);
|
|
|
|
+ this.ball1.alpha = 0;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.ball1).wait(1));
|
|
|
|
+
|
|
|
|
+ // blackboard
|
|
|
|
+ this.blackboard = new lib.blackboard_1();
|
|
|
|
+ this.blackboard.name = "blackboard";
|
|
|
|
+ this.blackboard.parent = this;
|
|
|
|
+ this.blackboard.setTransform(320.9,322.4,1,1,0,0,0,317.5,191);
|
|
|
|
+ this.blackboard.alpha = 0;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.blackboard).wait(1));
|
|
|
|
+
|
|
|
|
+ // btn2
|
|
|
|
+ this.btn2 = new lib.btn2_1();
|
|
|
|
+ this.btn2.name = "btn2";
|
|
|
|
+ this.btn2.parent = this;
|
|
|
|
+ this.btn2.setTransform(320.7,963.8,1,1,0,0,0,90,29.5);
|
|
|
|
+ this.btn2.alpha = 0;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.btn2).wait(1));
|
|
|
|
+
|
|
|
|
+ // pot
|
|
|
|
+ this.pot = new lib.pot_1();
|
|
|
|
+ this.pot.name = "pot";
|
|
|
|
+ this.pot.parent = this;
|
|
|
|
+ this.pot.setTransform(320.1,746.9,1,1,0,0,0,309.5,216.6);
|
|
|
|
+ this.pot.alpha = 0;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.pot).wait(1));
|
|
|
|
+
|
|
|
|
+ // btn1
|
|
|
|
+ this.btn1 = new lib.btn1_1();
|
|
|
|
+ this.btn1.name = "btn1";
|
|
|
|
+ this.btn1.parent = this;
|
|
|
|
+ this.btn1.setTransform(320.7,918.8,1,1,0,0,0,90,29.5);
|
|
|
|
+ this.btn1.alpha = 0;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.btn1).wait(1));
|
|
|
|
+
|
|
|
|
+ // plate
|
|
|
|
+ this.plate = new lib.plate_1();
|
|
|
|
+ this.plate.name = "plate";
|
|
|
|
+ this.plate.parent = this;
|
|
|
|
+ this.plate.setTransform(325.7,701.4,1,1,0,0,0,281.5,227.5);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.plate).wait(1));
|
|
|
|
+
|
|
|
|
+ // bowl
|
|
|
|
+ this.bowl = new lib.bowl_1();
|
|
|
|
+ this.bowl.name = "bowl";
|
|
|
|
+ this.bowl.parent = this;
|
|
|
|
+ this.bowl.setTransform(312.5,764.9,1,1,0,0,0,312.5,221.5);
|
|
|
|
+ this.bowl.alpha = 0;
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.bowl).wait(1));
|
|
|
|
+
|
|
|
|
+ // bg
|
|
|
|
+ this.bg = new lib.bg();
|
|
|
|
+ this.bg.name = "bg";
|
|
|
|
+ this.bg.parent = this;
|
|
|
|
+ this.bg.setTransform(320,520,1,1,0,0,0,320,520);
|
|
|
|
+
|
|
|
|
+ this.timeline.addTween(cjs.Tween.get(this.bg).wait(1));
|
|
|
|
+
|
|
|
|
+}).prototype = p = new cjs.MovieClip();
|
|
|
|
+p.nominalBounds = new cjs.Rectangle(320,520,640,1247.4);
|
|
|
|
+// library properties:
|
|
|
|
+lib.properties = {
|
|
|
|
+ id: '5529E26743974F469545223C44E61D22',
|
|
|
|
+ width: 640,
|
|
|
|
+ height: 1040,
|
|
|
|
+ fps: 24,
|
|
|
|
+ color: "#FFFFFF",
|
|
|
|
+ opacity: 1.00,
|
|
|
|
+ manifest: [
|
|
|
|
+ {src:"images/game_bg.jpg", id:"game_bg"},
|
|
|
|
+ {src:"images/assets_atlas_P_.png", id:"assets_atlas_P_"},
|
|
|
|
+ {src:"images/assets_atlas_P_2.png", id:"assets_atlas_P_2"},
|
|
|
|
+ {src:"images/assets_atlas_P_3.png", id:"assets_atlas_P_3"}
|
|
|
|
+ ],
|
|
|
|
+ preloads: []
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+// bootstrap callback support:
|
|
|
|
+
|
|
|
|
+(lib.Stage = function(canvas) {
|
|
|
|
+ createjs.Stage.call(this, canvas);
|
|
|
|
+}).prototype = p = new createjs.Stage();
|
|
|
|
+
|
|
|
|
+p.setAutoPlay = function(autoPlay) {
|
|
|
|
+ this.tickEnabled = autoPlay;
|
|
|
|
+}
|
|
|
|
+p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) }
|
|
|
|
+p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; }
|
|
|
|
+p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); }
|
|
|
|
+p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; }
|
|
|
|
+
|
|
|
|
+p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; }
|
|
|
|
+
|
|
|
|
+an.bootcompsLoaded = an.bootcompsLoaded || [];
|
|
|
|
+if(!an.bootstrapListeners) {
|
|
|
|
+ an.bootstrapListeners=[];
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+an.bootstrapCallback=function(fnCallback) {
|
|
|
|
+ an.bootstrapListeners.push(fnCallback);
|
|
|
|
+ if(an.bootcompsLoaded.length > 0) {
|
|
|
|
+ for(var i=0; i<an.bootcompsLoaded.length; ++i) {
|
|
|
|
+ fnCallback(an.bootcompsLoaded[i]);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+an.compositions = an.compositions || {};
|
|
|
|
+an.compositions['5529E26743974F469545223C44E61D22'] = {
|
|
|
|
+ getStage: function() { return exportRoot.getStage(); },
|
|
|
|
+ getLibrary: function() { return lib; },
|
|
|
|
+ getSpriteSheet: function() { return ss; },
|
|
|
|
+ getImages: function() { return img; }
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+an.compositionLoaded = function(id) {
|
|
|
|
+ an.bootcompsLoaded.push(id);
|
|
|
|
+ for(var j=0; j<an.bootstrapListeners.length; j++) {
|
|
|
|
+ an.bootstrapListeners[j](id);
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+an.getComposition = function(id) {
|
|
|
|
+ return an.compositions[id];
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+})(createjs = createjs||{}, AdobeAn = AdobeAn||{});
|
|
|
|
+var createjs, AdobeAn;
|