assets.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
  1. (function (cjs, an) {
  2. var p; // shortcut to reference prototypes
  3. var lib={};var ss={};var img={};
  4. lib.ssMetadata = [
  5. {name:"assets_atlas_P_", frames: [[0,0,625,443],[0,445,563,455]]},
  6. {name:"assets_atlas_P_2", frames: [[0,0,635,382],[637,0,353,269],[0,384,614,392],[616,384,368,505]]},
  7. {name:"assets_atlas_P_3", frames: [[787,0,203,139],[572,161,180,59],[225,208,180,59],[225,146,240,60],[787,141,202,129],[598,0,187,159],[84,258,86,75],[282,269,97,42],[225,0,371,144],[407,266,113,49],[467,146,103,118],[172,269,108,46],[572,222,88,109],[0,258,82,104],[662,222,85,105],[0,0,223,256]]}
  8. ];
  9. // symbols:
  10. (lib.ball1 = function() {
  11. this.spriteSheet = ss["assets_atlas_P_3"];
  12. this.gotoAndStop(0);
  13. }).prototype = p = new cjs.Sprite();
  14. (lib.blackboard = function() {
  15. this.spriteSheet = ss["assets_atlas_P_2"];
  16. this.gotoAndStop(0);
  17. }).prototype = p = new cjs.Sprite();
  18. (lib.bowl = function() {
  19. this.spriteSheet = ss["assets_atlas_P_"];
  20. this.gotoAndStop(0);
  21. }).prototype = p = new cjs.Sprite();
  22. (lib.btn1 = function() {
  23. this.spriteSheet = ss["assets_atlas_P_3"];
  24. this.gotoAndStop(1);
  25. }).prototype = p = new cjs.Sprite();
  26. (lib.btn2 = function() {
  27. this.spriteSheet = ss["assets_atlas_P_3"];
  28. this.gotoAndStop(2);
  29. }).prototype = p = new cjs.Sprite();
  30. (lib.btn3 = function() {
  31. this.spriteSheet = ss["assets_atlas_P_3"];
  32. this.gotoAndStop(3);
  33. }).prototype = p = new cjs.Sprite();
  34. (lib.game_bg = function() {
  35. this.initialize(img.game_bg);
  36. }).prototype = p = new cjs.Bitmap();
  37. p.nominalBounds = new cjs.Rectangle(0,0,640,1040);
  38. (lib.hsr_icon1 = function() {
  39. this.spriteSheet = ss["assets_atlas_P_3"];
  40. this.gotoAndStop(4);
  41. }).prototype = p = new cjs.Sprite();
  42. (lib.hsr_icon1_1 = function() {
  43. this.spriteSheet = ss["assets_atlas_P_3"];
  44. this.gotoAndStop(5);
  45. }).prototype = p = new cjs.Sprite();
  46. (lib.hsr_icon2 = function() {
  47. this.spriteSheet = ss["assets_atlas_P_3"];
  48. this.gotoAndStop(6);
  49. }).prototype = p = new cjs.Sprite();
  50. (lib.hsr_icon2_1 = function() {
  51. this.spriteSheet = ss["assets_atlas_P_3"];
  52. this.gotoAndStop(7);
  53. }).prototype = p = new cjs.Sprite();
  54. (lib.hsr_icon3 = function() {
  55. this.spriteSheet = ss["assets_atlas_P_3"];
  56. this.gotoAndStop(8);
  57. }).prototype = p = new cjs.Sprite();
  58. (lib.hsr_icon3_1 = function() {
  59. this.spriteSheet = ss["assets_atlas_P_3"];
  60. this.gotoAndStop(9);
  61. }).prototype = p = new cjs.Sprite();
  62. (lib.hsr_icon4 = function() {
  63. this.spriteSheet = ss["assets_atlas_P_3"];
  64. this.gotoAndStop(10);
  65. }).prototype = p = new cjs.Sprite();
  66. (lib.hsr_icon4_1 = function() {
  67. this.spriteSheet = ss["assets_atlas_P_3"];
  68. this.gotoAndStop(11);
  69. }).prototype = p = new cjs.Sprite();
  70. (lib.material1 = function() {
  71. this.spriteSheet = ss["assets_atlas_P_3"];
  72. this.gotoAndStop(12);
  73. }).prototype = p = new cjs.Sprite();
  74. (lib.material2 = function() {
  75. this.spriteSheet = ss["assets_atlas_P_3"];
  76. this.gotoAndStop(13);
  77. }).prototype = p = new cjs.Sprite();
  78. (lib.material3 = function() {
  79. this.spriteSheet = ss["assets_atlas_P_3"];
  80. this.gotoAndStop(14);
  81. }).prototype = p = new cjs.Sprite();
  82. (lib.menu_hsr = function() {
  83. this.spriteSheet = ss["assets_atlas_P_2"];
  84. this.gotoAndStop(1);
  85. }).prototype = p = new cjs.Sprite();
  86. (lib.plate = function() {
  87. this.spriteSheet = ss["assets_atlas_P_"];
  88. this.gotoAndStop(1);
  89. }).prototype = p = new cjs.Sprite();
  90. (lib.pot = function() {
  91. this.spriteSheet = ss["assets_atlas_P_2"];
  92. this.gotoAndStop(2);
  93. }).prototype = p = new cjs.Sprite();
  94. (lib.pro = function() {
  95. this.spriteSheet = ss["assets_atlas_P_3"];
  96. this.gotoAndStop(15);
  97. }).prototype = p = new cjs.Sprite();
  98. (lib.smoke = function() {
  99. this.spriteSheet = ss["assets_atlas_P_2"];
  100. this.gotoAndStop(3);
  101. }).prototype = p = new cjs.Sprite();
  102. // helper functions:
  103. function mc_symbol_clone() {
  104. var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop));
  105. clone.gotoAndStop(this.currentFrame);
  106. clone.paused = this.paused;
  107. clone.framerate = this.framerate;
  108. return clone;
  109. }
  110. function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) {
  111. var prototype = cjs.extend(symbol, cjs.MovieClip);
  112. prototype.clone = mc_symbol_clone;
  113. prototype.nominalBounds = nominalBounds;
  114. prototype.frameBounds = frameBounds;
  115. return prototype;
  116. }
  117. (lib.smoke_1 = function(mode,startPosition,loop) {
  118. this.initialize(mode,startPosition,loop,{});
  119. // 图层 1
  120. this.instance = new lib.smoke();
  121. this.instance.parent = this;
  122. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  123. }).prototype = getMCSymbolPrototype(lib.smoke_1, new cjs.Rectangle(0,0,368,505), null);
  124. (lib.pro_1 = function(mode,startPosition,loop) {
  125. this.initialize(mode,startPosition,loop,{});
  126. // 图层_1
  127. this.instance = new lib.pro();
  128. this.instance.parent = this;
  129. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  130. }).prototype = getMCSymbolPrototype(lib.pro_1, new cjs.Rectangle(0,0,223,256), null);
  131. (lib.material3_1 = function(mode,startPosition,loop) {
  132. this.initialize(mode,startPosition,loop,{});
  133. // 图层 1
  134. this.instance = new lib.material3();
  135. this.instance.parent = this;
  136. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  137. }).prototype = getMCSymbolPrototype(lib.material3_1, new cjs.Rectangle(0,0,85,105), null);
  138. (lib.material2_1 = function(mode,startPosition,loop) {
  139. this.initialize(mode,startPosition,loop,{});
  140. // 图层 1
  141. this.instance = new lib.material2();
  142. this.instance.parent = this;
  143. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  144. }).prototype = getMCSymbolPrototype(lib.material2_1, new cjs.Rectangle(0,0,82,104), null);
  145. (lib.material1_1 = function(mode,startPosition,loop) {
  146. this.initialize(mode,startPosition,loop,{});
  147. // 图层 1
  148. this.instance = new lib.material1();
  149. this.instance.parent = this;
  150. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  151. }).prototype = getMCSymbolPrototype(lib.material1_1, new cjs.Rectangle(0,0,88,109), null);
  152. (lib.hsr_icon4_1_1 = function(mode,startPosition,loop) {
  153. this.initialize(mode,startPosition,loop,{});
  154. // 图层 1
  155. this.instance = new lib.hsr_icon4_1();
  156. this.instance.parent = this;
  157. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  158. }).prototype = getMCSymbolPrototype(lib.hsr_icon4_1_1, new cjs.Rectangle(0,0,108,46), null);
  159. (lib.hsr_icon3_1_1 = function(mode,startPosition,loop) {
  160. this.initialize(mode,startPosition,loop,{});
  161. // 图层 1
  162. this.instance = new lib.hsr_icon3_1();
  163. this.instance.parent = this;
  164. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  165. }).prototype = getMCSymbolPrototype(lib.hsr_icon3_1_1, new cjs.Rectangle(0,0,113,49), null);
  166. (lib.hsr_icon2_1_1 = function(mode,startPosition,loop) {
  167. this.initialize(mode,startPosition,loop,{});
  168. // 图层 1
  169. this.instance = new lib.hsr_icon2_1();
  170. this.instance.parent = this;
  171. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  172. }).prototype = getMCSymbolPrototype(lib.hsr_icon2_1_1, new cjs.Rectangle(0,0,97,42), null);
  173. (lib.hsr_icon1_1_1 = function(mode,startPosition,loop) {
  174. this.initialize(mode,startPosition,loop,{});
  175. // 图层 1
  176. this.instance = new lib.hsr_icon1_1();
  177. this.instance.parent = this;
  178. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  179. }).prototype = getMCSymbolPrototype(lib.hsr_icon1_1_1, new cjs.Rectangle(0,0,187,159), null);
  180. (lib.btn3_1 = function(mode,startPosition,loop) {
  181. this.initialize(mode,startPosition,loop,{});
  182. // 图层_1
  183. this.instance = new lib.btn3();
  184. this.instance.parent = this;
  185. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  186. }).prototype = getMCSymbolPrototype(lib.btn3_1, new cjs.Rectangle(0,0,240,60), null);
  187. (lib.btn2_1 = function(mode,startPosition,loop) {
  188. this.initialize(mode,startPosition,loop,{});
  189. // 图层_1
  190. this.instance = new lib.btn2();
  191. this.instance.parent = this;
  192. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  193. }).prototype = getMCSymbolPrototype(lib.btn2_1, new cjs.Rectangle(0,0,180,59), null);
  194. (lib.btn1_1 = function(mode,startPosition,loop) {
  195. this.initialize(mode,startPosition,loop,{});
  196. // 图层_1
  197. this.instance = new lib.btn1();
  198. this.instance.parent = this;
  199. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  200. }).prototype = getMCSymbolPrototype(lib.btn1_1, new cjs.Rectangle(0,0,180,59), null);
  201. (lib.bowl_1 = function(mode,startPosition,loop) {
  202. this.initialize(mode,startPosition,loop,{});
  203. // 图层 1
  204. this.instance = new lib.bowl();
  205. this.instance.parent = this;
  206. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  207. }).prototype = getMCSymbolPrototype(lib.bowl_1, new cjs.Rectangle(0,0,625,443), null);
  208. (lib.bg = function(mode,startPosition,loop) {
  209. this.initialize(mode,startPosition,loop,{});
  210. // 图层 1
  211. this.instance = new lib.game_bg();
  212. this.instance.parent = this;
  213. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  214. }).prototype = getMCSymbolPrototype(lib.bg, new cjs.Rectangle(0,0,640,1040), null);
  215. (lib.ball1_1 = function(mode,startPosition,loop) {
  216. this.initialize(mode,startPosition,loop,{});
  217. // 图层 1
  218. this.instance = new lib.ball1();
  219. this.instance.parent = this;
  220. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  221. }).prototype = getMCSymbolPrototype(lib.ball1_1, new cjs.Rectangle(0,0,203,139), null);
  222. (lib.menu_hsr_1 = function(mode,startPosition,loop) {
  223. this.initialize(mode,startPosition,loop,{});
  224. // 图层_3 (mask)
  225. var mask = new cjs.Shape();
  226. mask._off = true;
  227. mask.graphics.p("EgYhAjFMAAAhGJMAxDAAAMAAABGJg");
  228. mask.setTransform(167.5,-46);
  229. // smoke
  230. this.smoke = new lib.smoke_1();
  231. this.smoke.name = "smoke";
  232. this.smoke.parent = this;
  233. this.smoke.setTransform(169,465.5,1,1,0,0,0,184,252.5);
  234. var maskedShapeInstanceList = [this.smoke];
  235. for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
  236. maskedShapeInstanceList[shapedInstanceItr].mask = mask;
  237. }
  238. this.timeline.addTween(cjs.Tween.get(this.smoke).to({x:171.1,y:-448.9,alpha:0},62).wait(1));
  239. // 图层 1
  240. this.instance = new lib.menu_hsr();
  241. this.instance.parent = this;
  242. this.timeline.addTween(cjs.Tween.get(this.instance).wait(63));
  243. }).prototype = p = new cjs.MovieClip();
  244. p.nominalBounds = new cjs.Rectangle(0,0,353,269);
  245. (lib.hsr_icon4_2 = function(mode,startPosition,loop) {
  246. this.initialize(mode,startPosition,loop,{});
  247. // timeline functions:
  248. this.frame_0 = function() {
  249. this.stop();
  250. }
  251. // actions tween:
  252. this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2));
  253. // 图层 1
  254. this.instance = new lib.hsr_icon4();
  255. this.instance.parent = this;
  256. this.instance_1 = new lib.hsr_icon4_1_1();
  257. this.instance_1.parent = this;
  258. this.instance_1.setTransform(0,48);
  259. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).wait(1));
  260. }).prototype = p = new cjs.MovieClip();
  261. p.nominalBounds = new cjs.Rectangle(0,0,103,118);
  262. (lib.hsr_icon3_2 = function(mode,startPosition,loop) {
  263. this.initialize(mode,startPosition,loop,{});
  264. // timeline functions:
  265. this.frame_0 = function() {
  266. this.stop();
  267. }
  268. // actions tween:
  269. this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2));
  270. // 图层 1
  271. this.instance = new lib.hsr_icon3();
  272. this.instance.parent = this;
  273. this.instance_1 = new lib.hsr_icon3_1_1();
  274. this.instance_1.parent = this;
  275. this.instance_1.setTransform(142,33);
  276. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).wait(1));
  277. }).prototype = p = new cjs.MovieClip();
  278. p.nominalBounds = new cjs.Rectangle(0,0,371,144);
  279. (lib.hsr_icon2_2 = function(mode,startPosition,loop) {
  280. this.initialize(mode,startPosition,loop,{});
  281. // timeline functions:
  282. this.frame_0 = function() {
  283. this.stop();
  284. }
  285. // actions tween:
  286. this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2));
  287. // 图层 1
  288. this.instance = new lib.hsr_icon2();
  289. this.instance.parent = this;
  290. this.instance_1 = new lib.hsr_icon2_1_1();
  291. this.instance_1.parent = this;
  292. this.instance_1.setTransform(-19,19);
  293. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).wait(1));
  294. }).prototype = p = new cjs.MovieClip();
  295. p.nominalBounds = new cjs.Rectangle(0,0,86,75);
  296. (lib.hsr_icon1_2 = function(mode,startPosition,loop) {
  297. this.initialize(mode,startPosition,loop,{});
  298. // timeline functions:
  299. this.frame_0 = function() {
  300. this.stop();
  301. }
  302. // actions tween:
  303. this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(2));
  304. // 图层 1
  305. this.instance = new lib.hsr_icon1();
  306. this.instance.parent = this;
  307. this.instance_1 = new lib.hsr_icon1_1_1();
  308. this.instance_1.parent = this;
  309. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},1).wait(1));
  310. }).prototype = p = new cjs.MovieClip();
  311. p.nominalBounds = new cjs.Rectangle(0,0,202,129);
  312. (lib.blackboard_1 = function(mode,startPosition,loop) {
  313. this.initialize(mode,startPosition,loop,{});
  314. // material3
  315. this.material3 = new lib.material3_1();
  316. this.material3.name = "material3";
  317. this.material3.parent = this;
  318. this.material3.setTransform(502.5,178.5,1,1,0,0,0,42.5,52.5);
  319. this.timeline.addTween(cjs.Tween.get(this.material3).wait(1));
  320. // material2
  321. this.material2 = new lib.material2_1();
  322. this.material2.name = "material2";
  323. this.material2.parent = this;
  324. this.material2.setTransform(315,179,1,1,0,0,0,41,52);
  325. this.timeline.addTween(cjs.Tween.get(this.material2).wait(1));
  326. // material1
  327. this.material1 = new lib.material1_1();
  328. this.material1.name = "material1";
  329. this.material1.parent = this;
  330. this.material1.setTransform(122.6,178.5,1,1,0,0,0,44,54.5);
  331. this.timeline.addTween(cjs.Tween.get(this.material1).wait(1));
  332. // 图层 1
  333. this.instance = new lib.blackboard();
  334. this.instance.parent = this;
  335. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  336. }).prototype = getMCSymbolPrototype(lib.blackboard_1, new cjs.Rectangle(0,0,635,382), null);
  337. (lib.pot_1 = function(mode,startPosition,loop) {
  338. this.initialize(mode,startPosition,loop,{});
  339. // hsr
  340. this.hsr = new lib.menu_hsr_1();
  341. this.hsr.name = "hsr";
  342. this.hsr.parent = this;
  343. this.hsr.setTransform(375.3,216.6,1,1,0,0,0,243.8,202);
  344. this.hsr.alpha = 0;
  345. this.timeline.addTween(cjs.Tween.get(this.hsr).wait(1));
  346. // 图层_1
  347. this.instance = new lib.pot();
  348. this.instance.parent = this;
  349. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  350. }).prototype = getMCSymbolPrototype(lib.pot_1, new cjs.Rectangle(0,-256.4,614,989), null);
  351. (lib.plate_1 = function(mode,startPosition,loop) {
  352. this.initialize(mode,startPosition,loop,{});
  353. // hsr_icon4
  354. this.hsr_icon4 = new lib.hsr_icon4_2();
  355. this.hsr_icon4.name = "hsr_icon4";
  356. this.hsr_icon4.parent = this;
  357. this.hsr_icon4.setTransform(385.5,134);
  358. this.timeline.addTween(cjs.Tween.get(this.hsr_icon4).wait(1));
  359. // hsr_icon3
  360. this.hsr_icon3 = new lib.hsr_icon3_2();
  361. this.hsr_icon3.name = "hsr_icon3";
  362. this.hsr_icon3.parent = this;
  363. this.hsr_icon3.setTransform(81.5,251);
  364. this.timeline.addTween(cjs.Tween.get(this.hsr_icon3).wait(1));
  365. // hsr_icon2
  366. this.hsr_icon2 = new lib.hsr_icon2_2();
  367. this.hsr_icon2.name = "hsr_icon2";
  368. this.hsr_icon2.parent = this;
  369. this.hsr_icon2.setTransform(289,169.6);
  370. this.timeline.addTween(cjs.Tween.get(this.hsr_icon2).wait(1));
  371. // hsr_icon1
  372. this.hsr_icon1 = new lib.hsr_icon1_2();
  373. this.hsr_icon1.name = "hsr_icon1";
  374. this.hsr_icon1.parent = this;
  375. this.hsr_icon1.setTransform(76,134);
  376. this.timeline.addTween(cjs.Tween.get(this.hsr_icon1).wait(1));
  377. // 图层 1
  378. this.instance = new lib.plate();
  379. this.instance.parent = this;
  380. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  381. }).prototype = getMCSymbolPrototype(lib.plate_1, new cjs.Rectangle(0,0,563,455), null);
  382. // stage content:
  383. (lib.assets = function(mode,startPosition,loop) {
  384. this.initialize(mode,startPosition,loop,{});
  385. // btn3
  386. this.btn3 = new lib.btn3_1();
  387. this.btn3.name = "btn3";
  388. this.btn3.parent = this;
  389. this.btn3.setTransform(324,971.3,1,1,0,0,0,120,30);
  390. this.btn3.alpha = 0;
  391. this.timeline.addTween(cjs.Tween.get(this.btn3).wait(1));
  392. // pro
  393. this.pro = new lib.pro_1();
  394. this.pro.name = "pro";
  395. this.pro.parent = this;
  396. this.pro.setTransform(492.5,448.8,1,1,0,0,0,124,103.5);
  397. this.pro.alpha = 0;
  398. this.timeline.addTween(cjs.Tween.get(this.pro).wait(1));
  399. // ball1
  400. this.ball1 = new lib.ball1_1();
  401. this.ball1.name = "ball1";
  402. this.ball1.parent = this;
  403. this.ball1.setTransform(132.9,529.7,1,1,0,0,0,101.5,69.5);
  404. this.ball1.alpha = 0;
  405. this.timeline.addTween(cjs.Tween.get(this.ball1).wait(1));
  406. // blackboard
  407. this.blackboard = new lib.blackboard_1();
  408. this.blackboard.name = "blackboard";
  409. this.blackboard.parent = this;
  410. this.blackboard.setTransform(320.9,322.4,1,1,0,0,0,317.5,191);
  411. this.blackboard.alpha = 0;
  412. this.timeline.addTween(cjs.Tween.get(this.blackboard).wait(1));
  413. // btn2
  414. this.btn2 = new lib.btn2_1();
  415. this.btn2.name = "btn2";
  416. this.btn2.parent = this;
  417. this.btn2.setTransform(320.7,963.8,1,1,0,0,0,90,29.5);
  418. this.btn2.alpha = 0;
  419. this.timeline.addTween(cjs.Tween.get(this.btn2).wait(1));
  420. // pot
  421. this.pot = new lib.pot_1();
  422. this.pot.name = "pot";
  423. this.pot.parent = this;
  424. this.pot.setTransform(320.1,746.9,1,1,0,0,0,309.5,216.6);
  425. this.pot.alpha = 0;
  426. this.timeline.addTween(cjs.Tween.get(this.pot).wait(1));
  427. // btn1
  428. this.btn1 = new lib.btn1_1();
  429. this.btn1.name = "btn1";
  430. this.btn1.parent = this;
  431. this.btn1.setTransform(320.7,918.8,1,1,0,0,0,90,29.5);
  432. this.btn1.alpha = 0;
  433. this.timeline.addTween(cjs.Tween.get(this.btn1).wait(1));
  434. // plate
  435. this.plate = new lib.plate_1();
  436. this.plate.name = "plate";
  437. this.plate.parent = this;
  438. this.plate.setTransform(44.2,473.9);
  439. this.timeline.addTween(cjs.Tween.get(this.plate).wait(1));
  440. // bowl
  441. this.bowl = new lib.bowl_1();
  442. this.bowl.name = "bowl";
  443. this.bowl.parent = this;
  444. this.bowl.setTransform(0,543.4);
  445. this.bowl.alpha = 0;
  446. this.timeline.addTween(cjs.Tween.get(this.bowl).wait(1));
  447. // bg
  448. this.bg = new lib.bg();
  449. this.bg.name = "bg";
  450. this.bg.parent = this;
  451. this.bg.setTransform(320,520,1,1,0,0,0,320,520);
  452. this.timeline.addTween(cjs.Tween.get(this.bg).wait(1));
  453. }).prototype = p = new cjs.MovieClip();
  454. p.nominalBounds = new cjs.Rectangle(320,520,640,1262.9);
  455. // library properties:
  456. lib.properties = {
  457. id: '5529E26743974F469545223C44E61D22',
  458. width: 640,
  459. height: 1040,
  460. fps: 24,
  461. color: "#FFFFFF",
  462. opacity: 1.00,
  463. manifest: [
  464. {src:"images/game_bg.jpg", id:"game_bg"},
  465. {src:"images/assets_atlas_P_.png", id:"assets_atlas_P_"},
  466. {src:"images/assets_atlas_P_2.png", id:"assets_atlas_P_2"},
  467. {src:"images/assets_atlas_P_3.png", id:"assets_atlas_P_3"}
  468. ],
  469. preloads: []
  470. };
  471. // bootstrap callback support:
  472. (lib.Stage = function(canvas) {
  473. createjs.Stage.call(this, canvas);
  474. }).prototype = p = new createjs.Stage();
  475. p.setAutoPlay = function(autoPlay) {
  476. this.tickEnabled = autoPlay;
  477. }
  478. p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) }
  479. p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; }
  480. p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); }
  481. p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; }
  482. p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; }
  483. an.bootcompsLoaded = an.bootcompsLoaded || [];
  484. if(!an.bootstrapListeners) {
  485. an.bootstrapListeners=[];
  486. }
  487. an.bootstrapCallback=function(fnCallback) {
  488. an.bootstrapListeners.push(fnCallback);
  489. if(an.bootcompsLoaded.length > 0) {
  490. for(var i=0; i<an.bootcompsLoaded.length; ++i) {
  491. fnCallback(an.bootcompsLoaded[i]);
  492. }
  493. }
  494. };
  495. an.compositions = an.compositions || {};
  496. an.compositions['5529E26743974F469545223C44E61D22'] = {
  497. getStage: function() { return exportRoot.getStage(); },
  498. getLibrary: function() { return lib; },
  499. getSpriteSheet: function() { return ss; },
  500. getImages: function() { return img; }
  501. };
  502. an.compositionLoaded = function(id) {
  503. an.bootcompsLoaded.push(id);
  504. for(var j=0; j<an.bootstrapListeners.length; j++) {
  505. an.bootstrapListeners[j](id);
  506. }
  507. }
  508. an.getComposition = function(id) {
  509. return an.compositions[id];
  510. }
  511. })(createjs = createjs||{}, AdobeAn = AdobeAn||{});
  512. var createjs, AdobeAn;