intro.js 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. (function (cjs, an) {
  2. var p; // shortcut to reference prototypes
  3. var lib={};var ss={};var img={};
  4. lib.ssMetadata = [
  5. {name:"intro_atlas_1", frames: [[0,0,1280,1138],[874,1140,60,101],[936,1140,128,16],[642,1140,230,168],[1282,0,750,1138],[0,1140,640,443]]}
  6. ];
  7. (lib.AnMovieClip = function(){
  8. this.actionFrames = [];
  9. this.ignorePause = false;
  10. this.gotoAndPlay = function(positionOrLabel){
  11. cjs.MovieClip.prototype.gotoAndPlay.call(this,positionOrLabel);
  12. }
  13. this.play = function(){
  14. cjs.MovieClip.prototype.play.call(this);
  15. }
  16. this.gotoAndStop = function(positionOrLabel){
  17. cjs.MovieClip.prototype.gotoAndStop.call(this,positionOrLabel);
  18. }
  19. this.stop = function(){
  20. cjs.MovieClip.prototype.stop.call(this);
  21. }
  22. }).prototype = p = new cjs.MovieClip();
  23. // symbols:
  24. (lib.BG = function() {
  25. this.initialize(ss["intro_atlas_1"]);
  26. this.gotoAndStop(0);
  27. }).prototype = p = new cjs.Sprite();
  28. (lib.goat = function() {
  29. this.initialize(ss["intro_atlas_1"]);
  30. this.gotoAndStop(1);
  31. }).prototype = p = new cjs.Sprite();
  32. (lib.pgsh = function() {
  33. this.initialize(ss["intro_atlas_1"]);
  34. this.gotoAndStop(2);
  35. }).prototype = p = new cjs.Sprite();
  36. (lib.pg = function() {
  37. this.initialize(ss["intro_atlas_1"]);
  38. this.gotoAndStop(3);
  39. }).prototype = p = new cjs.Sprite();
  40. (lib.sky = function() {
  41. this.initialize(ss["intro_atlas_1"]);
  42. this.gotoAndStop(4);
  43. }).prototype = p = new cjs.Sprite();
  44. (lib.store = function() {
  45. this.initialize(ss["intro_atlas_1"]);
  46. this.gotoAndStop(5);
  47. }).prototype = p = new cjs.Sprite();
  48. // helper functions:
  49. function mc_symbol_clone() {
  50. var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop, this.reversed));
  51. clone.gotoAndStop(this.currentFrame);
  52. clone.paused = this.paused;
  53. clone.framerate = this.framerate;
  54. return clone;
  55. }
  56. function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) {
  57. var prototype = cjs.extend(symbol, cjs.MovieClip);
  58. prototype.clone = mc_symbol_clone;
  59. prototype.nominalBounds = nominalBounds;
  60. prototype.frameBounds = frameBounds;
  61. return prototype;
  62. }
  63. (lib.store_1 = function(mode,startPosition,loop,reversed) {
  64. if (loop == null) { loop = true; }
  65. if (reversed == null) { reversed = false; }
  66. var props = new Object();
  67. props.mode = mode;
  68. props.startPosition = startPosition;
  69. props.labels = {};
  70. props.loop = loop;
  71. props.reversed = reversed;
  72. cjs.MovieClip.apply(this,[props]);
  73. // 圖層_1
  74. this.instance = new lib.store();
  75. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  76. this._renderFirstFrame();
  77. }).prototype = getMCSymbolPrototype(lib.store_1, new cjs.Rectangle(0,0,640,443), null);
  78. (lib.sky_1 = function(mode,startPosition,loop,reversed) {
  79. if (loop == null) { loop = true; }
  80. if (reversed == null) { reversed = false; }
  81. var props = new Object();
  82. props.mode = mode;
  83. props.startPosition = startPosition;
  84. props.labels = {};
  85. props.loop = loop;
  86. props.reversed = reversed;
  87. cjs.MovieClip.apply(this,[props]);
  88. // 圖層_1
  89. this.instance = new lib.sky();
  90. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  91. this._renderFirstFrame();
  92. }).prototype = getMCSymbolPrototype(lib.sky_1, new cjs.Rectangle(0,0,750,1138), null);
  93. (lib.pgsh_1 = function(mode,startPosition,loop,reversed) {
  94. if (loop == null) { loop = true; }
  95. if (reversed == null) { reversed = false; }
  96. var props = new Object();
  97. props.mode = mode;
  98. props.startPosition = startPosition;
  99. props.labels = {};
  100. props.loop = loop;
  101. props.reversed = reversed;
  102. cjs.MovieClip.apply(this,[props]);
  103. // 圖層_1
  104. this.instance = new lib.pgsh();
  105. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  106. this._renderFirstFrame();
  107. }).prototype = getMCSymbolPrototype(lib.pgsh_1, new cjs.Rectangle(0,0,128,16), null);
  108. (lib.pg_img = function(mode,startPosition,loop,reversed) {
  109. if (loop == null) { loop = true; }
  110. if (reversed == null) { reversed = false; }
  111. var props = new Object();
  112. props.mode = mode;
  113. props.startPosition = startPosition;
  114. props.labels = {};
  115. props.loop = loop;
  116. props.reversed = reversed;
  117. cjs.MovieClip.apply(this,[props]);
  118. // 圖層_1
  119. this.instance = new lib.pg();
  120. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  121. this._renderFirstFrame();
  122. }).prototype = getMCSymbolPrototype(lib.pg_img, new cjs.Rectangle(0,0,230,168), null);
  123. (lib.goat_1 = function(mode,startPosition,loop,reversed) {
  124. if (loop == null) { loop = true; }
  125. if (reversed == null) { reversed = false; }
  126. var props = new Object();
  127. props.mode = mode;
  128. props.startPosition = startPosition;
  129. props.labels = {};
  130. props.loop = loop;
  131. props.reversed = reversed;
  132. cjs.MovieClip.apply(this,[props]);
  133. // 圖層_1
  134. this.instance = new lib.goat();
  135. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  136. this._renderFirstFrame();
  137. }).prototype = getMCSymbolPrototype(lib.goat_1, new cjs.Rectangle(0,0,60,101), null);
  138. (lib.bg = function(mode,startPosition,loop,reversed) {
  139. if (loop == null) { loop = true; }
  140. if (reversed == null) { reversed = false; }
  141. var props = new Object();
  142. props.mode = mode;
  143. props.startPosition = startPosition;
  144. props.labels = {};
  145. props.loop = loop;
  146. props.reversed = reversed;
  147. cjs.MovieClip.apply(this,[props]);
  148. // 圖層_1
  149. this.instance = new lib.BG();
  150. this.instance.setTransform(1279,0);
  151. this.instance_1 = new lib.BG();
  152. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  153. this._renderFirstFrame();
  154. }).prototype = getMCSymbolPrototype(lib.bg, new cjs.Rectangle(0,0,2559,1138), null);
  155. (lib.pg_mc_2 = function(mode,startPosition,loop,reversed) {
  156. if (loop == null) { loop = true; }
  157. if (reversed == null) { reversed = false; }
  158. var props = new Object();
  159. props.mode = mode;
  160. props.startPosition = startPosition;
  161. props.labels = {};
  162. props.loop = loop;
  163. props.reversed = reversed;
  164. cjs.MovieClip.apply(this,[props]);
  165. // 圖層_1
  166. this.instance = new lib.pg_img();
  167. this.instance.setTransform(115,84,1,1,0,0,0,115,84);
  168. this.timeline.addTween(cjs.Tween.get(this.instance).wait(12).to({rotation:-2.741},10).to({rotation:0},10).wait(1));
  169. this._renderFirstFrame();
  170. }).prototype = p = new cjs.MovieClip();
  171. p.nominalBounds = new cjs.Rectangle(-3.8,-5.4,237.8,178.8);
  172. (lib.pg_mc = function(mode,startPosition,loop,reversed) {
  173. if (loop == null) { loop = true; }
  174. if (reversed == null) { reversed = false; }
  175. var props = new Object();
  176. props.mode = mode;
  177. props.startPosition = startPosition;
  178. props.labels = {};
  179. props.loop = loop;
  180. props.reversed = reversed;
  181. cjs.MovieClip.apply(this,[props]);
  182. // 圖層_1
  183. this.instance = new lib.pg_img();
  184. this.instance.setTransform(115,84,1,1,0,0,0,115,84);
  185. this.timeline.addTween(cjs.Tween.get(this.instance).to({rotation:-3.4957,x:115.05,y:74.3},8).to({rotation:0,x:115,y:84},7).wait(1));
  186. // 圖層_2
  187. this.instance_1 = new lib.pgsh_1();
  188. this.instance_1.setTransform(136.05,154.35,1,1,0,0,0,64,8);
  189. this.timeline.addTween(cjs.Tween.get(this.instance_1).to({regX:64.1,regY:8.1,scaleX:0.6075,scaleY:0.7844,x:136.15,y:154.45},8).to({regX:64,regY:8,scaleX:1,scaleY:1,x:136.05,y:154.35},7).wait(1));
  190. this._renderFirstFrame();
  191. }).prototype = p = new cjs.MovieClip();
  192. p.nominalBounds = new cjs.Rectangle(-4.8,-16.5,239.8,184.5);
  193. (lib.goat_mc = function(mode,startPosition,loop,reversed) {
  194. if (loop == null) { loop = true; }
  195. if (reversed == null) { reversed = false; }
  196. var props = new Object();
  197. props.mode = mode;
  198. props.startPosition = startPosition;
  199. props.labels = {loop:26};
  200. props.loop = loop;
  201. props.reversed = reversed;
  202. cjs.MovieClip.apply(this,[props]);
  203. // timeline functions:
  204. this.frame_52 = function() {
  205. var _this = this;
  206. /*
  207. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  208. 亦可用於主時間軸或影片片段時間軸。
  209. */
  210. _this.gotoAndPlay('loop');
  211. }
  212. // actions tween:
  213. this.timeline.addTween(cjs.Tween.get(this).wait(52).call(this.frame_52).wait(2));
  214. // 圖層_1
  215. this.instance = new lib.goat_1();
  216. this.instance.setTransform(30,138.05,1,0.8505,0,0,0,30,50.5);
  217. this.timeline.addTween(cjs.Tween.get(this.instance).to({scaleY:1.0743,y:41.75},11).to({scaleY:1,y:59.25},5).to({y:50.5},4).to({regX:29.9,rotation:-17.4844,x:29.9},6).to({regX:30,regY:50.4,rotation:7.2365,x:30.05,y:50.55},13).to({regX:29.9,regY:50.5,rotation:-17.4844,x:29.9,y:50.5},14).wait(1));
  218. this._renderFirstFrame();
  219. }).prototype = p = new cjs.MovieClip();
  220. p.nominalBounds = new cjs.Rectangle(-13.7,-12.5,87.60000000000001,193.5);
  221. // stage content:
  222. (lib.intro = function(mode,startPosition,loop,reversed) {
  223. if (loop == null) { loop = true; }
  224. if (reversed == null) { reversed = false; }
  225. var props = new Object();
  226. props.mode = mode;
  227. props.startPosition = startPosition;
  228. props.labels = {"loop":1,start:59,complete:129,intoGame:136};
  229. props.loop = loop;
  230. props.reversed = reversed;
  231. cjs.MovieClip.apply(this,[props]);
  232. this.actionFrames = [0,89,129,135,136,163];
  233. // timeline functions:
  234. this.frame_0 = function() {
  235. var _this = this;
  236. /*
  237. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  238. 亦可用於主時間軸或影片片段時間軸。
  239. */
  240. //var isComplete = false;
  241. _this.isComplete = false;
  242. _this.gotoAndPlay('start');
  243. }
  244. this.frame_89 = function() {
  245. var _this = this;
  246. /*
  247. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  248. 亦可用於主時間軸或影片片段時間軸。
  249. */
  250. if(!_this.isComplete){
  251. _this.gotoAndPlay('loop');
  252. }else{
  253. _this.play();
  254. main.gameInto();
  255. }
  256. }
  257. this.frame_129 = function() {
  258. var _this = this;
  259. /*
  260. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  261. 亦可用於主時間軸或影片片段時間軸。
  262. */
  263. _this.stop();
  264. }
  265. this.frame_135 = function() {
  266. var _this = this;
  267. /*
  268. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  269. 亦可用於主時間軸或影片片段時間軸。
  270. */
  271. _this.stop();
  272. }
  273. this.frame_136 = function() {
  274. var _this = this;
  275. /*
  276. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  277. 亦可用於主時間軸或影片片段時間軸。
  278. */
  279. //_this.stop();
  280. }
  281. this.frame_163 = function() {
  282. var _this = this;
  283. /*
  284. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  285. 亦可用於主時間軸或影片片段時間軸。
  286. */
  287. _this.stop();
  288. }
  289. // actions tween:
  290. this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(89).call(this.frame_89).wait(40).call(this.frame_129).wait(6).call(this.frame_135).wait(1).call(this.frame_136).wait(27).call(this.frame_163).wait(1));
  291. // 圖層_1
  292. this.instance = new lib.sky_1();
  293. this.instance.setTransform(329,569,1,1,0,0,0,375,569);
  294. this.instance.alpha = 0;
  295. this.instance._off = true;
  296. this.timeline.addTween(cjs.Tween.get(this.instance).wait(150).to({_off:false},0).to({alpha:1},13).wait(1));
  297. // 圖層_13 (mask)
  298. var mask = new cjs.Shape();
  299. mask._off = true;
  300. mask.graphics.p("EACQAyxIAA4IIfxAAIAAYIg");
  301. mask.setTransform(217.686,324.9259);
  302. // goat
  303. this.instance_1 = new lib.goat_mc();
  304. this.instance_1.setTransform(440,622.45,1,1,0,0,0,30,50.5);
  305. this.instance_1._off = true;
  306. var maskedShapeInstanceList = [this.instance_1];
  307. for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
  308. maskedShapeInstanceList[shapedInstanceItr].mask = mask;
  309. }
  310. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(120).to({_off:false},0).to({x:341.25},9).wait(35));
  311. // pg_img
  312. this.instance_2 = new lib.pg_mc_2();
  313. this.instance_2.setTransform(162.9,673.5,1,1,0,0,0,115,84);
  314. this.instance_2._off = true;
  315. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(129).to({_off:false},0).wait(35));
  316. // pg_sh
  317. this.instance_3 = new lib.pgsh_1();
  318. this.instance_3.setTransform(183.95,743.85,1,1,0,0,0,64,8);
  319. this.instance_3._off = true;
  320. this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(129).to({_off:false},0).wait(35));
  321. // 圖層_8
  322. this.pg_mc = new lib.pg_mc();
  323. this.pg_mc.name = "pg_mc";
  324. this.pg_mc.setTransform(309.15,673.5,1,1,0,0,0,115,84);
  325. this.timeline.addTween(cjs.Tween.get(this.pg_mc).wait(90).to({regX:115.1,regY:75.7,x:305.35,y:665.2},0).wait(1).to({x:301.2},0).wait(1).to({x:296.8},0).wait(1).to({x:292.1},0).wait(1).to({x:287.25},0).wait(1).to({x:282.1},0).wait(1).to({x:276.8},0).wait(1).to({x:271.35},0).wait(1).to({x:265.75},0).wait(1).to({x:260.05},0).wait(1).to({x:254.3},0).wait(1).to({x:248.5},0).wait(1).to({x:242.7},0).wait(1).to({x:236.95},0).wait(1).to({x:231.3},0).wait(1).to({x:225.75},0).wait(1).to({x:220.35},0).wait(1).to({x:215.1},0).wait(1).to({x:210.1},0).wait(1).to({x:205.3},0).wait(1).to({x:200.75},0).wait(1).to({x:196.4},0).wait(1).to({x:192.4},0).wait(1).to({x:188.6},0).wait(1).to({x:185.1},0).wait(1).to({x:181.85},0).wait(1).to({x:178.9},0).wait(1).to({x:176.2},0).wait(1).to({x:173.8},0).wait(1).to({x:171.65},0).wait(1).to({x:169.75},0).wait(1).to({x:168.1},0).wait(1).to({x:166.7},0).wait(1).to({x:165.55},0).wait(1).to({x:164.6},0).wait(1).to({x:163.85},0).wait(1).to({x:163.35},0).wait(1).to({x:163.05},0).wait(1).to({regX:115,regY:84,x:162.9,y:673.5},0).to({_off:true},1).wait(35));
  326. // 圖層_14
  327. this.instance_4 = new lib.store_1();
  328. this.instance_4.setTransform(322,490.5,1,1,0,0,0,320,221.5);
  329. this.instance_4._off = true;
  330. this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(129).to({_off:false},0).wait(35));
  331. // store
  332. this.instance_5 = new lib.store_1();
  333. this.instance_5.setTransform(824,490.5,1,1,0,0,0,320,221.5);
  334. this.instance_5._off = true;
  335. this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(89).to({_off:false},0).to({x:334.55},39).to({_off:true},1).wait(35));
  336. // bg
  337. this.instance_6 = new lib.bg();
  338. this.instance_6.setTransform(640,569,1,1,0,0,0,640,569);
  339. this.instance_6._off = true;
  340. this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(89).to({_off:false},0).to({x:319},40).wait(35));
  341. // bg
  342. this.instance_7 = new lib.bg();
  343. this.instance_7.setTransform(640,569,1,1,0,0,0,640,569);
  344. this.timeline.addTween(cjs.Tween.get(this.instance_7).to({x:-640},89).to({_off:true},1).wait(74));
  345. this._renderFirstFrame();
  346. }).prototype = p = new lib.AnMovieClip();
  347. p.nominalBounds = new cjs.Rectangle(-960,569,3519,569);
  348. // library properties:
  349. lib.properties = {
  350. id: '968CDC3A36AA2347ABE82F0675BD17EC',
  351. width: 640,
  352. height: 1138,
  353. fps: 30,
  354. color: "#FFFFFF",
  355. opacity: 1.00,
  356. manifest: [
  357. {src:"images/intro/intro_atlas_1.png?1633421994549", id:"intro_atlas_1"}
  358. ],
  359. preloads: []
  360. };
  361. // bootstrap callback support:
  362. (lib.Stage = function(canvas) {
  363. createjs.Stage.call(this, canvas);
  364. }).prototype = p = new createjs.Stage();
  365. p.setAutoPlay = function(autoPlay) {
  366. this.tickEnabled = autoPlay;
  367. }
  368. p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) }
  369. p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; }
  370. p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); }
  371. p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; }
  372. p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; }
  373. an.bootcompsLoaded = an.bootcompsLoaded || [];
  374. if(!an.bootstrapListeners) {
  375. an.bootstrapListeners=[];
  376. }
  377. an.bootstrapCallback=function(fnCallback) {
  378. an.bootstrapListeners.push(fnCallback);
  379. if(an.bootcompsLoaded.length > 0) {
  380. for(var i=0; i<an.bootcompsLoaded.length; ++i) {
  381. fnCallback(an.bootcompsLoaded[i]);
  382. }
  383. }
  384. };
  385. an.compositions = an.compositions || {};
  386. an.compositions['968CDC3A36AA2347ABE82F0675BD17EC'] = {
  387. getStage: function() { return exportRoot.stage; },
  388. getLibrary: function() { return lib; },
  389. getSpriteSheet: function() { return ss; },
  390. getImages: function() { return img; }
  391. };
  392. an.compositionLoaded = function(id) {
  393. an.bootcompsLoaded.push(id);
  394. for(var j=0; j<an.bootstrapListeners.length; j++) {
  395. an.bootstrapListeners[j](id);
  396. }
  397. }
  398. an.getComposition = function(id) {
  399. return an.compositions[id];
  400. }
  401. an.makeResponsive = function(isResp, respDim, isScale, scaleType, domContainers) {
  402. var lastW, lastH, lastS=1;
  403. window.addEventListener('resize', resizeCanvas);
  404. resizeCanvas();
  405. function resizeCanvas() {
  406. var w = lib.properties.width, h = lib.properties.height;
  407. var iw = window.innerWidth, ih=window.innerHeight;
  408. var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1;
  409. if(isResp) {
  410. if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) {
  411. sRatio = lastS;
  412. }
  413. else if(!isScale) {
  414. if(iw<w || ih<h)
  415. sRatio = Math.min(xRatio, yRatio);
  416. }
  417. else if(scaleType==1) {
  418. sRatio = Math.min(xRatio, yRatio);
  419. }
  420. else if(scaleType==2) {
  421. sRatio = Math.max(xRatio, yRatio);
  422. }
  423. }
  424. domContainers[0].width = w * pRatio * sRatio;
  425. domContainers[0].height = h * pRatio * sRatio;
  426. domContainers.forEach(function(container) {
  427. container.style.width = w * sRatio + 'px';
  428. container.style.height = h * sRatio + 'px';
  429. });
  430. stage.scaleX = pRatio*sRatio;
  431. stage.scaleY = pRatio*sRatio;
  432. lastW = iw; lastH = ih; lastS = sRatio;
  433. stage.tickOnUpdate = false;
  434. stage.update();
  435. stage.tickOnUpdate = true;
  436. }
  437. }
  438. an.handleSoundStreamOnTick = function(event) {
  439. if(!event.paused){
  440. var stageChild = stage.getChildAt(0);
  441. if(!stageChild.paused || stageChild.ignorePause){
  442. stageChild.syncStreamSounds();
  443. }
  444. }
  445. }
  446. })(createjs = createjs||{}, intro = intro||{});
  447. var createjs, intro;