(function (cjs, an) { var p; // shortcut to reference prototypes var lib={};var ss={};var img={}; lib.webFontTxtInst = {}; var loadedTypekitCount = 0; var loadedGoogleCount = 0; var gFontsUpdateCacheList = []; var tFontsUpdateCacheList = []; lib.ssMetadata = []; lib.updateListCache = function (cacheList) { for(var i = 0; i < cacheList.length; i++) { if(cacheList[i].cacheCanvas) cacheList[i].updateCache(); } }; lib.addElementsToCache = function (textInst, cacheList) { var cur = textInst; while(cur != null && cur != exportRoot) { if(cacheList.indexOf(cur) != -1) break; cur = cur.parent; } if(cur != exportRoot) { var cur2 = textInst; var index = cacheList.indexOf(cur); while(cur2 != null && cur2 != cur) { cacheList.splice(index, 0, cur2); cur2 = cur2.parent; index++; } } else { cur = textInst; while(cur != null && cur != exportRoot) { cacheList.push(cur); cur = cur.parent; } } }; lib.gfontAvailable = function(family, totalGoogleCount) { lib.properties.webfonts[family] = true; var txtInst = lib.webFontTxtInst && lib.webFontTxtInst[family] || []; for(var f = 0; f < txtInst.length; ++f) lib.addElementsToCache(txtInst[f], gFontsUpdateCacheList); loadedGoogleCount++; if(loadedGoogleCount == totalGoogleCount) { lib.updateListCache(gFontsUpdateCacheList); } }; lib.tfontAvailable = function(family, totalTypekitCount) { lib.properties.webfonts[family] = true; var txtInst = lib.webFontTxtInst && lib.webFontTxtInst[family] || []; for(var f = 0; f < txtInst.length; ++f) lib.addElementsToCache(txtInst[f], tFontsUpdateCacheList); loadedTypekitCount++; if(loadedTypekitCount == totalTypekitCount) { lib.updateListCache(tFontsUpdateCacheList); } }; // symbols: (lib.alpha = function() { this.initialize(img.alpha); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,80,80); (lib.clear = function() { this.initialize(img.clear); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,238,73); (lib.frame = function() { this.initialize(img.frame); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,140,140); (lib.image_sample3 = function() { this.initialize(img.image_sample3); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,640,1280); (lib.start = function() { this.initialize(img.start); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,362,110);// 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.シンボル37 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#FFFFFF").s().p("Egx/BkAMAAAjH/MBj/AAAMAAADH/g"); this.shape.setTransform(320,640); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル37, new cjs.Rectangle(0,0,640,1280), null); (lib.シンボル32 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#999999").s().p("AgYAYQgKgKAAgOQAAgNAKgKQALgKANAAQAOAAALAKQAJAKABANQgBAOgJAKQgLAKgOAAQgNAAgLgKg"); this.shape.setTransform(-10.8,29,0.667,0.667); this.shape_1 = new cjs.Shape(); this.shape_1.graphics.f("#999999").s().p("AgXAYQgKgJAAgPQAAgNAKgKQAKgKANAAQAOAAAKAKQAKAKAAANQAAAOgKAKQgKAKgOAAQgNAAgKgKg"); this.shape_1.setTransform(10.8,29,0.667,0.667); this.shape_2 = new cjs.Shape(); this.shape_2.graphics.f("#999999").s().p("AgzA0QgVgWAAgeQAAgeAVgVQAWgVAdAAQAfAAAVAVQAVAVAAAeQAAAegVAWQgVAVgfAAQgdAAgWgVg"); this.shape_2.setTransform(-23,10.2,0.667,0.667); this.shape_3 = new cjs.Shape(); this.shape_3.graphics.f("#999999").s().p("AgzA0QgVgWAAgeQAAgeAVgVQAWgVAdAAQAfAAAVAVQAVAVAAAeQAAAegVAWQgVAVgfAAQgdAAgWgVg"); this.shape_3.setTransform(23,10.2,0.667,0.667); this.shape_4 = new cjs.Shape(); this.shape_4.graphics.f("#999999").s().p("AkjKzQiGg5hohoQhohog5iHQg7iKAAiZQAAiYA7iKQA5iHBohoQBohoCGg5QCMg7CXAAQCZAACKA7QCHA5BoBoQBoBoA5CHQA7CKAACYQAACZg7CKQg5CHhoBoQhoBoiHA5QiKA7iZAAQiXAAiMg7gAjiFNQhtAwhVBXQBVBOBrApQBuArB2AAQB3AABugsQBrgpBVhNQhVhYhtgvQhsguh2AAQh3AAhsAugAp1AAQAABzApBsQAnBoBKBVQBghkB6g0QB7g2CHAAQCHAAB6A2QB6A0BhBjQBJhUAnhoQAphsAAhzQAAhJgShKQgDA9gWAtQgiBHhDAXQgZAJgeAAQg+AAg8gpQg8gpgqhGQgRBmg4BBQg6BChMAAQhLAAg5hCQg5hBgRhmQgqBHg9AoQg8Apg9AAQgeAAgYgJQhFgXghhHQgXgvgCg7QgSBIAABLgAhWAGQAmA5AwAAQAxAAAmg5QAlg5AHhSQhGAHhEAAQhEAAg4gGQAIBTAlA3gAEIiZQAkBIA4AlQA4AnAwgQQAjgMAUgqQAPgiACgsQACgsgMgvQhtA7iVAggAoTiWQACArAPAgQAUAqAkAMQAuAPA4glQA3glAkhGQiUgdhug6QgLAtADAqgAkzokQiMBOhVCHQBdA9CJAhQCMAjCbAAQCeAACQglQCOgkBbg/QhWiEiJhMQiOhPijAAQikAAiPBRg"); this.shape_4.setTransform(0,0,0.667,0.667); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape_4},{t:this.shape_3},{t:this.shape_2},{t:this.shape_1},{t:this.shape}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル32, new cjs.Rectangle(-50,-50,100,100), null); (lib.シンボル30 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.instance = new lib.clear(); this.instance.parent = this; this.instance.setTransform(-119,-36.5); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル30, new cjs.Rectangle(-119,-36.5,238,73), null); (lib.シンボル29 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#999999").s().p("AgyCYQgKgGgJgHQgJgFgHgIQgGgMAKgFQALgFAKAAQAYgGARAQIAGAHQADADAGACQAIAHAJgDQAQgMAEgUIAEgUQgCgLgKAEQgLACgKAAIgXACQgZABgTgOQgKgHgIgIIgGgJQgFgFgCgFIgCgLIgDgLQgEgMgCgNQgDgaAEgaQACgXALgWQAGgJAJgHQAIgIAKgHQAYgJAZAAIAYgBIALACQABAAAAAAQABAAAAABQABAAABAAQAAAAABAAIADAAQAEAAACgCQADgEAFAAIAZgBQAagBAEAYQAAAaACAaQADAbgCAbQgCAEADAEQAAAAAAABQAAAAAAABQAAAAAAAAQgBABAAAAIgBAFIgBAYIgBAZIgDAcIgCAfIgBANIgDAHQgBAEgCAEQgDAHgFAEQgNALgQAHIgQAHIgQADQgJAEgIgCQgFgCgEADQgYAAgWgKgAgTh4QgHAHgGAIQgIALgCALQgDANAAAMQgCANAFAMQAEALAAAMQACAMAFAMQAGALAKAHQAKAKANABQAJgGAHgKQAGgKACgMQAFgZABgcIADgXIgBgaQgDgKgHgHQgHgHgJgEQgHgFgJAAQgLABgGAJg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル29, new cjs.Rectangle(-10.7,-16.2,21.5,32.4), null); (lib.シンボル28 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#999999").s().p("ABXCSIgMgDIgMABQgKABgIgGQgGgIAAgLQgBgNACgOQABgbgBgbQgCgbAAgaIgDg4IgBgMQgDgEgBgFQAAgKgJgFQgRACgKAPQgHAIgEAKQgDAFgBAGIgCAKIgDAKIgDAMQgCAOABAOQAAAagCAbQgDAbABAbQACAMgGAJQgJAGgKgCQgXAJgUgKQgKgOAEgRIABg1QACgbgBgaIgCg3QABgbgCgaQgDgKACgJQAIgIALADIALgBQAFgCAEABIAJAAQAFgBAFACQAFAHAJABIAVgHQAMgEAMgBIAagCIAEABIABABIAFAAQAIABAIADQALACAHAIQAIAKAFALQANAggBAiIAABHIADBIQADAQgBAQQgFANgOAAIgDAAg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル28, new cjs.Rectangle(-10.9,-14.5,21.9,29.2), null); (lib.シンボル27 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#999999").s().p("AgPDBQgKABgEgJQgDgMADgNIABgcIABg2IABg3QgCgbAAgbIAAgZQgFgLAGgJQAHgEAKABQAKgCANABQAKgCAGAIQAEALgCALIABCVQgBASAAARIABARIAAASQAEAQgKAJQgLABgLADQgJgEgKABgAgMiGQgNgBgGgNQgCgQACgSQgBgGAGgFIAFgCIAGABIAEgBIAHAAIAPACQANABAHAMIABAPIABATQAAAGgEAFQgGAEgHABQgPgEgNAAg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル27, new cjs.Rectangle(-3.3,-19.6,6.6,39.3), null); (lib.シンボル26 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#999999").s().p("ABSDFQgGACgEgDQgNAAgJgGQgCgHgEgGQgJABgHAEIgLADIgLADQgMACgNgBQgFgBgEgDIgLgCQgMgCgKgHQgUgLgKgVQgIgXgBgZQgCgcABgbQAAgZAHgYQAIgXASgQQAJgHAKgGQAMgGAMAAIAZAAQALgBANACQAHAFAKgCQAEgIgDgLIgCg3IgBgbQAAgLACgNQACgKALABQAKACAKgCQAWgDAEAVIgDAiQgBAaACAaIACBpIAABpQAAAbACAZQACANgDAKQgEAHgIABQgEgDgDABgAgYghQgPARgEAUQgFAZACAaQABAfAGAfQAAAOAHANQAGAMAMAGQAGACAIgEQACgCAEgDIAIgGQAIgHAFgKIAKgYQAGgZACgZQAAgZgMgXQgHgSgPgTQgJgMgKAAQgIAAgIAGg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル26, new cjs.Rectangle(-10.2,-19.9,20.5,39.8), null); (lib.シンボル25 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#FFFFFF").s().p("Egx/BkAMAAAjH/MBj/AAAMAAADH/g"); this.shape.setTransform(320,640); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル25, new cjs.Rectangle(0,0,640,1280), null); (lib.シンボル24 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#999999").s().p("AA1CLQgFgEgCgGQgDgMgFgMQgCgEgDACIgKANQgJAHgJADQgHAGgIgBQgCAFgGgCIgLACIgMADQgXACgPgQQgbgjAEgsQgFgyAJgxQAHgZANgWQAFgKAHgKQAIgHAKgGQAJgHALABIAZgBQAKAAALACQAMADALAFQAUAMAMATQAKATAJAVIADAIIAAAMIgFAZQgCAaACAbQAAANADAMQAAAOACAOQADALAFALQAFAMgIAKQgHACgHAAIgHAAIgIADIgSgCgAgOhsQgHAIgFAIIgLATQgJAUgBAWQgCAbABAaQgBAfAKAbQAGAYAWgEQAHgJAGgLQAHgKADgMIAFgZIAGgbIAEgZQADgMAAgOQAAgYgOgTQgHgIgIgHQgEgGgGAAIgFABg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル24, new cjs.Rectangle(-10.5,-14.1,21,28.2), null); (lib.シンボル23 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#999999").s().p("AgSCKIgMgEIgJgDQgGAAgGgCQgVgLgOgUQgWgqAEgwQgBgyASgwQALgWATgNQAKgFAMgDQAMgFAOgCIAVABIALACQAGAAAGABQADADADABQAFAAAEADQAKAGAHAKQAFAHAHAHQAHAJABAMIAPAxQAGAbgEAZQgBAagHAZQgJAWgQARQgGAIgJAEQgJAIgLACQgMACgMACIgLgBIgKADQgEgDgFAAgAgHhfQgSAKgHAUQgFAMgBANIgFAaQgDAZADAbIAIAaQADAMAJAKQAIAHAJAFQAFAFAEAAQAEABAEgDIADgCIAAgBIAGgGQADgEADgEQAHgLAFgNQAFgLADgNIABgMIACgNQABgYgHgaQgDgMgEgKQgEgNgGgJIgHgJIgHgHIgGgBQgGAAgHAFg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル23, new cjs.Rectangle(-10.5,-14.1,21.1,28.2), null); (lib.シンボル22 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#999999").s().p("AAUDBIgMAAIgMABIgLgDIgLAAIgbAAQgNgBgLgCQgLgCgEgLQgDgKACgLIABgbIADjfIAAg2QAAgMgCgMQgDgKAHgJQAIgEAKABQAMgBAMADQAIgCAGAGQAFALgCAMIgCA1IgCA4IAAAZIgBAcIgBAZIAAAcQgBAwADAvQgBAKAFAIQAGAFAIgBIAVABQAKADALgCQASAAATACQAPgDANAJQAEAIgFAHQgIAGgIgDIgVABIgIACIgGABQgKgEgLAAg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル22, new cjs.Rectangle(-9.5,-19.7,19,39.5), null); (lib.シンボル20 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.instance = new lib.start(); this.instance.parent = this; this.instance.setTransform(-181,-55); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル20, new cjs.Rectangle(-181,-55,362,110), null); (lib.シンボル17 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.instance = new lib.image_sample3(); this.instance.parent = this; this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル17, new cjs.Rectangle(0,0,640,1280), null); (lib.シンボル16 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 3 this.instance = new lib.alpha(); this.instance.parent = this; this.instance.setTransform(0,0,1.75,1.75); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル16, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル15 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-390,-850)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル15, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル14 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-250,-850)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル14, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル13 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.instance.setTransform(1,0); this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-110,-850)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル13, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル12 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-530,-710)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル12, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル11 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-390,-710)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル11, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル10 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-250,-710)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル10, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル9 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.instance.setTransform(1,0); this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-110,-710)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル9, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル8 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-530,-570)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル8, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル7 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-390,-570)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル7, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル6 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-250,-570)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル6, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル5 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.instance.setTransform(1,0); this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-110,-570)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル5, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル4 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-530,-430)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル4, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル3 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-390,-430)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル3, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル2 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-250,-430)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル2, new cjs.Rectangle(0,0,140,140), null); (lib.シンボル1 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("ApmK8QhVAAAAhVIAAzNQAAhVBVAAITNAAQBVAAAABVIAATNQAABVhVAAg"); mask.setTransform(70,70); // レイヤー 1 this.instance = new lib.frame(); this.instance.parent = this; this.instance.setTransform(1,0); this.shape = new cjs.Shape(); this.shape.graphics.bf(img.image_sample3, null, new cjs.Matrix2D(1,0,0,1,-110,-430)).s().p("Aq7K8IAA13IV3AAIAAV3g"); this.shape.setTransform(70,70); var maskedShapeInstanceList = [this.instance,this.shape]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.シンボル1, new cjs.Rectangle(0,0,140,140), null); (lib.トゥイーン5 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.instance = new lib.image_sample3(); this.instance.parent = this; this.instance.setTransform(-200,-400,0.625,0.625); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-200,-400,400,800); (lib.シンボル33 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_35 = function() { exportRoot.flg_wait = false; } this.frame_128 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).wait(35).call(this.frame_35).wait(93).call(this.frame_128).wait(1)); // レイヤー 4 this.mc_Clear = new lib.シンボル30(); this.mc_Clear.parent = this; this.mc_Clear.setTransform(0,-114,1.607,1.606); this.mc_Clear.alpha = 0; this.timeline.addTween(cjs.Tween.get(this.mc_Clear).to({scaleX:1.09,scaleY:1.09,alpha:1},15).wait(1).to({scaleX:1.58,scaleY:1.57,alpha:0},22).wait(91)); // レイヤー 4 this.mc_Clear_1 = new lib.シンボル30(); this.mc_Clear_1.parent = this; this.mc_Clear_1.setTransform(0,-114); this.mc_Clear_1._off = true; this.timeline.addTween(cjs.Tween.get(this.mc_Clear_1).wait(16).to({_off:false},0).wait(93).to({alpha:0},19).wait(1)); // レイヤー 3 this.instance = new lib.トゥイーン5(); this.instance.parent = this; this.instance.setTransform(0,100); this.instance.alpha = 0; this.instance._off = true; this.timeline.addTween(cjs.Tween.get(this.instance).wait(16).to({_off:false},0).to({alpha:1,mode:"synched",startPosition:0},29).to({startPosition:0},83).wait(1)); // レイヤー 6 this.shape = new cjs.Shape(); this.shape.graphics.f("#FFFFFF").s().p("A63a4MAAAg1vMA1vAAAMAAAA1vg"); this.shape.setTransform(0,100); this.shape._off = true; this.timeline.addTween(cjs.Tween.get(this.shape).wait(16).to({_off:false},0).wait(113)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-191.2,-172.6,382.5,117.2); (lib.シンボル31 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.instance = new lib.シンボル32(); this.instance.parent = this; this.timeline.addTween(cjs.Tween.get(this.instance).to({rotation:-90},19).to({scaleX:1,scaleY:1,rotation:-179.9},20).to({rotation:-270},20).to({scaleX:1,scaleY:1,rotation:-365.8},19).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-50,-50,100,100); (lib.シンボル21 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // シンボル 29 this.instance = new lib.シンボル29(); this.instance.parent = this; this.instance.setTransform(67.6,7.4); this.instance_1 = new lib.シンボル28(); this.instance_1.parent = this; this.instance_1.setTransform(42.5,5.2); this.instance_2 = new lib.シンボル27(); this.instance_2.parent = this; this.instance_2.setTransform(22.6,-0.4); this.instance_3 = new lib.シンボル26(); this.instance_3.parent = this; this.instance_3.setTransform(3.5,0.3); this.instance_4 = new lib.シンボル24(); this.instance_4.parent = this; this.instance_4.setTransform(-19.4,5.2); this.instance_5 = new lib.シンボル23(); this.instance_5.parent = this; this.instance_5.setTransform(-43.6,5.5); this.instance_6 = new lib.シンボル22(); this.instance_6.parent = this; this.instance_6.setTransform(-64.8,-0.2); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_6},{t:this.instance_5},{t:this.instance_4},{t:this.instance_3},{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).to({state:[]},1).to({state:[{t:this.instance}]},55).to({state:[{t:this.instance}]},9).to({state:[{t:this.instance}]},10).to({state:[{t:this.instance}]},20).wait(1)); this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},1).wait(55).to({_off:false,x:67.7,y:7.6},0).to({y:-10.4},9).to({y:7.6},10).wait(21)); // シンボル 28 this.instance_7 = new lib.シンボル28(); this.instance_7.parent = this; this.instance_7.setTransform(42.6,5.4); this.instance_7._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(47).to({_off:false},0).to({y:-12.6},9).to({y:5.4},10).wait(30)); // シンボル 27 this.instance_8 = new lib.シンボル27(); this.instance_8.parent = this; this.instance_8.setTransform(22.7,-0.2); this.instance_8._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_8).wait(38).to({_off:false},0).to({y:-18.2},9).to({y:-0.2},10).wait(39)); // シンボル 26 this.instance_9 = new lib.シンボル26(); this.instance_9.parent = this; this.instance_9.setTransform(3.6,0.5); this.instance_9._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_9).wait(29).to({_off:false},0).to({y:-17.5},9).to({y:0.5},10).wait(48)); // シンボル 24 this.instance_10 = new lib.シンボル24(); this.instance_10.parent = this; this.instance_10.setTransform(-19.3,5.4); this.instance_10._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_10).wait(19).to({_off:false},0).to({y:-12.6},9).to({y:5.4},10).wait(58)); // シンボル 23 this.instance_11 = new lib.シンボル23(); this.instance_11.parent = this; this.instance_11.setTransform(-43.5,5.7); this.instance_11._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_11).wait(10).to({_off:false},0).to({y:-12.3},9).to({y:5.7},10).wait(67)); // シンボル 22 this.instance_12 = new lib.シンボル22(); this.instance_12.parent = this; this.instance_12.setTransform(-64.7,0); this.instance_12._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_12).wait(1).to({_off:false},0).to({y:-18},9).to({y:0},10).wait(76)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-74.3,-20,152.6,43.6); (lib.シンボル19 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 1 this.instance = new lib.シンボル20(); this.instance.parent = this; this.timeline.addTween(cjs.Tween.get(this.instance).wait(7).to({alpha:0.102},40).to({alpha:1},40).wait(1)); // レイヤー 2 this.instance_1 = new lib.alpha(); this.instance_1.parent = this; this.instance_1.setTransform(-200,-400,5,10); this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(88)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-200,-400,400,800); (lib.obj_backgraound = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // レイヤー 2 this.shape = new cjs.Shape(); this.shape.graphics.f("#000000").s().p("EgrvArwMAAAhXfMBXfAAAMAAABXfg"); this.shape.setTransform(320,640); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); // レイヤー 1 this.instance = new lib.シンボル17(); this.instance.parent = this; this.instance.setTransform(320,640,1,1,0,0,0,320,640); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.obj_backgraound, new cjs.Rectangle(0,0,640,1280), null); (lib.mc_Fade_out = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{_start:0}); // timeline functions: this.frame_19 = function() { exportRoot.flg_wait = false; this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).wait(19).call(this.frame_19).wait(1)); // レイヤー 1 this.instance = new lib.シンボル37(); this.instance.parent = this; this.instance.setTransform(320,640,1,1,0,0,0,320,640); this.instance.alpha = 0; this.timeline.addTween(cjs.Tween.get(this.instance).to({alpha:1},18).wait(2)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(0,0,640,1280); (lib.mc_Fade_in = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_19 = function() { exportRoot.flg_wait = false; this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).wait(19).call(this.frame_19).wait(1)); // レイヤー 1 this.instance = new lib.シンボル37(); this.instance.parent = this; this.instance.setTransform(320,640,1,1,0,0,0,320,640); this.timeline.addTween(cjs.Tween.get(this.instance).to({alpha:0},19).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(0,0,640,1280); // stage content: (lib.test01 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{_loading:1,_title:5,_play:11,_clear:17,_fade_loading:3,_title_loop:7,_fade_title:9,_init:11,"_start":13,_move:15,_wait_clear:19,_fade_clear:21}); // timeline functions: this.frame_0 = function() { function ctrlPlayGame(clkPanel){ if(exportRoot.flg_wait == false){ console.log("Click Panel : "+clkPanel) clk_x = exportRoot.ary_pos[clkPanel][0]; clk_y = exportRoot.ary_pos[clkPanel][1]; exportRoot.click_pos[0] = clk_x; exportRoot.click_pos[1] = clk_y; console.log("Position : "+clk_x+","+clk_y) if((clk_x== exportRoot.pos_blank[0]) || clk_y== exportRoot.pos_blank[1]){ if( clk_x== exportRoot.pos_blank[0] ){ console.log("Match Vertical Line!!"); dist = clk_y-exportRoot.pos_blank[1]; if(dist > 0){ dir = 2; }else{ dir = 0; } }else{ console.log("Match Horizonal Line!!"); dist = clk_x-exportRoot.pos_blank[0]; if(dist > 0){ dir = 1; }else{ dir = 3; } } exportRoot.move_panel = [99, 99, 99]; switch (dir){ case 0: exportRoot.move_dir = 2; break; case 1: exportRoot.move_dir = 3; break; case 2: exportRoot.move_dir = 0; break; case 3: exportRoot.move_dir = 1; break; } dist = Math.abs(dist); console.log("Direction, Distance : "+dir+","+dist) blank_x = exportRoot.pos_blank[0]; blank_y = exportRoot.pos_blank[1]; for(i=0;i=0 && x1<4 && y1>=0 && y1<4 ){ flg_lot = false; } }while(flg_lot); target = 15; for(j=0;j<16;j++){ if(exportRoot.ary_pos[j][0]== x1 && exportRoot.ary_pos[j][1]== y1){ target = j; } } SwapData(target); blank_x = x1; blank_y = y1; } exportRoot.pos_blank[0] = blank_x; exportRoot.pos_blank[1] = blank_y; exportRoot.flg_clear = false; exportRoot.counter = 0; exportRoot.flg_wait = false; exportRoot.flg_init = false; function SwapData(target){ var tmp0 = exportRoot.ary_pos[target][0]; var tmp1 = exportRoot.ary_pos[target][1]; exportRoot.ary_pos[target][0]=exportRoot.ary_pos[15][0]; exportRoot.ary_pos[target][1]=exportRoot.ary_pos[15][1]; exportRoot.ary_pos[15][0]=tmp0; exportRoot.ary_pos[15][1]=tmp1; if(exportRoot.flg_init){ str = "0"+target; var tmpX = eval("exportRoot.panel_15").x; var tmpY = eval("exportRoot.panel_15").y; eval("exportRoot.panel_15").x = eval("exportRoot.panel_"+str.substr(str.length-2,2)).x; eval("exportRoot.panel_15").y = eval("exportRoot.panel_"+str.substr(str.length-2,2)).y; eval("exportRoot.panel_"+str.substr(str.length-2,2)).x = tmpX; eval("exportRoot.panel_"+str.substr(str.length-2,2)).y = tmpY; } } } this.frame_14 = function() { // Check Clear i = 0; while ((exportRoot.ary_correct[i][0] == exportRoot.ary_pos[i][0]) && (exportRoot.ary_correct[i][1] == exportRoot.ary_pos[i][1]) && (i < 15)){ // console.log("i="+i); i++; } console.log("i="+i); if(i==15){ exportRoot.flg_clear = true; } if(exportRoot.flg_wait){ this.gotoAndPlay("_move"); }else if(exportRoot.flg_clear){ exportRoot.flg_wait = true; this.gotoAndPlay("_clear"); }else{ this.gotoAndPlay("_start"); } } this.frame_15 = function() { // exportRoot.counter++; console.log("move-count : " + exportRoot.counter); if(exportRoot.counter < 11){ i=0; while(exportRoot.move_panel[i] != 99 && (i < 3)){ str = "0" + exportRoot.move_panel[i]; eval("exportRoot.panel_"+str.substr(str.length-2,2)).x = eval("exportRoot.panel_"+str.substr(str.length-2,2)).x + exportRoot.ary_dir[exportRoot.move_dir][0]*14; eval("exportRoot.panel_"+str.substr(str.length-2,2)).y = eval("exportRoot.panel_"+str.substr(str.length-2,2)).y + exportRoot.ary_dir[exportRoot.move_dir][1]*14; i++; } }else{ exportRoot.counter = 0; exportRoot.flg_wait = false; } } this.frame_16 = function() { if(exportRoot.flg_wait){ this.gotoAndPlay("_move"); }else{ this.gotoAndPlay("_start"); } } this.frame_18 = function() { if(exportRoot.flg_wait){ this.gotoAndPlay("_clear"); }else{ exportRoot.flg_wait = true; this.gotoAndPlay("_wait_clear"); } } this.frame_20 = function() { if(exportRoot.flg_wait){ this.gotoAndPlay("_wait_clear"); }else{ // exportRoot.wait = true; exportRoot.flg_wait = true; this.gotoAndPlay("_fade_clear"); } } this.frame_21 = function() { console.log("_fade_clear"); } this.frame_22 = function() { if(exportRoot.flg_wait){ console.log("to _fade_clear"); this.gotoAndPlay("_fade_clear"); }else{ exportRoot.wait = true; console.log("to _init"); this.gotoAndPlay("_init"); } } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2).call(this.frame_2).wait(2).call(this.frame_4).wait(2).call(this.frame_6).wait(2).call(this.frame_8).wait(2).call(this.frame_10).wait(1).call(this.frame_11).wait(3).call(this.frame_14).wait(1).call(this.frame_15).wait(1).call(this.frame_16).wait(2).call(this.frame_18).wait(2).call(this.frame_20).wait(1).call(this.frame_21).wait(1).call(this.frame_22).wait(2)); // フェード this.instance = new lib.mc_Fade_in(); this.instance.parent = this; this.instance.setTransform(320,640,1,1,0,0,0,320,640); this.instance_1 = new lib.mc_Fade_out(); this.instance_1.parent = this; this.instance_1.setTransform(320,640,1,1,0,0,0,320,640); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},3).to({state:[{t:this.instance}]},2).to({state:[]},2).to({state:[{t:this.instance_1}]},2).to({state:[{t:this.instance}]},2).to({state:[]},6).to({state:[{t:this.instance_1}]},4).to({state:[]},2).wait(1)); // ローディング画面 this.screen_title = new lib.シンボル19(); this.screen_title.parent = this; this.screen_title.setTransform(320,640,1.602,1.6); this.instance_2 = new lib.シンボル33(); this.instance_2.parent = this; this.instance_2.setTransform(320,480,1.6,1.6); this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.screen_title}]},7).to({state:[]},4).to({state:[{t:this.instance_2}]},6).to({state:[]},6).wait(1)); // レイヤー 7 this.instance_3 = new lib.シンボル31(); this.instance_3.parent = this; this.instance_3.setTransform(324.5,578,1.6,1.6); this.instance_4 = new lib.シンボル21(); this.instance_4.parent = this; this.instance_4.setTransform(319,722,1.599,1.6); this.instance_5 = new lib.シンボル17(); this.instance_5.parent = this; this.instance_5.setTransform(320,640,1,1,0,0,0,320,640); this.instance_5.filters = [new cjs.ColorFilter(0.5, 0.5, 0.5, 1, 127.5, 127.5, 127.5, 0), new cjs.BlurFilter(16, 16, 1)]; this.instance_5.cache(-2,-2,644,1284); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_4},{t:this.instance_3}]}).to({state:[{t:this.instance_5}]},5).to({state:[]},6).to({state:[]},12).wait(1)); // レイヤー 1 this.panel_15 = new lib.シンボル16(); this.panel_15.parent = this; this.panel_15.setTransform(-173.9,653.1,1,1,0,0,0,70,70); this.panel_14 = new lib.シンボル15(); this.panel_14.parent = this; this.panel_14.setTransform(-373.9,653.1,1,1,0,0,0,70,70); this.panel_13 = new lib.シンボル14(); this.panel_13.parent = this; this.panel_13.setTransform(-618.9,653.1,1,1,0,0,0,70,70); this.panel_12 = new lib.シンボル13(); this.panel_12.parent = this; this.panel_12.setTransform(-833.4,653.1,1,1,0,0,0,70.5,70); this.panel_11 = new lib.シンボル12(); this.panel_11.parent = this; this.panel_11.setTransform(-173.9,474.1,1,1,0,0,0,70,70); this.panel_10 = new lib.シンボル11(); this.panel_10.parent = this; this.panel_10.setTransform(-373.9,474.1,1,1,0,0,0,70,70); this.panel_09 = new lib.シンボル10(); this.panel_09.parent = this; this.panel_09.setTransform(-618.9,474.1,1,1,0,0,0,70,70); this.panel_08 = new lib.シンボル9(); this.panel_08.parent = this; this.panel_08.setTransform(-833.4,474.1,1,1,0,0,0,70.5,70); this.panel_07 = new lib.シンボル8(); this.panel_07.parent = this; this.panel_07.setTransform(-173.9,294.1,1,1,0,0,0,70,70); this.panel_06 = new lib.シンボル7(); this.panel_06.parent = this; this.panel_06.setTransform(-373.9,294.1,1,1,0,0,0,70,70); this.panel_05 = new lib.シンボル6(); this.panel_05.parent = this; this.panel_05.setTransform(-618.9,294.1,1,1,0,0,0,70,70); this.panel_04 = new lib.シンボル5(); this.panel_04.parent = this; this.panel_04.setTransform(-833.4,294.1,1,1,0,0,0,70.5,70); this.panel_03 = new lib.シンボル4(); this.panel_03.parent = this; this.panel_03.setTransform(-173.9,99.1,1,1,0,0,0,70,70); this.panel_02 = new lib.シンボル3(); this.panel_02.parent = this; this.panel_02.setTransform(-373.9,99.1,1,1,0,0,0,70,70); this.panel_01 = new lib.シンボル2(); this.panel_01.parent = this; this.panel_01.setTransform(-618.9,99.1,1,1,0,0,0,70,70); this.panel_00 = new lib.シンボル1(); this.panel_00.parent = this; this.panel_00.setTransform(-833.4,99.1,1,1,0,0,0,70.5,70); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.panel_00},{t:this.panel_01},{t:this.panel_02},{t:this.panel_03},{t:this.panel_04},{t:this.panel_05},{t:this.panel_06},{t:this.panel_07},{t:this.panel_08},{t:this.panel_09},{t:this.panel_10},{t:this.panel_11},{t:this.panel_12},{t:this.panel_13},{t:this.panel_14},{t:this.panel_15}]}).to({state:[{t:this.panel_00},{t:this.panel_01},{t:this.panel_02},{t:this.panel_03},{t:this.panel_04},{t:this.panel_05},{t:this.panel_06},{t:this.panel_07},{t:this.panel_08},{t:this.panel_09},{t:this.panel_10},{t:this.panel_11},{t:this.panel_12},{t:this.panel_13},{t:this.panel_14},{t:this.panel_15}]},17).to({state:[]},2).to({state:[]},4).wait(1)); // Background this.instance_6 = new lib.obj_backgraound(); this.instance_6.parent = this; this.instance_6.setTransform(320,640,1,1,0,0,0,320,640); this.instance_6._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(11).to({_off:false},0).wait(6).to({_off:true},6).wait(1)); // レイヤー 2 this.mc_Background = new lib.シンボル25(); this.mc_Background.parent = this; this.mc_Background.setTransform(-377,1952.4,1,1,0,0,0,320,640); this.timeline.addTween(cjs.Tween.get(this.mc_Background).wait(7).to({x:320,y:640},0).to({_off:true},2).wait(10).to({_off:false},0).to({_off:true},2).wait(3)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-583.9,640,1544,2592.4); // library properties: lib.properties = { id: 'A50E88D1ABC70C4EB10C8BB8E5E62799', width: 640, height: 1280, fps: 60, color: "#FFFFFF", opacity: 1.00, webfonts: {}, manifest: [ {src:"images/alpha.png", id:"alpha"}, {src:"images/clear.png", id:"clear"}, {src:"images/frame.png", id:"frame"}, {src:"files/image/init.jpg", id:"image_sample3"}, {src:"images/start.png", id:"start"} ], 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