(function (cjs, an) { var p; // shortcut to reference prototypes var lib={};var ss={};var img={}; var rect; // used to reference frame bounds lib.ssMetadata = []; // symbols: (lib.Asset18 = function() { this.initialize(img.Asset18); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,407,142); (lib.NEN = function() { this.initialize(img.NEN); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,970,250); (lib.uonglavui = function() { this.initialize(img.uonglavui); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,282,121);// 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.Symbol2 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer_1 this.instance = new lib.uonglavui(); this.instance.parent = this; this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = rect = new cjs.Rectangle(0,0,282,121); p.frameBounds = [rect]; (lib.Symbol1 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer_1 this.instance = new lib.Asset18(); this.instance.parent = this; this.instance.setTransform(0,0,0.3124,0.3124); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = rect = new cjs.Rectangle(0,0,127.2,44.4); p.frameBounds = [rect]; (lib.Tween4 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer_1 this.shape = new cjs.Shape(); this.shape.graphics.lf(["rgba(255,255,255,0)","rgba(255,255,255,0.6)","#FFFFFF","rgba(255,255,255,0)"],[0,0.224,0.533,1],-14.5,3.9,14.6,-3.9).s().p("AlarIIEjhOIGSXfIkjBOg"); this.shape.setTransform(0.025,0.025); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = rect = new cjs.Rectangle(-34.7,-79,69.5,158.1); p.frameBounds = [rect]; (lib.Tween3 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer_1 this.shape = new cjs.Shape(); this.shape.graphics.lf(["rgba(255,255,255,0)","rgba(255,255,255,0.6)","#FFFFFF","rgba(255,255,255,0)"],[0,0.224,0.533,1],-14.5,3.9,14.6,-3.9).s().p("AlarIIEjhOIGSXfIkjBOg"); this.shape.setTransform(0.025,0.025); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = rect = new cjs.Rectangle(-34.7,-79,69.5,158.1); p.frameBounds = [rect]; (lib.mcVideo = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { $z.zsplayer = $z._sPlayer({ video: "https://adtima-video.zadn.vn/2020/06/d9e9f917-f2ba-47c1-bcd2-5e65fb368fa6.mp4", poster: "", box: this, teaser: true, control: true, ads: true }); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1)); // bg this.shape = new cjs.Shape(); this.shape.graphics.f("rgba(0,0,153,0.498)").s().p("A4rOGIAA8LMAxXAAAIAAcLg"); this.shape.setTransform(727.375,16.975); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.mcVideo, rect = new cjs.Rectangle(569.4,-73.2,316,180.4), [rect]); (lib.btnClickTag = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer_1 this.shape = new cjs.Shape(); this.shape.graphics.f("#000000").s().p("A3bTiMAAAgnDMAu3AAAMAAAAnDg"); this.shape.setTransform(0,-125); this.shape._off = true; this.timeline.addTween(cjs.Tween.get(this.shape).wait(3).to({_off:false},0).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = rect = null; p.frameBounds = [rect, rect, rect, new cjs.Rectangle(-150,-250,300,250)]; (lib.clickTAG = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { var self = this; self.addEventListener('click', clickTAG); self.cursor = 'pointer'; function clickTAG(evt) { if(evt.nativeEvent && evt.nativeEvent.button==2){ evt.preventDefault(); } else { $za.clickthrough(); } } } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1)); // bg this.instance = new lib.btnClickTag(); this.instance.parent = this; this.instance.setTransform(150,125,1,1,0,0,0,0,-125); new cjs.ButtonHelper(this.instance, 0, 1, 2, false, new lib.btnClickTag(), 3); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.clickTAG, rect = new cjs.Rectangle(0,0,300,250), [rect]); (lib.mcMain = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_265 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).wait(265).call(this.frame_265).wait(1)); // clickTAG this.instance = new lib.clickTAG(); this.instance.parent = this; this.instance.setTransform(485,125,3.2333,1,0,0,0,150,125); this.instance.alpha = 0.0117; this.timeline.addTween(cjs.Tween.get(this.instance).wait(266)); // mcVideo this.mcVideo = new lib.mcVideo(); this.mcVideo.name = "mcVideo"; this.mcVideo.parent = this; this.mcVideo.setTransform(159.3,241.4,1,1,0,0,0,150,125); this.mcVideo.alpha = 0.0117; this.timeline.addTween(cjs.Tween.get(this.mcVideo).wait(266)); // Layer_3 this.shape = new cjs.Shape(); this.shape.graphics.f().s("#000000").ss(3,1,1).p("A4ruFMAxXAAAIAAcLMgxXAAAg"); this.shape.setTransform(736.375,133.375); this.shape_1 = new cjs.Shape(); this.shape_1.graphics.f("#FFFFFF").s().p("A4rOGIAA8LMAxXAAAIAAcLg"); this.shape_1.setTransform(736.375,133.375); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape_1},{t:this.shape}]}).wait(266)); // Layer_4 (mask) var mask = new cjs.Shape(); mask._off = true; mask.graphics.p("AGxH4IzWAFIgUgPIgEhAIwsgMIAgt0IAOgPIQMAWIAogxITIAPIAAhAIAngjIWCAMIAAGGIgKMKI2MAFg"); mask.setTransform(275.35,174.375); // mask copy 3 this.instance_1 = new lib.Tween3("synched",0); this.instance_1.parent = this; this.instance_1.setTransform(-66.45,180.1,7.9244,8.9509,0,13.1001,17.1423,0,0.1); this.instance_1.alpha = 0.75; this.instance_1._off = true; this.instance_2 = new lib.Tween4("synched",0); this.instance_2.parent = this; this.instance_2.setTransform(634.55,181.15,7.9244,8.9509,0,13.1001,17.1423,0.3,0.2); this.instance_2.alpha = 0.75; var maskedShapeInstanceList = [this.instance_1,this.instance_2]; for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { maskedShapeInstanceList[shapedInstanceItr].mask = mask; } this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.instance_1}]},25).to({state:[{t:this.instance_2}]},37).to({state:[{t:this.instance_1}]},29).to({state:[{t:this.instance_2}]},37).to({state:[]},20).wait(118)); this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(25).to({_off:false},0).to({_off:true,regX:0.3,regY:0.2,x:634.55,y:181.15},37,cjs.Ease.get(1)).wait(29).to({_off:false,regX:0,regY:0.1,x:-66.45,y:180.1},0).to({_off:true,regX:0.3,regY:0.2,x:634.55,y:181.15},37,cjs.Ease.get(1)).wait(138)); // TEXT this.instance_3 = new lib.Symbol2("synched",0); this.instance_3.parent = this; this.instance_3.setTransform(276.9,68.95,0.7781,0.7781,0,0,0,141.2,60.6); this.instance_3.alpha = 0; this.instance_3._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(5).to({_off:false},0).to({regX:141.1,x:337.15,alpha:1},12,cjs.Ease.get(1)).wait(249)); // LOGO this.instance_4 = new lib.Symbol1("synched",0); this.instance_4.parent = this; this.instance_4.setTransform(112.95,12.05,0.8595,0.8595,0,0,0,63.5,22.1); this.instance_4._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(2).to({_off:false},0).to({regY:22.2,y:26.2},9,cjs.Ease.get(1)).to({y:24.1},2,cjs.Ease.get(1)).to({y:25.75},2,cjs.Ease.get(1)).to({y:24.95},2,cjs.Ease.get(1)).wait(249)); // NEN this.instance_5 = new lib.NEN(); this.instance_5.parent = this; this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(266)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = rect = new cjs.Rectangle(0,0,970,250); p.frameBounds = [rect, rect, new cjs.Rectangle(0,-6.9,970,257), new cjs.Rectangle(0,-3.8,970,253.9), new cjs.Rectangle(0,-1.2,970,251.3), rect=new cjs.Rectangle(0,0,970,250), rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect]; // stage content: (lib.PC_Masthead_ZingNews_970x250 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // mcMain this.mcMain = new lib.mcMain(); this.mcMain.name = "mcMain"; this.mcMain.parent = this; this.mcMain.setTransform(150,125,1,1,0,0,0,150,125); this.timeline.addTween(cjs.Tween.get(this.mcMain).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = rect = new cjs.Rectangle(485,125,970,250); p.frameBounds = [rect]; // library properties: lib.properties = { id: '0AFDE40EDDE7CC47A6D13850DA0A683D', width: 970, height: 250, fps: 24, color: "#CCCCCC", opacity: 1.00, manifest: [ {src:"Asset18.png?1594964996608", id:"Asset18"}, {src:"NEN.jpg?1594964996608", id:"NEN"}, {src:"uonglavui.png?1594964996608", id:"uonglavui"} ], 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