(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 = [ {name:"D0043_atlas_", frames: [[302,0,128,45],[0,528,728,90],[0,252,728,90],[0,0,300,250],[0,344,728,90],[0,436,728,90]]} ]; 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.Findoutmorered = function() { this.spriteSheet = ss["D0043_atlas_"]; this.gotoAndStop(0); }).prototype = p = new cjs.Sprite(); (lib.From_3599perperson = function() { this.spriteSheet = ss["D0043_atlas_"]; this.gotoAndStop(1); }).prototype = p = new cjs.Sprite(); (lib.Iguazu_intheFalls = function() { this.spriteSheet = ss["D0043_atlas_"]; this.gotoAndStop(2); }).prototype = p = new cjs.Sprite(); (lib.ImagineLogoThicker = function() { this.spriteSheet = ss["D0043_atlas_"]; this.gotoAndStop(3); }).prototype = p = new cjs.Sprite(); (lib.Overlay_Blue_ = function() { this.spriteSheet = ss["D0043_atlas_"]; this.gotoAndStop(4); }).prototype = p = new cjs.Sprite(); (lib.Waterfalls_andwonders = function() { this.spriteSheet = ss["D0043_atlas_"]; this.gotoAndStop(5); }).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.Tween4 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.instance = new lib.Overlay_Blue_(); this.instance.parent = this; this.instance.setTransform(-364,-45); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-364,-45,728,90); (lib.Tween3 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.instance = new lib.Overlay_Blue_(); this.instance.parent = this; this.instance.setTransform(-364,-45); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-364,-45,728,90); (lib.Symbol7 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.instance = new lib.Findoutmorered(); this.instance.parent = this; this.instance.setTransform(0,0,0.867,0.867); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol7, new cjs.Rectangle(0,0,111,39), null); (lib.Symbol6 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.instance = new lib.From_3599perperson(); this.instance.parent = this; this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol6, new cjs.Rectangle(0,0,728,90), null); (lib.Symbol5 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.instance = new lib.Waterfalls_andwonders(); this.instance.parent = this; this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol5, new cjs.Rectangle(0,0,728,90), null); (lib.Symbol2 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.instance = new lib.ImagineLogoThicker(); this.instance.parent = this; this.instance.setTransform(0,0,0.216,0.216); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol2, new cjs.Rectangle(0,0,64.8,54), null); (lib.Loop = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.shape = new cjs.Shape(); this.shape.graphics.f("rgba(102,102,102,0.6)").s().p("Ehj1AgMMAAAhAXMDHrAAAMAAABAXg"); this.shape.setTransform(639,-206); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(0,-411.9,1277.9,412); // stage content: (lib.D0043 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_172 = function() { if(!this.alreadyExecuted){ this.alreadyExecuted=true; this.loopNum=1; } else { this.loopNum++; if(this.loopNum==3){ this.stop(); } } } // actions tween: this.timeline.addTween(cjs.Tween.get(this).wait(172).call(this.frame_172).wait(2)); // Layer 5 this.Looping = new lib.Loop(); this.Looping.parent = this; this.Looping.setTransform(459.1,131,1,1,0,0,0,639,-206); this.Looping.alpha = 0; new cjs.ButtonHelper(this.Looping, 0, 1, 1); this.shape = new cjs.Shape(); this.shape.graphics.f().s("#FFFFFF").ss(1,1,1).p("Ehj1ggLMDHrAAAMAAABAXMjHrAAAg"); this.shape.setTransform(459,131); this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.shape},{t:this.Looping}]},172).to({state:[]},1).wait(1)); // From 3599 this.instance = new lib.Symbol6(); this.instance.parent = this; this.instance.setTransform(363,45,1,1,0,0,0,364,45); this.instance.alpha = 0; this.instance._off = true; this.timeline.addTween(cjs.Tween.get(this.instance).wait(108).to({_off:false},0).wait(1).to({alpha:0.093},0).wait(1).to({alpha:0.185},0).wait(1).to({alpha:0.278},0).wait(1).to({alpha:0.37},0).wait(1).to({alpha:0.427},0).wait(1).to({alpha:0.483},0).wait(1).to({alpha:0.54},0).wait(1).to({alpha:0.597},0).wait(1).to({alpha:0.653},0).wait(1).to({alpha:0.71},0).wait(1).to({alpha:0.768},0).wait(1).to({alpha:0.826},0).wait(1).to({alpha:0.884},0).wait(1).to({alpha:0.942},0).wait(1).to({alpha:1},0).wait(51)); // Find out more this.instance_1 = new lib.Symbol7(); this.instance_1.parent = this; this.instance_1.setTransform(671.5,61.5,1,1,0,0,0,55.5,19.5); this.instance_1.alpha = 0; this.instance_1._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(53).to({_off:false},0).wait(1).to({alpha:0.041},0).wait(1).to({alpha:0.083},0).wait(1).to({alpha:0.124},0).wait(1).to({alpha:0.166},0).wait(1).to({alpha:0.207},0).wait(1).to({alpha:0.249},0).wait(1).to({alpha:0.29},0).wait(1).to({alpha:0.326},0).wait(1).to({alpha:0.363},0).wait(1).to({alpha:0.399},0).wait(1).to({alpha:0.435},0).wait(1).to({alpha:0.471},0).wait(1).to({alpha:0.507},0).wait(1).to({alpha:0.544},0).wait(1).to({alpha:0.58},0).wait(1).to({alpha:0.72},0).wait(1).to({alpha:0.86},0).wait(1).to({alpha:1},0).wait(103)); // Small imagine logo this.instance_2 = new lib.Symbol2(); this.instance_2.parent = this; this.instance_2.setTransform(677.4,29,1,1,0,0,0,32.4,27); this.instance_2.alpha = 0; this.instance_2._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(53).to({_off:false},0).wait(1).to({alpha:0.031},0).wait(1).to({alpha:0.063},0).wait(1).to({alpha:0.094},0).wait(1).to({alpha:0.126},0).wait(1).to({alpha:0.157},0).wait(1).to({alpha:0.189},0).wait(1).to({alpha:0.22},0).wait(1).to({alpha:0.283},0).wait(1).to({alpha:0.345},0).wait(1).to({alpha:0.408},0).wait(1).to({alpha:0.47},0).wait(1).to({alpha:0.533},0).wait(1).to({alpha:0.595},0).wait(1).to({alpha:0.658},0).wait(1).to({alpha:0.72},0).wait(1).to({alpha:0.813},0).wait(1).to({alpha:0.907},0).wait(1).to({alpha:1},0).wait(103)); // Visit waterfalls and wonders this.instance_3 = new lib.Symbol5(); this.instance_3.parent = this; this.instance_3.setTransform(362,45,1,1,0,0,0,364,45); this.instance_3.alpha = 0; this.instance_3._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(38).to({_off:false},0).wait(1).to({alpha:0.034},0).wait(1).to({alpha:0.067},0).wait(1).to({alpha:0.101},0).wait(1).to({alpha:0.135},0).wait(1).to({alpha:0.168},0).wait(1).to({alpha:0.202},0).wait(1).to({alpha:0.235},0).wait(1).to({alpha:0.269},0).wait(1).to({alpha:0.303},0).wait(1).to({alpha:0.336},0).wait(1).to({alpha:0.37},0).wait(1).to({alpha:0.46},0).wait(1).to({alpha:0.55},0).wait(1).to({alpha:0.64},0).wait(1).to({alpha:0.73},0).wait(1).to({alpha:0.82},0).wait(1).to({alpha:0.91},0).wait(1).to({alpha:1},0).wait(1).to({alpha:0.991},0).wait(1).to({alpha:0.982},0).wait(1).to({alpha:0.973},0).wait(1).to({alpha:0.965},0).wait(1).to({alpha:0.956},0).wait(1).to({alpha:0.947},0).wait(1).to({alpha:0.938},0).wait(1).to({alpha:0.929},0).wait(1).to({alpha:0.92},0).wait(1).to({alpha:0.912},0).wait(1).to({alpha:0.903},0).wait(1).to({alpha:0.894},0).wait(1).to({alpha:0.885},0).wait(1).to({alpha:0.876},0).wait(1).to({alpha:0.867},0).wait(1).to({alpha:0.859},0).wait(1).to({alpha:0.85},0).wait(1).to({alpha:0.841},0).wait(1).to({alpha:0.832},0).wait(1).to({alpha:0.823},0).wait(1).to({alpha:0.814},0).wait(1).to({alpha:0.806},0).wait(1).to({alpha:0.797},0).wait(1).to({alpha:0.788},0).wait(1).to({alpha:0.779},0).wait(1).to({alpha:0.77},0).wait(1).to({alpha:0.761},0).wait(1).to({alpha:0.753},0).wait(1).to({alpha:0.744},0).wait(1).to({alpha:0.735},0).wait(1).to({alpha:0.726},0).wait(1).to({alpha:0.717},0).wait(1).to({alpha:0.708},0).wait(1).to({alpha:0.7},0).wait(1).to({alpha:0.691},0).wait(1).to({alpha:0.682},0).wait(1).to({alpha:0.673},0).wait(1).to({alpha:0.664},0).wait(1).to({alpha:0.655},0).wait(1).to({alpha:0.647},0).wait(1).to({alpha:0.638},0).wait(1).to({alpha:0.629},0).wait(1).to({alpha:0.62},0).wait(1).to({alpha:0.55},0).wait(1).to({alpha:0.48},0).wait(1).to({alpha:0.41},0).wait(1).to({alpha:0.34},0).wait(1).to({alpha:0.227},0).wait(1).to({alpha:0.113},0).wait(1).to({alpha:0},0).to({_off:true},1).wait(67)); // Overlay this.instance_4 = new lib.Tween3("synched",0); this.instance_4.parent = this; this.instance_4.setTransform(67,45); this.instance_4._off = true; this.instance_5 = new lib.Tween4("synched",0); this.instance_5.parent = this; this.instance_5.setTransform(364,45); this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.instance_4}]},38).to({state:[{t:this.instance_5}]},18).wait(118)); this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(38).to({_off:false},0).to({_off:true,x:364},18,cjs.Ease.get(1)).wait(118)); // Imagine logo this.instance_6 = new lib.ImagineLogoThicker(); this.instance_6.parent = this; this.instance_6.setTransform(620,6,0.355,0.355); this.timeline.addTween(cjs.Tween.get(this.instance_6).to({_off:true},46).wait(128)); // Square this.shape_1 = new cjs.Shape(); this.shape_1.graphics.f().s("#FFFFFF").ss(1,1,1).p("ADgoFIgRAoIgIASIgGANQAAABAAABIgHAPIhRC7IgEAKIg0B3IgRAoIhhDiIgNAeIgHAQIgHARIgRAnIgJAUQAAABgBABIgBADQAAABgBABIgKAYIgHAQIgJATIgIAUIgBACIgXA3IgsBk"); this.shape_1.setTransform(604,47.8); this.shape_2 = new cjs.Shape(); this.shape_2.graphics.f("#053A4E").s().p("ArkHWIBGiiIAAAAIFRsJIQyAAIAAOrgArWGpIAAgDIABAAIAAgCIAAAAIABgCIACgBIAAgDIAAgEIABAAIACgFIABgBIAAgDIAAAAQACgCAAgDIABgBIACgFIABgBIAAgBIADgFIAFgJIABgCIABgBQgBAAAAgBQAAAAAAAAQAAAAAAAAQABAAAAAAIABgBIAAgBIAIgPQAAgBAAAAQABgBAAAAQAAgBAAAAQgBgBAAAAIAJgTIgJATIgBgCIgBAAIABgDIABgCIACAAIACgFIAAgBQACgCABgFIACABIACgCIABgBIgtBogAq+FzIgYA2IAYg2IABgCgAqoFEQAAAAAAgBQAAAAAAAAQAAAAAAAAQAAAAAAAAIABgCIACgGIAAgBIAKgYIABgCIABgBIAAgCIABgCIABgCIACgCIABgDIACAAIgXAzQAAgBAAAAQAAgBAAAAQAAAAAAgBQABAAAAAAgAqnE4IAAAAIAAgCIABAAIABgBIABgBIABgCIAAAAIABgFIAAAAIABgCIAAAAIAGgJIgKAYIgCgCgAqPEHIgBgDIACgBQgBgFACgDIAAgBIACgDIADgHIABgDIAAgBIADgFIABgEIADgBIABgCIgQAnIAQgnIACgDQAEgFABgFIABgEIAHgQIABAAQAAAAABgBQAAAAAAAAQAAgBABgBQAAgBAAgBQABgDAGgKQADgIAAgEIgBgEIgBAAIACgFIABAAIABgCQADgGADgJIACgCQACgCABgEIAGgNQABgDgBgBIgBAAIAHgOIAEgJIABgEIABgBIADgGIAbg/IAFgHQACgCgBgDIgCAAIACgBIAKgXIALgUIAGgPIAEgHIhiDiIBijiIAGgLIAEgGIiZFfIABgGgAp/DggAp2DJQAAgFADgEIABgBIACAAIgHAQIABgGgApwC/gApbg2IABAAIgBAAgAoBhBgAoBhUIAAAAIAAAAgAnwhpIAAgBIgCAAIAAgCIAGgMIACgCIAFgMIABgBQACgEAAgEIADgGIADgGIABgEIABAAIAAgBIAAgDIACgEIACgDIACgEQADgIAEgHIAEgIQAFgIACgKIAGgJIADgGQABgBAAAAQAAgBAAAAQAAgBAAAAQAAgBAAAAIBRi7IAGgPIgGAPIhRC7IAAAAIgBAAIABgDIAEgMIAAgBIABAAIAAgBIACAAIAAgEIABgBIAWgwIACgIIACgDIAAAAIADgHIABAAIAAgBQAAgBAAAAQABAAAAAAQAAgBAAAAQAAgBAAgBIAAgDIABAAIAAgBIABgBIAEgHIABgCIABgGIABgBIAAgBQAAgBAAAAQAAAAAAgBQAAAAABgBQAAAAAAgBIADgGIABgBIACgEIABgBIAAgEIADgEIABgCIABgCIACgEIABgCIAAgDIACAAIAAgDIAAAAIAEgLIACgEIACgHIABAAIAAgBIACgEQABAAAAAAQAAAAAAAAQABgBAAAAQAAAAAAgBIABgCIABgBIAAgEIAAgCIACgCIAEgHIAAAAIABgCIAGgNIAHgSIgHASIgGANIAAgBIAAAAIAAgCIABgBIABgEIABgBIAAAAIACgFIABABIAAgCIAAAAIABgCIAAgBQACgCgBgDIABgDIABgCIACgDIABAAIAEAAIijF2gAnwhpIA0h3gAmxkWIAAABIAAAAIAAgBg"); this.shape_2.setTransform(658.6,47); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape_2},{t:this.shape_1}]}).wait(174)); // Main banner image this.instance_7 = new lib.Iguazu_intheFalls(); this.instance_7.parent = this; this.instance_7.setTransform(-2,0); this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(174)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(362,40,734.8,105.6); // library properties: lib.properties = { id: '7BB214E1DFF74BFBA9D37B3342D4684E', width: 728, height: 90, fps: 20, color: "#FFFFFF", opacity: 1.00, webfonts: {}, manifest: [ {src:"images/D0043_atlas_.png", id:"D0043_atlas_"} ], 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