The following is my JS file code.
(function (lib, img, cjs) {
var p; // shortcut to reference prototypes
// stage content:
(lib.bouncing_ball = function(mode,startPosition,loop) {
this.initialize(mode,startPosition,loop,{});
// Layer 1
this.instance = new lib.secondball();
this.instance.setTransform(-67.9,37,1,1,0,0,0,41.5,41.5);
this.timeline.addTween(cjs.Tween.get(this.instance).to({guide:{path:[-67.8,37.2,-17.3,37.2,33.1,37.2,139.7,49.3,196,87.3,207.2,94.9,216.4,103.4,236.4,122,245.5,144.2,252,160.2,252,175.5,252,191.6,238.4,207.8,226.9,221.6,207,234,190,244.6,171.4,251.6,154.3,258,145.5,258,103,258,103,189.5,103,134.4,171.8,98.5,183,92.6,196,87.3,247.3,66.1,325.7,53.6,397.6,42.1,486.9,38.6,522,37.1,576.8,37.1]}},79).wait(1));
// ball
this.instance_1 = new lib.bouncingball();
this.instance_1.setTransform(-60.9,161,1,1,0,0,0,47.5,47.5);
this.timeline.addTween(cjs.Tween.get(this.instance_1).to({regX:0,regY:0,rotation:45,x:285,y:387},39).to({regX:47.5,regY:47.5,rotation:-59.8,x:606,y:189},40,cjs.Ease.get(0.14)).wait(1));
}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-109.4,-4.4,96,213);
// symbols:
(lib.secondball = function() {
this.initialize();
// Layer 1
this.shape = new cjs.Shape();
this.shape.graphics.f(“#CC99CC”).s().p(“AkkElQh6h5AAisQAAirB6h5QB5h6CrAAQCsAAB5B6QB5B5AACrQAACsh5B5Qh5B5isAAQirAAh5h5g”);
this.shape.setTransform(41.5,41.5);
this.addChild(this.shape);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,83,83);
(lib.bouncingball = function() {
this.initialize();
// Layer 1
this.shape = new cjs.Shape();
this.shape.graphics.f().s(“#000000”).ss(1,1,1).p(“AHbAAQAADFiMCKQiKCMjFAAQjEAAiLiMQiLiKAAjFQAAjECLiLQCLiLDEAAQDFAACKCLQCMCLAADEg”);
this.shape.setTransform(47.5,47.5);
this.shape_1 = new cjs.Shape();
this.shape_1.graphics.f(“#FFFFFF”).s().p(“AlPFPQiLiLAAjEQAAjDCLiMQCMiLDDAAQDEAACLCLQCLCMABDDQgBDEiLCLQiLCLjEABQjDgBiMiLg”);
this.shape_1.setTransform(47.5,47.5);
this.addChild(this.shape_1,this.shape);
}).prototype = p = new cjs.Container();
p.nominalBounds = new cjs.Rectangle(0,0,95,95);
})(lib = lib||{}, images = images||{}, createjs = createjs||{});
var lib, images, createjs;