Yamaha HMEX upgrade banner 346x288
(function (cjs, an) {
var p; // shortcut to reference prototypes
var lib={};var ss={};var img={};
lib.ssMetadata = [
{name:"Yamaha HMEX upgrade banner 346x288_atlas_1", frames: [[0,673,91,89],[93,673,64,89],[462,645,209,45],[462,578,253,65],[247,578,213,89],[247,669,100,89],[0,578,245,93],[0,0,692,576]]}
];
(lib.AnMovieClip = function(){
this.actionFrames = [];
this.ignorePause = false;
this.gotoAndPlay = function(positionOrLabel){
cjs.MovieClip.prototype.gotoAndPlay.call(this,positionOrLabel);
}
this.play = function(){
cjs.MovieClip.prototype.play.call(this);
}
this.gotoAndStop = function(positionOrLabel){
cjs.MovieClip.prototype.gotoAndStop.call(this,positionOrLabel);
}
this.stop = function(){
cjs.MovieClip.prototype.stop.call(this);
}
}).prototype = p = new cjs.MovieClip();
// symbols:
(lib.CachedBmp_7 = function() {
this.initialize(ss["Yamaha HMEX upgrade banner 346x288_atlas_1"]);
this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_6 = function() {
this.initialize(ss["Yamaha HMEX upgrade banner 346x288_atlas_1"]);
this.gotoAndStop(1);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_5 = function() {
this.initialize(ss["Yamaha HMEX upgrade banner 346x288_atlas_1"]);
this.gotoAndStop(2);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_4 = function() {
this.initialize(ss["Yamaha HMEX upgrade banner 346x288_atlas_1"]);
this.gotoAndStop(3);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_3 = function() {
this.initialize(ss["Yamaha HMEX upgrade banner 346x288_atlas_1"]);
this.gotoAndStop(4);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_2 = function() {
this.initialize(ss["Yamaha HMEX upgrade banner 346x288_atlas_1"]);
this.gotoAndStop(5);
}).prototype = p = new cjs.Sprite();
(lib.CachedBmp_1 = function() {
this.initialize(ss["Yamaha HMEX upgrade banner 346x288_atlas_1"]);
this.gotoAndStop(6);
}).prototype = p = new cjs.Sprite();
(lib.Artboard1 = function() {
this.initialize(ss["Yamaha HMEX upgrade banner 346x288_atlas_1"]);
this.gotoAndStop(7);
}).prototype = p = new cjs.Sprite();
(lib.HelmMasterEX_Logowhitewithoutyamaha = function() {
this.initialize(img.HelmMasterEX_Logowhitewithoutyamaha);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,2138,260);// helper functions:
function mc_symbol_clone() {
var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop, this.reversed));
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.THE = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
var props = new Object();
props.mode = mode;
props.startPosition = startPosition;
props.labels = {};
props.loop = loop;
props.reversed = reversed;
cjs.MovieClip.apply(this,[props]);
// Layer_1
this.instance = new lib.CachedBmp_7();
this.instance.setTransform(-49.25,-22.25,0.5,0.5);
this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
this._renderFirstFrame();
}).prototype = getMCSymbolPrototype(lib.THE, new cjs.Rectangle(-49.2,-22.2,45.5,44.5), null);
(lib.OF = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
var props = new Object();
props.mode = mode;
props.startPosition = startPosition;
props.labels = {};
props.loop = loop;
props.reversed = reversed;
cjs.MovieClip.apply(this,[props]);
// Layer_1
this.instance = new lib.CachedBmp_6();
this.instance.setTransform(-16.05,-22.25,0.5,0.5);
this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
this._renderFirstFrame();
}).prototype = getMCSymbolPrototype(lib.OF, new cjs.Rectangle(-16,-22.2,32,44.5), null);
(lib.HELMMSTER_LOGO = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
var props = new Object();
props.mode = mode;
props.startPosition = startPosition;
props.labels = {};
props.loop = loop;
props.reversed = reversed;
cjs.MovieClip.apply(this,[props]);
// Layer_1
this.instance = new lib.HelmMasterEX_Logowhitewithoutyamaha();
this.instance.setTransform(-123.35,-15,0.1154,0.1154);
this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
this._renderFirstFrame();
}).prototype = getMCSymbolPrototype(lib.HELMMSTER_LOGO, new cjs.Rectangle(-123.3,-15,246.7,30), null);
(lib.CTA = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
var props = new Object();
props.mode = mode;
props.startPosition = startPosition;
props.labels = {};
props.loop = loop;
props.reversed = reversed;
cjs.MovieClip.apply(this,[props]);
// Layer_1
this.instance = new lib.CachedBmp_5();
this.instance.setTransform(-52.35,-12.15,0.5,0.5);
this.instance_1 = new lib.CachedBmp_4();
this.instance_1.setTransform(-63.25,-16.35,0.5,0.5);
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
this._renderFirstFrame();
}).prototype = getMCSymbolPrototype(lib.CTA, new cjs.Rectangle(-63.2,-16.3,126.5,32.5), null);
(lib.BOATING = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
var props = new Object();
props.mode = mode;
props.startPosition = startPosition;
props.labels = {};
props.loop = loop;
props.reversed = reversed;
cjs.MovieClip.apply(this,[props]);
// Layer_1
this.instance = new lib.CachedBmp_3();
this.instance.setTransform(-36.1,-29.85,0.5,0.5);
this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
this._renderFirstFrame();
}).prototype = getMCSymbolPrototype(lib.BOATING, new cjs.Rectangle(-36.1,-29.8,106.5,44.5), null);
(lib.ART = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
var props = new Object();
props.mode = mode;
props.startPosition = startPosition;
props.labels = {};
props.loop = loop;
props.reversed = reversed;
cjs.MovieClip.apply(this,[props]);
// Layer_1
this.instance = new lib.CachedBmp_2();
this.instance.setTransform(-24.85,-22.25,0.5,0.5);
this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
this._renderFirstFrame();
}).prototype = getMCSymbolPrototype(lib.ART, new cjs.Rectangle(-24.8,-22.2,50,44.5), null);
// stage content:
(lib.YamahaHELMEXMPUbanner346x288 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
var props = new Object();
props.mode = mode;
props.startPosition = startPosition;
props.labels = {};
props.loop = loop;
props.reversed = reversed;
cjs.MovieClip.apply(this,[props]);
// THE
this.instance = new lib.THE();
this.instance.setTransform(56.6,30.25);
this.instance.alpha = 0;
this.timeline.addTween(cjs.Tween.get(this.instance).to({alpha:1},20).wait(190));
// ART
this.instance_1 = new lib.ART();
this.instance_1.setTransform(80.75,30.25);
this.instance_1.alpha = 0;
this.instance_1._off = true;
this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(4).to({_off:false},0).to({alpha:1},20).wait(186));
// OF
this.instance_2 = new lib.OF();
this.instance_2.setTransform(23,152.5);
this.instance_2.alpha = 0;
this.instance_2._off = true;
this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(14).to({_off:false},0).to({alpha:1},20).wait(176));
// BOATING
this.instance_3 = new lib.BOATING();
this.instance_3.setTransform(79.3,160.1);
this.instance_3.alpha = 0;
this.instance_3._off = true;
this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(19).to({_off:false},0).to({alpha:1},20).wait(171));
// HMEX_logo
this.instance_4 = new lib.HELMMSTER_LOGO();
this.instance_4.setTransform(187.55,193.65,1.4431,1.4417,0,0,0,-0.3,-0.8);
this.instance_4.alpha = 0;
this.instance_4._off = true;
this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(47).to({_off:false},0).to({regX:0,regY:0,scaleX:1,scaleY:1,x:135.35,y:197,alpha:1},20,cjs.Ease.quintOut).wait(143));
// CTA_button
this.instance_5 = new lib.CTA();
this.instance_5.setTransform(422.05,259.9);
this.instance_5._off = true;
this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(85).to({_off:false},0).to({x:270.05},22,cjs.Ease.quintInOut).wait(103));
// Logo
this.instance_6 = new lib.CachedBmp_1();
this.instance_6.setTransform(0,229.8,0.5,0.5);
this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(210));
// BG_image
this.instance_7 = new lib.Artboard1();
this.instance_7.setTransform(0,0,0.503,0.503);
this.shape = new cjs.Shape();
this.shape.graphics.f("#000000").s().p("AjFA4QhSgXAAghQAAgfBSgYQBSgXBzAAQB0AABSAXQBSAYAAAfQAAAhhSAXQhSAXh0AAQhzAAhSgXg");
this.shape.setTransform(276.675,276.05);
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape},{t:this.instance_7}]}).wait(210));
this._renderFirstFrame();
}).prototype = p = new lib.AnMovieClip();
p.nominalBounds = new cjs.Rectangle(173,144,312.3,145.8);
// library properties:
lib.properties = {
id: 'A2DC7EB1BCA84EF5AC3E7E86D772371D',
width: 346,
height: 288,
fps: 30,
color: "#FFFFFF",
opacity: 1.00,
manifest: [
{src:"images/HelmMasterEX_Logowhitewithoutyamaha.png", id:"HelmMasterEX_Logowhitewithoutyamaha"},
{src:"images/Yamaha HMEX upgrade banner 346x288_atlas_1.png", id:"Yamaha HMEX upgrade banner 346x288_atlas_1"}
],
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