(function (cjs, an) { var p; // shortcut to reference prototypes var lib={};var ss={};var img={}; lib.ssMetadata = []; // symbols: (lib.Untitled1 = function() { this.initialize(img.Untitled1); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,2000,920); (lib.Untitled21 = function() { this.initialize(img.Untitled21); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,3312,920); (lib.Untitled31 = function() { this.initialize(img.Untitled31); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,2000,920); (lib.Untitled251 = function() { this.initialize(img.Untitled251); }).prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,3312,920);// 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.Symbol21 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2)); // Layer_1 this.text = new cjs.Text("", "16px 'Microsoft YaHei'", "#FFFFFF"); this.text.textAlign = "right"; this.text.lineHeight = 23; this.text.lineWidth = 389; this.text.parent = this; this.text.setTransform(194.6,-12.5); this.timeline.addTween(cjs.Tween.get(this.text).wait(1).to({y:-13.5,color:"#FFFF00"},0).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-196.5,-14.5,393.1,29.1); (lib.Symbol20 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2)); // Layer_1 this.text = new cjs.Text("新西兰牧场", "16px 'Microsoft YaHei'", "#FFFFFF"); this.text.lineHeight = 23; this.text.lineWidth = 389; this.text.parent = this; this.text.setTransform(-194.5,-12.5); this.timeline.addTween(cjs.Tween.get(this.text).wait(1).to({y:-13.5,color:"#FFFF00"},0).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-196.5,-14.5,393.1,29.1); (lib.Symbol19 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2)); // Layer_1 this.text = new cjs.Text("澳大利亚牧场", "16px 'Microsoft YaHei'", "#FFFFFF"); this.text.lineHeight = 23; this.text.lineWidth = 389; this.text.parent = this; this.text.setTransform(-194.5,-12.5); this.timeline.addTween(cjs.Tween.get(this.text).wait(1).to({y:-13.5,color:"#FFFF00"},0).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-196.5,-14.5,393.1,29.1); (lib.Symbol18 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2)); // Layer_1 this.text = new cjs.Text("澳洲阿米利亚酒庄", "16px 'Microsoft YaHei'", "#FFFFFF"); this.text.textAlign = "right"; this.text.lineHeight = 23; this.text.lineWidth = 389; this.text.parent = this; this.text.setTransform(194.6,-12.5); this.timeline.addTween(cjs.Tween.get(this.text).wait(1).to({y:-13.5,color:"#FFFF00"},0).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-196.5,-14.5,393.1,29.1); (lib.Symbol17 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2)); // Layer_1 this.text = new cjs.Text("锡林郭勒盟大庄园畜产品加工示范园区", "16px 'Microsoft YaHei'", "#FFFFFF"); this.text.textAlign = "right"; this.text.lineHeight = 23; this.text.lineWidth = 389; this.text.parent = this; this.text.setTransform(194.6,-12.5); this.timeline.addTween(cjs.Tween.get(this.text).wait(1).to({y:-13.5,color:"#FFFF00"},0).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-196.5,-14.5,393.1,29.1); (lib.Symbol16 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2)); // Layer_1 this.text = new cjs.Text("1.黑龙江大庄园现代农牧产业园区", "16px 'Microsoft YaHei'", "#FFFFFF"); this.text.lineHeight = 23; this.text.lineWidth = 470; this.text.parent = this; this.text.setTransform(-235,-12.5); this.timeline.addTween(cjs.Tween.get(this.text).wait(1).to({y:-13.5,color:"#FFFF00"},0).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-237,-14.5,474.1,29.1); (lib.Symbol15 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2)); // Layer_1 this.text = new cjs.Text("3.阿米利亚庄园", "16px 'Microsoft YaHei'", "#FFFFFF"); this.text.lineHeight = 23; this.text.lineWidth = 470; this.text.parent = this; this.text.setTransform(-235,-12.5); this.timeline.addTween(cjs.Tween.get(this.text).wait(1).to({y:-13.5,color:"#FFFF00"},0).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-237,-14.5,474.1,29.1); (lib.Symbol14 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2)); // Layer_1 this.text = new cjs.Text("2.黑龙江肇东冰城黑牛牧场", "16px 'Microsoft YaHei'", "#FFFFFF"); this.text.lineHeight = 23; this.text.lineWidth = 470; this.text.parent = this; this.text.setTransform(-235,-12.5); this.timeline.addTween(cjs.Tween.get(this.text).wait(1).to({y:-13.5,color:"#FFFF00"},0).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-237,-14.5,474.1,29.1); (lib.Symbol12 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer_1 this.shape = new cjs.Shape(); this.shape.graphics.f("#C8A063").s().p("AyRSSMAAAgkjMAkjAAAMAAAAkjg"); 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 = null; (lib.Symbol7 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer_1 this.shape = new cjs.Shape(); this.shape.graphics.bf(img.Untitled251, null, new cjs.Matrix2D(1,0,0,1,-672,-367.1)).s().p("EgzQAlWMAAAhKrMBmhAAAMAAABKrg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol7, new cjs.Rectangle(-328.1,-239,656.2,478.1), null); (lib.Symbol6 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer_1 this.instance = new lib.Untitled21(); this.instance.parent = this; this.instance.setTransform(-1656,-460); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol6, new cjs.Rectangle(-1656,-460,3312,920), null); (lib.Symbol11 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { var this_mc=this; // this_mc['btn_'+0].on('click',function(){ window.open('/cybj2/Industry_layout.paddockpark.html'); }); this_mc['btn_'+0].on('mouseover',function(){ this_mc['txtxt_'+0].gotoAndStop(1); }); this_mc['btn_'+0].on('mouseout',function(){ this_mc['txtxt_'+0].gotoAndStop(0); }); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1)); // Layer_3 this.btn_0 = new lib.Symbol12(); this.btn_0.name = "btn_0"; this.btn_0.parent = this; this.btn_0.setTransform(25,-42.9,1.231,0.351); new cjs.ButtonHelper(this.btn_0, 0, 1, 2, false, new lib.Symbol12(), 3); this.timeline.addTween(cjs.Tween.get(this.btn_0).wait(1)); // Layer_4 this.txtxt_0 = new lib.Symbol21(); this.txtxt_0.name = "txtxt_0"; this.txtxt_0.parent = this; this.txtxt_0.setTransform(-39.4,-28.4); this.timeline.addTween(cjs.Tween.get(this.txtxt_0).wait(1)); // Layer_1 this.shape = new cjs.Shape(); this.shape.graphics.bf(img.Untitled251, null, new cjs.Matrix2D(1,0,0,1,-2582.9,-536)).s().p("EglMA7/MAAQg2qIsgwjI4YAAIAAjdIv9AAMAAAgtTMB1hAAAMAAAAkQMA+CAAAMAAABTtgAONjpIKgAAIAAi5IqgAAg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol11, new cjs.Rectangle(-574.5,-383.9,1149.2,767.9), null); (lib.Symbol10 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { var this_mc=this; this_mc['btn_'+0].on('click',function(){ window.open('/apps/home/Tpl/Cn/Huanjing/Industry_layout.newzealand.html'); }); this_mc['btn_'+0].on('mouseover',function(){ this_mc['txtxt_'+0].gotoAndStop(1); }); this_mc['btn_'+0].on('mouseout',function(){ this_mc['txtxt_'+0].gotoAndStop(0); }); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1)); // Layer_3 this.btn_0 = new lib.Symbol12(); this.btn_0.name = "btn_0"; this.btn_0.parent = this; this.btn_0.setTransform(30,-86.9,1.461,0.351); new cjs.ButtonHelper(this.btn_0, 0, 1, 2, false, new lib.Symbol12(), 3); this.timeline.addTween(cjs.Tween.get(this.btn_0).wait(1)); // Layer_5 this.txtxt_0 = new lib.Symbol20(); this.txtxt_0.name = "txtxt_0"; this.txtxt_0.parent = this; this.txtxt_0.setTransform(64.6,-64.9); this.timeline.addTween(cjs.Tween.get(this.txtxt_0).wait(1)); // Layer_4 this.shape = new cjs.Shape(); this.shape.graphics.f("rgba(163,200,220,0.008)").s().p("A/gXmMAAAgvLMA/BAAAMAAAAvLg"); this.shape.setTransform(-30.5,30); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); // Layer_1 this.shape_1 = new cjs.Shape(); this.shape_1.graphics.bf(img.Untitled251, null, new cjs.Matrix2D(1,0,0,1,-2099.4,-692.1)).s().p("EgmlAjnIAAuWIFAlAIAAksMAFAgjTIeTAAIAAr4IYYAAIMgQkIgCGQMg7gAAAIAAG4MA7eAAAMgAMAphg"); this.timeline.addTween(cjs.Tween.get(this.shape_1).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol10, new cjs.Rectangle(-247,-227.9,508.1,455.9), null); (lib.Symbol9 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { var this_mc=this; this_mc['btn_'+0].on('click',function(){ window.open('/apps/home/Tpl/Cn/Huanjing/Industry_layout.australiaameliapark.html'); }); this_mc['btn_'+1].on('click',function(){ window.open('/apps/home/Tpl/Cn/Huanjing/Industry_layout.paddockpark.html'); }); this_mc['btn_'+0].on('mouseover',function(){ this_mc['txtxt_'+0].gotoAndStop(1); }); this_mc['btn_'+1].on('mouseover',function(){ this_mc['txtxt_'+1].gotoAndStop(1); }); this_mc['btn_'+0].on('mouseout',function(){ this_mc['txtxt_'+0].gotoAndStop(0); }); this_mc['btn_'+1].on('mouseout',function(){ this_mc['txtxt_'+1].gotoAndStop(0); }); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1)); // Layer_3 this.btn_1 = new lib.Symbol12(); this.btn_1.name = "btn_1"; this.btn_1.parent = this; this.btn_1.setTransform(296,-245,1.376,0.351); new cjs.ButtonHelper(this.btn_1, 0, 1, 2, false, new lib.Symbol12(), 3); this.btn_0 = new lib.Symbol12(); this.btn_0.name = "btn_0"; this.btn_0.parent = this; this.btn_0.setTransform(-311.1,-184.9,1.231,0.351); new cjs.ButtonHelper(this.btn_0, 0, 1, 2, false, new lib.Symbol12(), 3); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.btn_0},{t:this.btn_1}]}).wait(1)); // Layer_5 this.txtxt_1 = new lib.Symbol19(); this.txtxt_1.name = "txtxt_1"; this.txtxt_1.parent = this; this.txtxt_1.setTransform(371.7,-222); this.txtxt_0 = new lib.Symbol18(); this.txtxt_0.name = "txtxt_0"; this.txtxt_0.parent = this; this.txtxt_0.setTransform(-374.5,-160.9); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.txtxt_0},{t:this.txtxt_1}]}).wait(1)); // Layer_4 this.shape = new cjs.Shape(); this.shape.graphics.f("rgba(163,200,220,0.008)").s().p("EhIdAY2MAAAgxrMCQ7AAAMAAAAxrg"); this.shape.setTransform(-6.7,-127); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); // Layer_1 this.shape_1 = new cjs.Shape(); this.shape_1.graphics.bf(img.Untitled251, null, new cjs.Matrix2D(1,0,0,1,-1653.3,-728.1)).s().p("A0Qd/MgzKAAAMAAAg2MMArSAAAIAAgeIA8AAIAAi0MgsOAAAIAAmkMBc0AAAIAAqoMAyBAAAIAAHpMgsZAAAIAAJFIN4AAMgEzAh6IAAErIlAFBIAAdDg"); this.timeline.addTween(cjs.Tween.get(this.shape_1).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol9, new cjs.Rectangle(-571.1,-286,1139.3,572.1), null); (lib.Symbol8 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { var this_mc=this; this_mc['btn_'+0].on('click',function(){ window.open('/apps/home/Tpl/Cn/Huanjing/Industry_layout.industrypark.html'); }); this_mc['btn_'+1].on('click',function(){ window.open('/apps/home/Tpl/Cn/Huanjing/Industry_layout.zhaodongheiniu.html'); }); this_mc['btn_'+2].on('click',function(){ window.open('/apps/home/Tpl/Cn/Huanjing/Industry_layout.ameliappark.html'); }); this_mc['btn_'+3].on('click',function(){ window.open('/apps/home/Tpl/Cn/Huanjing/Industry_layout.xilinguolemeng.html'); }); this_mc['btn_'+0].on('mouseover',function(){ this_mc['txtxt_'+0].gotoAndStop(1); }); this_mc['btn_'+1].on('mouseover',function(){ this_mc['txtxt_'+1].gotoAndStop(1); }); this_mc['btn_'+2].on('mouseover',function(){ this_mc['txtxt_'+2].gotoAndStop(1); }); this_mc['btn_'+3].on('mouseover',function(){ this_mc['txtxt_'+3].gotoAndStop(1); }); this_mc['btn_'+0].on('mouseout',function(){ this_mc['txtxt_'+0].gotoAndStop(0); }); this_mc['btn_'+1].on('mouseout',function(){ this_mc['txtxt_'+1].gotoAndStop(0); }); this_mc['btn_'+2].on('mouseout',function(){ this_mc['txtxt_'+2].gotoAndStop(0); }); this_mc['btn_'+3].on('mouseout',function(){ this_mc['txtxt_'+3].gotoAndStop(0); }); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1)); // Symbol 12 this.btn_3 = new lib.Symbol12(); this.btn_3.name = "btn_3"; this.btn_3.parent = this; this.btn_3.setTransform(-192.8,-117.9,1.547,0.308,0,0,0,0.1,0); new cjs.ButtonHelper(this.btn_3, 0, 1, 2, false, new lib.Symbol12(), 3); this.btn_2 = new lib.Symbol12(); this.btn_2.name = "btn_2"; this.btn_2.parent = this; this.btn_2.setTransform(325.3,-57.7,2.026,0.116,0,0,0,0.1,-1.3); new cjs.ButtonHelper(this.btn_2, 0, 1, 2, false, new lib.Symbol12(), 3); this.btn_1 = new lib.Symbol12(); this.btn_1.name = "btn_1"; this.btn_1.parent = this; this.btn_1.setTransform(325.3,-84.4,2.026,0.113,0,0,0,0.1,-1.4); new cjs.ButtonHelper(this.btn_1, 0, 1, 2, false, new lib.Symbol12(), 3); this.btn_0 = new lib.Symbol12(); this.btn_0.name = "btn_0"; this.btn_0.parent = this; this.btn_0.setTransform(325.3,-110.4,2.026,0.117,0,0,0,0.1,-1.7); new cjs.ButtonHelper(this.btn_0, 0, 1, 2, false, new lib.Symbol12(), 3); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.btn_0},{t:this.btn_1},{t:this.btn_2},{t:this.btn_3}]}).wait(1)); // Layer_2 this.txtxt_3 = new lib.Symbol17(); this.txtxt_3.name = "txtxt_3"; this.txtxt_3.parent = this; this.txtxt_3.setTransform(-220.5,-99.5); this.txtxt_0 = new lib.Symbol16(); this.txtxt_0.name = "txtxt_0"; this.txtxt_0.parent = this; this.txtxt_0.setTransform(325.1,-109.3); this.txtxt_2 = new lib.Symbol15(); this.txtxt_2.name = "txtxt_2"; this.txtxt_2.parent = this; this.txtxt_2.setTransform(325.1,-59.5); this.txtxt_1 = new lib.Symbol14(); this.txtxt_1.name = "txtxt_1"; this.txtxt_1.parent = this; this.txtxt_1.setTransform(325.1,-84.3); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.txtxt_1},{t:this.txtxt_2},{t:this.txtxt_0},{t:this.txtxt_3}]}).wait(1)); // Layer_3 this.shape = new cjs.Shape(); this.shape.graphics.f("rgba(163,200,220,0.008)").s().p("EhAEAY2MAAAgxrMCAJAAAMAAAAxrg"); this.shape.setTransform(23,-35); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); // Layer_1 this.shape_1 = new cjs.Shape(); this.shape_1.graphics.bf(img.Untitled251, null, new cjs.Matrix2D(1,0,0,1,-1557.8,-316.1)).s().p("EhB3AeUMAAAgrvMA94AAAIAAlLMg94AAAIAArtMCBFAAAICqLaMg2QAAAIAAOOIaEAAIo3AoMAAAAiXg"); this.shape_1.setTransform(8.5,0); this.timeline.addTween(cjs.Tween.get(this.shape_1).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol8, new cjs.Rectangle(-417.1,-194,979.3,388.1), null); (lib.Symbol5 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { var this_mc=this; var miaomao1=300; var miaomao=2000; var easeeee=createjs.Ease.circOut; for( var i=0; i<5; i++ ){ this_mc['maparae_'+i].on('rollover',mouseoverhandle); this_mc['maparae_'+i].on('rollout',mouseoverhandle); } function mouseoverhandle(e){ //console.log(e.type); var iddname = e.currentTarget.name; var iddint = parseInt(iddname.substring(iddname.length-1, iddname.length)); console.log(iddint); var cur_y; switch(iddint) { case 0: cur_y=-92.85; break; case 1: cur_y=-143.9; break; case 2: cur_y=268.15; break; case 3: cur_y=232.05; break; case 4: cur_y=76.05; break; default: } if(e.type=='rollover'){ console.log(3); createjs.Tween.get(e.currentTarget,{override:true }).to({y:cur_y-20}, miaomao1, easeeee ); }else{ createjs.Tween.get(e.currentTarget,{override:true }).to({y:cur_y}, miaomao1, easeeee ); } } } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1)); // Symbol 11 this.maparae_3 = new lib.Symbol10(); this.maparae_3.name = "maparae_3"; this.maparae_3.parent = this; this.maparae_3.setTransform(443.4,232.1); this.maparae_0 = new lib.Symbol7(); this.maparae_0.name = "maparae_0"; this.maparae_0.parent = this; this.maparae_0.setTransform(-983.9,-92.8); this.maparae_2 = new lib.Symbol9(); this.maparae_2.name = "maparae_2"; this.maparae_2.parent = this; this.maparae_2.setTransform(-2.7,268.2); this.maparae_1 = new lib.Symbol8(); this.maparae_1.name = "maparae_1"; this.maparae_1.parent = this; this.maparae_1.setTransform(-106.7,-143.9); this.maparae_4 = new lib.Symbol11(); this.maparae_4.name = "maparae_4"; this.maparae_4.parent = this; this.maparae_4.setTransform(926.9,76.1); this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.maparae_4},{t:this.maparae_1},{t:this.maparae_2},{t:this.maparae_0},{t:this.maparae_3}]}).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol5, new cjs.Rectangle(-1312,-337.9,2813.5,892.2), null); (lib.Symbol2 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer_1 this.instance = new lib.Symbol6(); this.instance.parent = this; this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol2, new cjs.Rectangle(-1656,-460,3312,920), null); (lib.Symbol3324 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_44 = function() { this.stop(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).wait(44).call(this.frame_44).wait(1)); // Layer_1 this.instance = new lib.Symbol5(); this.instance.parent = this; this.instance.setTransform(0,20); this.timeline.addTween(cjs.Tween.get(this.instance).to({y:0},44,cjs.Ease.get(1)).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-1312,-317.9,2813.5,892.2); (lib.Symbol1 = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { //alert(this.name); this.stop(); var bgmc=this; var mc_mouseX; this.stage.on('stagemousemove',stagtickhandle); //this.stage.on('tick',stagtickhandle); //'stagemousemove' function stagemousemovehandle(e){ mc_mouseX= e.stageX; var stage_ww=$('#animation_container').width(); var miaomao=2000; if(mc_mouseX/stage_ww<.3){ createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: (3312-stage_ww)/2*bgmc.scaleX}, miaomao, createjs.Ease.circOut ); createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: (3312-stage_ww)/2*bgmc.scaleX}, miaomao, createjs.Ease.circOut ); } if(mc_mouseX/stage_ww>.3&&mc_mouseX/stage_ww<.7){ createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: 0}, miaomao, createjs.Ease.circOut ); createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: 0}, miaomao, createjs.Ease.circOut ); } if(mc_mouseX/stage_ww>.7){ createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: (stage_ww-3312)/2*bgmc.scaleX}, miaomao, createjs.Ease.circOut ); createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: (stage_ww-3312)/2*bgmc.scaleX}, miaomao, createjs.Ease.circOut ); } } //createjs.Tween.get(bgmc.mapb1).to({x: (1920-3312)/2*bgmc.scaleX}, 1000, createjs.Ease.circOut ); function stagtickhandle(e){ var stage_ww=$('#animation_container').width(); //bgmc.mapbg.x=2000/2+(e.stageX-stage_ww/2)/80; //console.log(bgmc.mapbg.getBounds().width); console.log(mc_mouseX); /*if(stage_ww>1920){ var vvvv=(-e.stageX/(stage_ww/(3312-stage_ww))/bgmc.scaleX+(3312-stage_ww)/2*bgmc.scaleX); var vvvv1=(-e.stageX/(stage_ww/(2650-stage_ww))/bgmc.scaleX+(2600-stage_ww)/2*bgmc.scaleX); //createjs.Tween.get(bgmc.mcloud,{override:true }).to({x: vvvv1}, 1000, createjs.Ease.circOut ); createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: vvvv}, 1000, createjs.Ease.quadOut ); createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: vvvv}, 1000, createjs.Ease.quadOut ); }else */ if(is_touch_device()){ if(stage_ww<=2560){ createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.1-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.1-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); } if(stage_ww<=1920){ createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.28-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.28-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); } if(stage_ww<=1600){ createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.38-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.38-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); } if(stage_ww<=1440){ createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.40-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.40-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); } if(stage_ww<=1280){ createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.45-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: (-e.stageX/(stage_ww/(3312/1.45-stage_ww))+(3312/1-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); } }else{ createjs.Tween.get(bgmc.mapbg,{override:true }).to({x: (-e.stageX/(stage_ww/(3312-stage_ww))+(3312-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); createjs.Tween.get(bgmc.mapb1,{override:true }).to({x: (-e.stageX/(stage_ww/(3312-stage_ww))+(3312-stage_ww)/2)*bgmc.scaleX}, 1000, createjs.Ease.quadOut ); } //bgmc.mapbg.x + 0.05 * ((e.stageX+(stage_ww-2000)/2) / (stage_ww / (3312 - stage_ww)) * -1 - bgmc.mapbg.x-(3312-2000)/2); //((3312 - stage_ww)/2)*bgmc.scaleX; } } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1)); // Layer_5 this.mapb1 = new lib.Symbol3324(); this.mapb1.name = "mapb1"; this.mapb1.parent = this; this.timeline.addTween(cjs.Tween.get(this.mapb1).wait(1)); // Layer_3 this.instance = new lib.Untitled31(); this.instance.parent = this; this.instance.setTransform(-1000,-460); this.timeline.addTween(cjs.Tween.get(this.instance).wait(1)); // Layer_2 this.mapbg = new lib.Symbol2(); this.mapbg.name = "mapbg"; this.mapbg.parent = this; this.timeline.addTween(cjs.Tween.get(this.mapbg).wait(1)); // Layer_1 this.instance_1 = new lib.Untitled1(); this.instance_1.parent = this; this.instance_1.setTransform(-1000,-460); this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1)); }).prototype = getMCSymbolPrototype(lib.Symbol1, new cjs.Rectangle(-1656,-460,3312,1034.2), null); // stage content: (lib._3Industry_layout = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // timeline functions: this.frame_0 = function() { this.stop(); var stage_mc=this; //alert(this.stage_resize_me); stage_mc.bg.name="bgbg"; this.stage_resize_me = function() { var stage_ww=$('#animation_container').width(); var stage_hh=$('#animation_container').height(); var wh_ratio = stage_ww/stage_hh; var img_ratio1 = 2000/920; if(wh_ratio < img_ratio1){ stage_mc.bg.scaleX = stage_mc.bg.scaleY = stage_hh / 920; }else{ stage_mc.bg.scaleX = stage_mc.bg.scaleY = stage_ww / 2000; } stage_mc.bg.x=stage_ww/2; stage_mc.bg.y=stage_hh/2; } this.stage_resize_me(); } // actions tween: this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1)); // Layer_1 this.bg = new lib.Symbol1(); this.bg.name = "bg"; this.bg.parent = this; this.bg.setTransform(1000,460); this.timeline.addTween(cjs.Tween.get(this.bg).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(344,460,3312,1034.2); // library properties: lib.properties = { id: 'D03AEED31F5C9942A28A3EF9B3D88480', width: 2000, height: 920, fps: 30, color: "#FFFFFF", opacity: 1.00, manifest: [ {src:"../images/Industry_layout/images/Untitled1.jpg?1522229232859", id:"Untitled1"}, {src:"../images/Industry_layout/images/Untitled21.png?1522229232859", id:"Untitled21"}, {src:"../images/Industry_layout/images/Untitled31.png?1522229232859", id:"Untitled31"}, {src:"../images/Industry_layout/images/Untitled251.png?1522229232859", id:"Untitled251"} ], 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