assets.js 19 KB

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