(function (lib, img, cjs, ss) { var p; // shortcut to reference prototypes lib.webFontTxtFilters = {}; // library properties: lib.properties = { width: 300, height: 300, fps: 12, color: "#B4DDC7", opacity: 1.00, webfonts: {}, manifest: [] }; lib.ssMetadata = []; lib.webfontAvailable = function(family) { lib.properties.webfonts[family] = true; var txtFilters = lib.webFontTxtFilters && lib.webFontTxtFilters[family] || []; for(var f = 0; f < txtFilters.length; ++f) { txtFilters[f].updateCache(); } }; // symbols: (lib.Tween7 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.shape = new cjs.Shape(); this.shape.graphics.rf(["#0000FF","#000000"],[0,1],0,0,0,0,0,25.9).s().p("Ai0C1QhMhLAAhqQAAhpBMhLQBLhMBpAAQBqAABLBMQBMBLAABpQAABqhMBLQhLBMhqAAQhpAAhLhMg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-25.7,-25.7,51.5,51.5); (lib.Tween5 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.shape = new cjs.Shape(); this.shape.graphics.rf(["#FF0000","#000000"],[0,1],0,0,0,0,0,17.3).s().p("Ah1B2QgxgxAAhFQAAhEAxgxQAxgxBEAAQBFAAAxAxQAxAxAABEQAABFgxAxQgxAxhFAAQhEAAgxgxg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-16.7,-16.7,33.5,33.5); (lib.Proton = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.shape = new cjs.Shape(); this.shape.graphics.rf(["#00FF00","#000000"],[0,1],0,0,0,0,0,3.6).s().p("AgXAYQgLgKAAgOQAAgNALgKQAKgKANAAQAOAAAKAKQAKAKAAANQAAAOgKAKQgKALgOgBQgNABgKgLg"); this.shape.setTransform(3.5,3.5); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(0,0,7,7); (lib.Neutron = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.shape = new cjs.Shape(); this.shape.graphics.rf(["#FFFFFF","#000000"],[0,1],0,0,0,0,0,3.8).s().p("AgZAZQgLgKAAgPQAAgOALgLQALgLAOAAQAPAAAKALQALALAAAOQAAAPgLAKQgKAMgPAAQgOAAgLgMg"); this.shape.setTransform(3.7,3.7); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(0,0,7.4,7.4); (lib.Target = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.instance = new lib.Tween7("synched",0); this.instance.setTransform(25.8,25.8); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(0,0,51.5,51.5); (lib.Projectile = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.instance = new lib.Tween5("synched",0); this.instance.setTransform(16.8,16.8); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(0,0,33.5,33.5); // stage content: (lib.demo = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 4 this.instance = new lib.Neutron(); this.instance.setTransform(344,211,1,1,0,0,0,3.7,3.7); this.timeline.addTween(cjs.Tween.get(this.instance).wait(4).to({x:248},5).to({x:233,y:178},5).to({x:177,y:194},4).to({x:196,y:186.2},6).to({x:146.4,y:150.1},5).to({x:184.1,y:141},5).to({x:225,y:110.6},6).to({x:232.2,y:123.9},4).to({x:266,y:92},6).to({x:288,y:111},3).to({x:278.3,y:101},5).to({x:326,y:105.6},6).to({x:319,y:88},5).to({x:342.3,y:124.1},5).wait(1)); // Layer 3 this.instance_1 = new lib.Proton(); this.instance_1.setTransform(346.3,165.4,1,1,0,0,0,3.5,3.5); this.timeline.addTween(cjs.Tween.get(this.instance_1).to({x:294.3,y:201.4},4).to({x:260.3,y:165.4},5).to({x:216.3,y:221.1},5).to({x:220.3,y:196.4},5).to({x:152.4,y:186.4},5).to({x:154.4,y:158.6},5).to({x:184.3,y:117.4},5).to({x:186.3,y:110.4},6).to({x:244.3,y:95.1},4).to({x:261.3,y:122.4},5).to({x:263.3,y:96.4},5).to({x:316.1,y:102.4},5).to({x:298.3,y:105.4},5).to({x:346.3},5).to({x:342.3,y:90.6},5).wait(1)); // Layer 2 this.instance_2 = new lib.Projectile(); this.instance_2.setTransform(-40.6,125.4,1,1,0,0,0,16.8,16.8); this.timeline.addTween(cjs.Tween.get(this.instance_2).to({x:69.4},14).to({scaleY:1.48,x:146.4},15).to({scaleX:1.48,scaleY:1,x:231.4,y:108.4},15).to({scaleX:1,scaleY:1.36,x:299.4,y:102.4},15).to({scaleY:1,x:342.4,y:107.4},15).wait(1)); // Layer 1 this.instance_3 = new lib.Target(); this.instance_3.setTransform(345.4,195.4,1,1,0,0,0,25.8,25.8); this.timeline.addTween(cjs.Tween.get(this.instance_3).to({x:216.4},14).to({scaleY:1.43,x:154.4},15).to({scaleX:1.31,scaleY:1,x:73.4,y:208.4},15).to({scaleX:1,scaleY:1.23,x:8.4,y:209.4},15).to({scaleY:1,x:-45.6,y:215.4},15).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(92.6,258.6,428.5,112.5); })(lib = lib||{}, images = images||{}, createjs = createjs||{}, ss = ss||{}); var lib, images, createjs, ss;