gameAni.js 107KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541
  1. (function (cjs, an) {
  2. var p; // shortcut to reference prototypes
  3. var lib={};var ss={};var img={};
  4. lib.ssMetadata = [
  5. {name:"gameAni_atlas_1", frames: [[2073,1027,342,125],[3850,1434,209,82],[3635,1434,213,81],[2073,833,428,192],[2603,627,67,68],[2603,697,67,68],[4017,234,68,68],[2603,767,67,68],[3800,1180,270,252],[3800,610,267,283],[0,0,727,1037],[2712,1189,273,247],[1332,1405,284,110],[2346,1360,283,215],[2987,1369,207,283],[4016,346,80,81],[3915,458,89,89],[3435,1369,198,200],[3196,1369,237,236],[2685,0,613,608],[2987,1199,399,168],[3300,0,613,608],[3388,1199,399,168],[2631,1438,217,39],[2061,1189,649,169],[2685,610,577,577],[3264,610,534,587],[1407,651,664,375],[729,679,664,375],[1395,1028,664,375],[0,1039,664,375],[666,1056,664,375],[0,1433,821,56],[823,1433,474,56],[3915,0,122,115],[3915,117,122,115],[4065,0,10,30],[2058,0,625,625],[4039,0,11,30],[4077,0,10,30],[4052,0,11,30],[1407,0,649,649],[729,0,676,677],[1618,1405,245,119],[2417,1027,265,133],[2073,627,437,204],[2512,627,89,89],[2512,718,89,89],[4006,458,88,89],[2512,809,89,89],[3915,234,100,110],[3915,346,99,110],[2061,1360,283,216],[3800,895,248,283],[2061,1154,184,28]]}
  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.吉點 = function() {
  25. this.initialize(ss["gameAni_atlas_1"]);
  26. this.gotoAndStop(0);
  27. }).prototype = p = new cjs.Sprite();
  28. (lib.不亮 = function() {
  29. this.initialize(ss["gameAni_atlas_1"]);
  30. this.gotoAndStop(1);
  31. }).prototype = p = new cjs.Sprite();
  32. (lib.不亮_1 = function() {
  33. this.initialize(ss["gameAni_atlas_1"]);
  34. this.gotoAndStop(2);
  35. }).prototype = p = new cjs.Sprite();
  36. (lib.不亮_2 = function() {
  37. this.initialize(ss["gameAni_atlas_1"]);
  38. this.gotoAndStop(3);
  39. }).prototype = p = new cjs.Sprite();
  40. (lib.不亮_3 = function() {
  41. this.initialize(ss["gameAni_atlas_1"]);
  42. this.gotoAndStop(4);
  43. }).prototype = p = new cjs.Sprite();
  44. (lib.不亮_4 = function() {
  45. this.initialize(ss["gameAni_atlas_1"]);
  46. this.gotoAndStop(5);
  47. }).prototype = p = new cjs.Sprite();
  48. (lib.不亮_5 = function() {
  49. this.initialize(ss["gameAni_atlas_1"]);
  50. this.gotoAndStop(6);
  51. }).prototype = p = new cjs.Sprite();
  52. (lib.不亮_6 = function() {
  53. this.initialize(ss["gameAni_atlas_1"]);
  54. this.gotoAndStop(7);
  55. }).prototype = p = new cjs.Sprite();
  56. (lib._1 = function() {
  57. this.initialize(ss["gameAni_atlas_1"]);
  58. this.gotoAndStop(8);
  59. }).prototype = p = new cjs.Sprite();
  60. (lib._3 = function() {
  61. this.initialize(ss["gameAni_atlas_1"]);
  62. this.gotoAndStop(9);
  63. }).prototype = p = new cjs.Sprite();
  64. (lib.帳篷 = function() {
  65. this.initialize(ss["gameAni_atlas_1"]);
  66. this.gotoAndStop(10);
  67. }).prototype = p = new cjs.Sprite();
  68. (lib._6 = function() {
  69. this.initialize(ss["gameAni_atlas_1"]);
  70. this.gotoAndStop(11);
  71. }).prototype = p = new cjs.Sprite();
  72. (lib._66 = function() {
  73. this.initialize(ss["gameAni_atlas_1"]);
  74. this.gotoAndStop(12);
  75. }).prototype = p = new cjs.Sprite();
  76. (lib._8 = function() {
  77. this.initialize(ss["gameAni_atlas_1"]);
  78. this.gotoAndStop(13);
  79. }).prototype = p = new cjs.Sprite();
  80. (lib._9 = function() {
  81. this.initialize(ss["gameAni_atlas_1"]);
  82. this.gotoAndStop(14);
  83. }).prototype = p = new cjs.Sprite();
  84. (lib.btnclose = function() {
  85. this.initialize(ss["gameAni_atlas_1"]);
  86. this.gotoAndStop(15);
  87. }).prototype = p = new cjs.Sprite();
  88. (lib.checkin = function() {
  89. this.initialize(ss["gameAni_atlas_1"]);
  90. this.gotoAndStop(16);
  91. }).prototype = p = new cjs.Sprite();
  92. (lib.cta = function() {
  93. this.initialize(ss["gameAni_atlas_1"]);
  94. this.gotoAndStop(17);
  95. }).prototype = p = new cjs.Sprite();
  96. (lib.cta_l = function() {
  97. this.initialize(ss["gameAni_atlas_1"]);
  98. this.gotoAndStop(18);
  99. }).prototype = p = new cjs.Sprite();
  100. (lib.組合A = function() {
  101. this.initialize(ss["gameAni_atlas_1"]);
  102. this.gotoAndStop(19);
  103. }).prototype = p = new cjs.Sprite();
  104. (lib.組合A_1 = function() {
  105. this.initialize(ss["gameAni_atlas_1"]);
  106. this.gotoAndStop(20);
  107. }).prototype = p = new cjs.Sprite();
  108. (lib.組合B = function() {
  109. this.initialize(ss["gameAni_atlas_1"]);
  110. this.gotoAndStop(21);
  111. }).prototype = p = new cjs.Sprite();
  112. (lib.組合B_1 = function() {
  113. this.initialize(ss["gameAni_atlas_1"]);
  114. this.gotoAndStop(22);
  115. }).prototype = p = new cjs.Sprite();
  116. (lib.date = function() {
  117. this.initialize(ss["gameAni_atlas_1"]);
  118. this.gotoAndStop(23);
  119. }).prototype = p = new cjs.Sprite();
  120. (lib.everyday合併 = function() {
  121. this.initialize(ss["gameAni_atlas_1"]);
  122. this.gotoAndStop(24);
  123. }).prototype = p = new cjs.Sprite();
  124. (lib.框 = function() {
  125. this.initialize(ss["gameAni_atlas_1"]);
  126. this.gotoAndStop(25);
  127. }).prototype = p = new cjs.Sprite();
  128. (lib.框_1 = function() {
  129. this.initialize(ss["gameAni_atlas_1"]);
  130. this.gotoAndStop(26);
  131. }).prototype = p = new cjs.Sprite();
  132. (lib.flagcolor1 = function() {
  133. this.initialize(ss["gameAni_atlas_1"]);
  134. this.gotoAndStop(27);
  135. }).prototype = p = new cjs.Sprite();
  136. (lib.flagcolor2 = function() {
  137. this.initialize(ss["gameAni_atlas_1"]);
  138. this.gotoAndStop(28);
  139. }).prototype = p = new cjs.Sprite();
  140. (lib.flagcolorB = function() {
  141. this.initialize(ss["gameAni_atlas_1"]);
  142. this.gotoAndStop(29);
  143. }).prototype = p = new cjs.Sprite();
  144. (lib.flagcolorG = function() {
  145. this.initialize(ss["gameAni_atlas_1"]);
  146. this.gotoAndStop(30);
  147. }).prototype = p = new cjs.Sprite();
  148. (lib.flagcolorP = function() {
  149. this.initialize(ss["gameAni_atlas_1"]);
  150. this.gotoAndStop(31);
  151. }).prototype = p = new cjs.Sprite();
  152. (lib.gametext2 = function() {
  153. this.initialize(ss["gameAni_atlas_1"]);
  154. this.gotoAndStop(32);
  155. }).prototype = p = new cjs.Sprite();
  156. (lib.gametext3 = function() {
  157. this.initialize(ss["gameAni_atlas_1"]);
  158. this.gotoAndStop(33);
  159. }).prototype = p = new cjs.Sprite();
  160. (lib.兌換activepng複製 = function() {
  161. this.initialize(ss["gameAni_atlas_1"]);
  162. this.gotoAndStop(34);
  163. }).prototype = p = new cjs.Sprite();
  164. (lib.兌換 = function() {
  165. this.initialize(ss["gameAni_atlas_1"]);
  166. this.gotoAndStop(35);
  167. }).prototype = p = new cjs.Sprite();
  168. (lib.shape = function() {
  169. this.initialize(ss["gameAni_atlas_1"]);
  170. this.gotoAndStop(36);
  171. }).prototype = p = new cjs.Sprite();
  172. (lib.shape_1 = function() {
  173. this.initialize(ss["gameAni_atlas_1"]);
  174. this.gotoAndStop(37);
  175. }).prototype = p = new cjs.Sprite();
  176. (lib.shape拷貝 = function() {
  177. this.initialize(ss["gameAni_atlas_1"]);
  178. this.gotoAndStop(38);
  179. }).prototype = p = new cjs.Sprite();
  180. (lib.shape拷貝2 = function() {
  181. this.initialize(ss["gameAni_atlas_1"]);
  182. this.gotoAndStop(39);
  183. }).prototype = p = new cjs.Sprite();
  184. (lib.shape拷貝3 = function() {
  185. this.initialize(ss["gameAni_atlas_1"]);
  186. this.gotoAndStop(40);
  187. }).prototype = p = new cjs.Sprite();
  188. (lib.shapesDropShadow = function() {
  189. this.initialize(ss["gameAni_atlas_1"]);
  190. this.gotoAndStop(41);
  191. }).prototype = p = new cjs.Sprite();
  192. (lib.shapesOuterGlow = function() {
  193. this.initialize(ss["gameAni_atlas_1"]);
  194. this.gotoAndStop(42);
  195. }).prototype = p = new cjs.Sprite();
  196. (lib.亮 = function() {
  197. this.initialize(ss["gameAni_atlas_1"]);
  198. this.gotoAndStop(43);
  199. }).prototype = p = new cjs.Sprite();
  200. (lib.亮_1 = function() {
  201. this.initialize(ss["gameAni_atlas_1"]);
  202. this.gotoAndStop(44);
  203. }).prototype = p = new cjs.Sprite();
  204. (lib.亮_2 = function() {
  205. this.initialize(ss["gameAni_atlas_1"]);
  206. this.gotoAndStop(45);
  207. }).prototype = p = new cjs.Sprite();
  208. (lib.亮_3 = function() {
  209. this.initialize(ss["gameAni_atlas_1"]);
  210. this.gotoAndStop(46);
  211. }).prototype = p = new cjs.Sprite();
  212. (lib.亮_4 = function() {
  213. this.initialize(ss["gameAni_atlas_1"]);
  214. this.gotoAndStop(47);
  215. }).prototype = p = new cjs.Sprite();
  216. (lib.亮_5 = function() {
  217. this.initialize(ss["gameAni_atlas_1"]);
  218. this.gotoAndStop(48);
  219. }).prototype = p = new cjs.Sprite();
  220. (lib.亮_6 = function() {
  221. this.initialize(ss["gameAni_atlas_1"]);
  222. this.gotoAndStop(49);
  223. }).prototype = p = new cjs.Sprite();
  224. (lib.亮A = function() {
  225. this.initialize(ss["gameAni_atlas_1"]);
  226. this.gotoAndStop(50);
  227. }).prototype = p = new cjs.Sprite();
  228. (lib.亮B = function() {
  229. this.initialize(ss["gameAni_atlas_1"]);
  230. this.gotoAndStop(51);
  231. }).prototype = p = new cjs.Sprite();
  232. (lib.再轉一次 = function() {
  233. this.initialize(ss["gameAni_atlas_1"]);
  234. this.gotoAndStop(52);
  235. }).prototype = p = new cjs.Sprite();
  236. (lib.再接再厲 = function() {
  237. this.initialize(ss["gameAni_atlas_1"]);
  238. this.gotoAndStop(53);
  239. }).prototype = p = new cjs.Sprite();
  240. (lib.柱 = function() {
  241. this.initialize(ss["gameAni_atlas_1"]);
  242. this.gotoAndStop(54);
  243. }).prototype = p = new cjs.Sprite();
  244. // helper functions:
  245. function mc_symbol_clone() {
  246. var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop, this.reversed));
  247. clone.gotoAndStop(this.currentFrame);
  248. clone.paused = this.paused;
  249. clone.framerate = this.framerate;
  250. return clone;
  251. }
  252. function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) {
  253. var prototype = cjs.extend(symbol, cjs.MovieClip);
  254. prototype.clone = mc_symbol_clone;
  255. prototype.nominalBounds = nominalBounds;
  256. prototype.frameBounds = frameBounds;
  257. return prototype;
  258. }
  259. (lib.亮_7 = function(mode,startPosition,loop,reversed) {
  260. if (loop == null) { loop = true; }
  261. if (reversed == null) { reversed = false; }
  262. var props = new Object();
  263. props.mode = mode;
  264. props.startPosition = startPosition;
  265. props.labels = {};
  266. props.loop = loop;
  267. props.reversed = reversed;
  268. cjs.MovieClip.apply(this,[props]);
  269. // 圖層_1
  270. this.instance = new lib.亮_4();
  271. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  272. this._renderFirstFrame();
  273. }).prototype = getMCSymbolPrototype(lib.亮_7, new cjs.Rectangle(0,0,89,89), null);
  274. (lib.不亮_7 = function(mode,startPosition,loop,reversed) {
  275. if (loop == null) { loop = true; }
  276. if (reversed == null) { reversed = false; }
  277. var props = new Object();
  278. props.mode = mode;
  279. props.startPosition = startPosition;
  280. props.labels = {};
  281. props.loop = loop;
  282. props.reversed = reversed;
  283. cjs.MovieClip.apply(this,[props]);
  284. // 圖層_1
  285. this.instance = new lib.不亮_4();
  286. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  287. this._renderFirstFrame();
  288. }).prototype = getMCSymbolPrototype(lib.不亮_7, new cjs.Rectangle(0,0,67,68), null);
  289. (lib.亮_8 = function(mode,startPosition,loop,reversed) {
  290. if (loop == null) { loop = true; }
  291. if (reversed == null) { reversed = false; }
  292. var props = new Object();
  293. props.mode = mode;
  294. props.startPosition = startPosition;
  295. props.labels = {};
  296. props.loop = loop;
  297. props.reversed = reversed;
  298. cjs.MovieClip.apply(this,[props]);
  299. // 圖層_1
  300. this.instance_1 = new lib.亮_6();
  301. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  302. this._renderFirstFrame();
  303. }).prototype = getMCSymbolPrototype(lib.亮_8, new cjs.Rectangle(0,0,89,89), null);
  304. (lib.不亮_8 = function(mode,startPosition,loop,reversed) {
  305. if (loop == null) { loop = true; }
  306. if (reversed == null) { reversed = false; }
  307. var props = new Object();
  308. props.mode = mode;
  309. props.startPosition = startPosition;
  310. props.labels = {};
  311. props.loop = loop;
  312. props.reversed = reversed;
  313. cjs.MovieClip.apply(this,[props]);
  314. // 圖層_1
  315. this.instance_1 = new lib.不亮_6();
  316. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  317. this._renderFirstFrame();
  318. }).prototype = getMCSymbolPrototype(lib.不亮_8, new cjs.Rectangle(0,0,67,68), null);
  319. (lib.亮_9 = function(mode,startPosition,loop,reversed) {
  320. if (loop == null) { loop = true; }
  321. if (reversed == null) { reversed = false; }
  322. var props = new Object();
  323. props.mode = mode;
  324. props.startPosition = startPosition;
  325. props.labels = {};
  326. props.loop = loop;
  327. props.reversed = reversed;
  328. cjs.MovieClip.apply(this,[props]);
  329. // 圖層_1
  330. this.instance_2 = new lib.亮_5();
  331. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));
  332. this._renderFirstFrame();
  333. }).prototype = getMCSymbolPrototype(lib.亮_9, new cjs.Rectangle(0,0,88,89), null);
  334. (lib.不亮_9 = function(mode,startPosition,loop,reversed) {
  335. if (loop == null) { loop = true; }
  336. if (reversed == null) { reversed = false; }
  337. var props = new Object();
  338. props.mode = mode;
  339. props.startPosition = startPosition;
  340. props.labels = {};
  341. props.loop = loop;
  342. props.reversed = reversed;
  343. cjs.MovieClip.apply(this,[props]);
  344. // 圖層_1
  345. this.instance_2 = new lib.不亮_5();
  346. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));
  347. this._renderFirstFrame();
  348. }).prototype = getMCSymbolPrototype(lib.不亮_9, new cjs.Rectangle(0,0,68,68), null);
  349. (lib.亮_10 = function(mode,startPosition,loop,reversed) {
  350. if (loop == null) { loop = true; }
  351. if (reversed == null) { reversed = false; }
  352. var props = new Object();
  353. props.mode = mode;
  354. props.startPosition = startPosition;
  355. props.labels = {};
  356. props.loop = loop;
  357. props.reversed = reversed;
  358. cjs.MovieClip.apply(this,[props]);
  359. // 圖層_1
  360. this.instance_3 = new lib.亮_3();
  361. this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(1));
  362. this._renderFirstFrame();
  363. }).prototype = getMCSymbolPrototype(lib.亮_10, new cjs.Rectangle(0,0,89,89), null);
  364. (lib.不亮_10 = function(mode,startPosition,loop,reversed) {
  365. if (loop == null) { loop = true; }
  366. if (reversed == null) { reversed = false; }
  367. var props = new Object();
  368. props.mode = mode;
  369. props.startPosition = startPosition;
  370. props.labels = {};
  371. props.loop = loop;
  372. props.reversed = reversed;
  373. cjs.MovieClip.apply(this,[props]);
  374. // 圖層_1
  375. this.instance_3 = new lib.不亮_3();
  376. this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(1));
  377. this._renderFirstFrame();
  378. }).prototype = getMCSymbolPrototype(lib.不亮_10, new cjs.Rectangle(0,0,67,68), null);
  379. (lib.已兌換獎項將於7_26重新開放獎品兌換期限7_31 = function(mode,startPosition,loop,reversed) {
  380. if (loop == null) { loop = true; }
  381. if (reversed == null) { reversed = false; }
  382. var props = new Object();
  383. props.mode = mode;
  384. props.startPosition = startPosition;
  385. props.labels = {};
  386. props.loop = loop;
  387. props.reversed = reversed;
  388. cjs.MovieClip.apply(this,[props]);
  389. // 圖層_3
  390. this.date_txt = new cjs.Text("12/6", "bold 30px 'Arial'", "#FC04CD");
  391. this.date_txt.name = "date_txt";
  392. this.date_txt.lineHeight = 36;
  393. this.date_txt.parent = this;
  394. this.date_txt.setTransform(308.2,3.1);
  395. this.timeline.addTween(cjs.Tween.get(this.date_txt).wait(1));
  396. // 圖層_2
  397. this.instance = new lib.date();
  398. this.instance.setTransform(141,0);
  399. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  400. this._renderFirstFrame();
  401. }).prototype = getMCSymbolPrototype(lib.已兌換獎項將於7_26重新開放獎品兌換期限7_31, new cjs.Rectangle(141,0,227.89999999999998,39), null);
  402. (lib.X = function(mode,startPosition,loop,reversed) {
  403. if (loop == null) { loop = true; }
  404. if (reversed == null) { reversed = false; }
  405. var props = new Object();
  406. props.mode = mode;
  407. props.startPosition = startPosition;
  408. props.labels = {};
  409. props.loop = loop;
  410. props.reversed = reversed;
  411. cjs.MovieClip.apply(this,[props]);
  412. // 圖層_2
  413. this.instance = new lib.btnclose();
  414. this.instance.setTransform(-11,-21);
  415. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  416. this._renderFirstFrame();
  417. }).prototype = getMCSymbolPrototype(lib.X, new cjs.Rectangle(-11,-21,80,81), null);
  418. (lib.框_2 = function(mode,startPosition,loop,reversed) {
  419. if (loop == null) { loop = true; }
  420. if (reversed == null) { reversed = false; }
  421. var props = new Object();
  422. props.mode = mode;
  423. props.startPosition = startPosition;
  424. props.labels = {};
  425. props.loop = loop;
  426. props.reversed = reversed;
  427. cjs.MovieClip.apply(this,[props]);
  428. // 圖層_1
  429. this.instance = new lib.框_1();
  430. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  431. this._renderFirstFrame();
  432. }).prototype = getMCSymbolPrototype(lib.框_2, new cjs.Rectangle(0,0,534,587), null);
  433. (lib.亮B_1 = function(mode,startPosition,loop,reversed) {
  434. if (loop == null) { loop = true; }
  435. if (reversed == null) { reversed = false; }
  436. var props = new Object();
  437. props.mode = mode;
  438. props.startPosition = startPosition;
  439. props.labels = {};
  440. props.loop = loop;
  441. props.reversed = reversed;
  442. cjs.MovieClip.apply(this,[props]);
  443. // 圖層_1
  444. this.instance = new lib.亮B();
  445. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  446. this._renderFirstFrame();
  447. }).prototype = getMCSymbolPrototype(lib.亮B_1, new cjs.Rectangle(0,0,99,110), null);
  448. (lib.亮A_1 = function(mode,startPosition,loop,reversed) {
  449. if (loop == null) { loop = true; }
  450. if (reversed == null) { reversed = false; }
  451. var props = new Object();
  452. props.mode = mode;
  453. props.startPosition = startPosition;
  454. props.labels = {};
  455. props.loop = loop;
  456. props.reversed = reversed;
  457. cjs.MovieClip.apply(this,[props]);
  458. // 圖層_1
  459. this.instance = new lib.亮A();
  460. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  461. this._renderFirstFrame();
  462. }).prototype = getMCSymbolPrototype(lib.亮A_1, new cjs.Rectangle(0,0,100,110), null);
  463. (lib.shapesOuterGlow_1 = function(mode,startPosition,loop,reversed) {
  464. if (loop == null) { loop = true; }
  465. if (reversed == null) { reversed = false; }
  466. var props = new Object();
  467. props.mode = mode;
  468. props.startPosition = startPosition;
  469. props.labels = {};
  470. props.loop = loop;
  471. props.reversed = reversed;
  472. cjs.MovieClip.apply(this,[props]);
  473. // 圖層_1
  474. this.instance = new lib.shapesOuterGlow();
  475. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  476. this._renderFirstFrame();
  477. }).prototype = getMCSymbolPrototype(lib.shapesOuterGlow_1, new cjs.Rectangle(0,0,676,677), null);
  478. (lib.shapesDropShadow_1 = function(mode,startPosition,loop,reversed) {
  479. if (loop == null) { loop = true; }
  480. if (reversed == null) { reversed = false; }
  481. var props = new Object();
  482. props.mode = mode;
  483. props.startPosition = startPosition;
  484. props.labels = {};
  485. props.loop = loop;
  486. props.reversed = reversed;
  487. cjs.MovieClip.apply(this,[props]);
  488. // 圖層_1
  489. this.instance = new lib.shapesDropShadow();
  490. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  491. this._renderFirstFrame();
  492. }).prototype = getMCSymbolPrototype(lib.shapesDropShadow_1, new cjs.Rectangle(0,0,649,649), null);
  493. (lib.再接再厲_1 = function(mode,startPosition,loop,reversed) {
  494. if (loop == null) { loop = true; }
  495. if (reversed == null) { reversed = false; }
  496. var props = new Object();
  497. props.mode = mode;
  498. props.startPosition = startPosition;
  499. props.labels = {};
  500. props.loop = loop;
  501. props.reversed = reversed;
  502. cjs.MovieClip.apply(this,[props]);
  503. // 圖層_3
  504. this.instance = new lib.再接再厲();
  505. this.instance.setTransform(-29.45,246.8,1,1,-83.4999);
  506. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  507. this._renderFirstFrame();
  508. }).prototype = getMCSymbolPrototype(lib.再接再厲_1, new cjs.Rectangle(-29.4,0.4,309.2,278.5), null);
  509. (lib.再轉一次_1 = function(mode,startPosition,loop,reversed) {
  510. if (loop == null) { loop = true; }
  511. if (reversed == null) { reversed = false; }
  512. var props = new Object();
  513. props.mode = mode;
  514. props.startPosition = startPosition;
  515. props.labels = {};
  516. props.loop = loop;
  517. props.reversed = reversed;
  518. cjs.MovieClip.apply(this,[props]);
  519. // 圖層_2
  520. this.instance = new lib.再轉一次();
  521. this.instance.setTransform(0.05,281.45,1,1,-83.4999);
  522. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  523. this._renderFirstFrame();
  524. }).prototype = getMCSymbolPrototype(lib.再轉一次_1, new cjs.Rectangle(0.1,0.3,246.6,305.59999999999997), null);
  525. (lib.組合B_2 = function(mode,startPosition,loop,reversed) {
  526. if (loop == null) { loop = true; }
  527. if (reversed == null) { reversed = false; }
  528. var props = new Object();
  529. props.mode = mode;
  530. props.startPosition = startPosition;
  531. props.labels = {};
  532. props.loop = loop;
  533. props.reversed = reversed;
  534. cjs.MovieClip.apply(this,[props]);
  535. // 圖層_1
  536. this.instance = new lib.組合B();
  537. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  538. this._renderFirstFrame();
  539. }).prototype = getMCSymbolPrototype(lib.組合B_2, new cjs.Rectangle(0,0,613,608), null);
  540. (lib.組合A_2 = function(mode,startPosition,loop,reversed) {
  541. if (loop == null) { loop = true; }
  542. if (reversed == null) { reversed = false; }
  543. var props = new Object();
  544. props.mode = mode;
  545. props.startPosition = startPosition;
  546. props.labels = {};
  547. props.loop = loop;
  548. props.reversed = reversed;
  549. cjs.MovieClip.apply(this,[props]);
  550. // 圖層_1
  551. this.instance = new lib.組合A();
  552. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  553. this._renderFirstFrame();
  554. }).prototype = getMCSymbolPrototype(lib.組合A_2, new cjs.Rectangle(0,0,613,608), null);
  555. (lib.框_3 = function(mode,startPosition,loop,reversed) {
  556. if (loop == null) { loop = true; }
  557. if (reversed == null) { reversed = false; }
  558. var props = new Object();
  559. props.mode = mode;
  560. props.startPosition = startPosition;
  561. props.labels = {};
  562. props.loop = loop;
  563. props.reversed = reversed;
  564. cjs.MovieClip.apply(this,[props]);
  565. // 圖層_1
  566. this.instance_1 = new lib.框();
  567. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  568. this._renderFirstFrame();
  569. }).prototype = getMCSymbolPrototype(lib.框_3, new cjs.Rectangle(0,0,577,577), null);
  570. (lib._66_1 = function(mode,startPosition,loop,reversed) {
  571. if (loop == null) { loop = true; }
  572. if (reversed == null) { reversed = false; }
  573. var props = new Object();
  574. props.mode = mode;
  575. props.startPosition = startPosition;
  576. props.labels = {};
  577. props.loop = loop;
  578. props.reversed = reversed;
  579. cjs.MovieClip.apply(this,[props]);
  580. // 圖層_2
  581. this.instance = new lib._66();
  582. this.instance.setTransform(-30.35,274.25,1,1,-83.5006);
  583. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  584. this._renderFirstFrame();
  585. }).prototype = getMCSymbolPrototype(lib._66_1, new cjs.Rectangle(-30.3,-7.9,141.4,294.59999999999997), null);
  586. (lib._9_1 = function(mode,startPosition,loop,reversed) {
  587. if (loop == null) { loop = true; }
  588. if (reversed == null) { reversed = false; }
  589. var props = new Object();
  590. props.mode = mode;
  591. props.startPosition = startPosition;
  592. props.labels = {};
  593. props.loop = loop;
  594. props.reversed = reversed;
  595. cjs.MovieClip.apply(this,[props]);
  596. // 圖層_2
  597. this.instance = new lib._9();
  598. this.instance.setTransform(-1.45,181.3,1,1,-83.4999);
  599. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  600. this._renderFirstFrame();
  601. }).prototype = getMCSymbolPrototype(lib._9_1, new cjs.Rectangle(-1.4,-24.3,304.59999999999997,237.70000000000002), null);
  602. (lib._8_1 = function(mode,startPosition,loop,reversed) {
  603. if (loop == null) { loop = true; }
  604. if (reversed == null) { reversed = false; }
  605. var props = new Object();
  606. props.mode = mode;
  607. props.startPosition = startPosition;
  608. props.labels = {};
  609. props.loop = loop;
  610. props.reversed = reversed;
  611. cjs.MovieClip.apply(this,[props]);
  612. // 圖層_2
  613. this.instance = new lib._8();
  614. this.instance.setTransform(-1.5,271.3,1,1,-83.4999);
  615. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  616. this._renderFirstFrame();
  617. }).prototype = getMCSymbolPrototype(lib._8_1, new cjs.Rectangle(-1.5,-9.9,245.7,305.59999999999997), null);
  618. (lib._6_1 = function(mode,startPosition,loop,reversed) {
  619. if (loop == null) { loop = true; }
  620. if (reversed == null) { reversed = false; }
  621. var props = new Object();
  622. props.mode = mode;
  623. props.startPosition = startPosition;
  624. props.labels = {};
  625. props.loop = loop;
  626. props.reversed = reversed;
  627. cjs.MovieClip.apply(this,[props]);
  628. // 圖層_2
  629. this.instance = new lib._6();
  630. this.instance.setTransform(-15.6,243.85,1,1,-83.4999);
  631. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  632. this._renderFirstFrame();
  633. }).prototype = getMCSymbolPrototype(lib._6_1, new cjs.Rectangle(-15.6,-27.4,276.3,299.2), null);
  634. (lib._3_1 = function(mode,startPosition,loop,reversed) {
  635. if (loop == null) { loop = true; }
  636. if (reversed == null) { reversed = false; }
  637. var props = new Object();
  638. props.mode = mode;
  639. props.startPosition = startPosition;
  640. props.labels = {};
  641. props.loop = loop;
  642. props.reversed = reversed;
  643. cjs.MovieClip.apply(this,[props]);
  644. // 圖層_2
  645. this.instance = new lib._3();
  646. this.instance.setTransform(-13.55,261.95,1,1,-83.4999);
  647. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  648. this._renderFirstFrame();
  649. }).prototype = getMCSymbolPrototype(lib._3_1, new cjs.Rectangle(-13.5,-3.3,311.4,297.3), null);
  650. (lib._1_1 = function(mode,startPosition,loop,reversed) {
  651. if (loop == null) { loop = true; }
  652. if (reversed == null) { reversed = false; }
  653. var props = new Object();
  654. props.mode = mode;
  655. props.startPosition = startPosition;
  656. props.labels = {};
  657. props.loop = loop;
  658. props.reversed = reversed;
  659. cjs.MovieClip.apply(this,[props]);
  660. // 圖層_2
  661. this.instance = new lib._1();
  662. this.instance.setTransform(-14.2,250.35,1,1,-83.4999);
  663. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  664. this._renderFirstFrame();
  665. }).prototype = getMCSymbolPrototype(lib._1_1, new cjs.Rectangle(-14.2,-17.9,281,296.79999999999995), null);
  666. (lib.兌換亮 = function(mode,startPosition,loop,reversed) {
  667. if (loop == null) { loop = true; }
  668. if (reversed == null) { reversed = false; }
  669. var props = new Object();
  670. props.mode = mode;
  671. props.startPosition = startPosition;
  672. props.labels = {};
  673. props.loop = loop;
  674. props.reversed = reversed;
  675. cjs.MovieClip.apply(this,[props]);
  676. // 圖層_2
  677. this.instance = new lib.兌換activepng複製();
  678. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  679. this._renderFirstFrame();
  680. }).prototype = getMCSymbolPrototype(lib.兌換亮, new cjs.Rectangle(0,0,122,115), null);
  681. (lib.兌換不亮 = function(mode,startPosition,loop,reversed) {
  682. if (loop == null) { loop = true; }
  683. if (reversed == null) { reversed = false; }
  684. var props = new Object();
  685. props.mode = mode;
  686. props.startPosition = startPosition;
  687. props.labels = {};
  688. props.loop = loop;
  689. props.reversed = reversed;
  690. cjs.MovieClip.apply(this,[props]);
  691. // 圖層_2
  692. this.instance = new lib.兌換();
  693. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  694. this._renderFirstFrame();
  695. }).prototype = getMCSymbolPrototype(lib.兌換不亮, new cjs.Rectangle(0,0,122,115), null);
  696. (lib.柱_1 = function(mode,startPosition,loop,reversed) {
  697. if (loop == null) { loop = true; }
  698. if (reversed == null) { reversed = false; }
  699. var props = new Object();
  700. props.mode = mode;
  701. props.startPosition = startPosition;
  702. props.labels = {};
  703. props.loop = loop;
  704. props.reversed = reversed;
  705. cjs.MovieClip.apply(this,[props]);
  706. // 圖層_1
  707. this.instance = new lib.柱();
  708. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  709. this._renderFirstFrame();
  710. }).prototype = getMCSymbolPrototype(lib.柱_1, new cjs.Rectangle(0,0,184,28), null);
  711. (lib.亮_11 = function(mode,startPosition,loop,reversed) {
  712. if (loop == null) { loop = true; }
  713. if (reversed == null) { reversed = false; }
  714. var props = new Object();
  715. props.mode = mode;
  716. props.startPosition = startPosition;
  717. props.labels = {};
  718. props.loop = loop;
  719. props.reversed = reversed;
  720. cjs.MovieClip.apply(this,[props]);
  721. // 圖層_1
  722. this.instance_4 = new lib.亮();
  723. this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(1));
  724. this._renderFirstFrame();
  725. }).prototype = getMCSymbolPrototype(lib.亮_11, new cjs.Rectangle(0,0,245,119), null);
  726. (lib.不亮_11 = function(mode,startPosition,loop,reversed) {
  727. if (loop == null) { loop = true; }
  728. if (reversed == null) { reversed = false; }
  729. var props = new Object();
  730. props.mode = mode;
  731. props.startPosition = startPosition;
  732. props.labels = {};
  733. props.loop = loop;
  734. props.reversed = reversed;
  735. cjs.MovieClip.apply(this,[props]);
  736. // 圖層_1
  737. this.instance_4 = new lib.不亮();
  738. this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(1));
  739. this._renderFirstFrame();
  740. }).prototype = getMCSymbolPrototype(lib.不亮_11, new cjs.Rectangle(0,0,209,82), null);
  741. (lib.亮_12 = function(mode,startPosition,loop,reversed) {
  742. if (loop == null) { loop = true; }
  743. if (reversed == null) { reversed = false; }
  744. var props = new Object();
  745. props.mode = mode;
  746. props.startPosition = startPosition;
  747. props.labels = {};
  748. props.loop = loop;
  749. props.reversed = reversed;
  750. cjs.MovieClip.apply(this,[props]);
  751. // 圖層_1
  752. this.instance_5 = new lib.亮_1();
  753. this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(1));
  754. this._renderFirstFrame();
  755. }).prototype = getMCSymbolPrototype(lib.亮_12, new cjs.Rectangle(0,0,265,133), null);
  756. (lib.不亮_12 = function(mode,startPosition,loop,reversed) {
  757. if (loop == null) { loop = true; }
  758. if (reversed == null) { reversed = false; }
  759. var props = new Object();
  760. props.mode = mode;
  761. props.startPosition = startPosition;
  762. props.labels = {};
  763. props.loop = loop;
  764. props.reversed = reversed;
  765. cjs.MovieClip.apply(this,[props]);
  766. // 圖層_1
  767. this.instance_5 = new lib.不亮_1();
  768. this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(1));
  769. this._renderFirstFrame();
  770. }).prototype = getMCSymbolPrototype(lib.不亮_12, new cjs.Rectangle(0,0,213,81), null);
  771. (lib.亮_13 = function(mode,startPosition,loop,reversed) {
  772. if (loop == null) { loop = true; }
  773. if (reversed == null) { reversed = false; }
  774. var props = new Object();
  775. props.mode = mode;
  776. props.startPosition = startPosition;
  777. props.labels = {};
  778. props.loop = loop;
  779. props.reversed = reversed;
  780. cjs.MovieClip.apply(this,[props]);
  781. // 圖層_2
  782. this.instance_6 = new lib.cta_l();
  783. this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(1));
  784. this._renderFirstFrame();
  785. }).prototype = getMCSymbolPrototype(lib.亮_13, new cjs.Rectangle(0,0,237,236), null);
  786. (lib.不亮_13 = function(mode,startPosition,loop,reversed) {
  787. if (loop == null) { loop = true; }
  788. if (reversed == null) { reversed = false; }
  789. var props = new Object();
  790. props.mode = mode;
  791. props.startPosition = startPosition;
  792. props.labels = {};
  793. props.loop = loop;
  794. props.reversed = reversed;
  795. cjs.MovieClip.apply(this,[props]);
  796. // 圖層_2
  797. this.instance_6 = new lib.cta();
  798. this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(1));
  799. this._renderFirstFrame();
  800. }).prototype = getMCSymbolPrototype(lib.不亮_13, new cjs.Rectangle(0,0,198,200), null);
  801. (lib.everyday合併_1 = function(mode,startPosition,loop,reversed) {
  802. if (loop == null) { loop = true; }
  803. if (reversed == null) { reversed = false; }
  804. var props = new Object();
  805. props.mode = mode;
  806. props.startPosition = startPosition;
  807. props.labels = {};
  808. props.loop = loop;
  809. props.reversed = reversed;
  810. cjs.MovieClip.apply(this,[props]);
  811. // 圖層_5
  812. this.instance = new lib.gametext3();
  813. this.instance.setTransform(87,28);
  814. this.timeline.addTween(cjs.Tween.get(this.instance).wait(150));
  815. // 圖層_1
  816. this.instance_1 = new lib.everyday合併();
  817. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(150));
  818. this._renderFirstFrame();
  819. }).prototype = p = new cjs.MovieClip();
  820. p.nominalBounds = new cjs.Rectangle(0,0,649,169);
  821. (lib.帳篷_1 = function(mode,startPosition,loop,reversed) {
  822. if (loop == null) { loop = true; }
  823. if (reversed == null) { reversed = false; }
  824. var props = new Object();
  825. props.mode = mode;
  826. props.startPosition = startPosition;
  827. props.labels = {};
  828. props.loop = loop;
  829. props.reversed = reversed;
  830. cjs.MovieClip.apply(this,[props]);
  831. // 圖層_1
  832. this.instance = new lib.帳篷();
  833. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  834. this._renderFirstFrame();
  835. }).prototype = getMCSymbolPrototype(lib.帳篷_1, new cjs.Rectangle(0,0,727,1037), null);
  836. (lib.亮_14 = function(mode,startPosition,loop,reversed) {
  837. if (loop == null) { loop = true; }
  838. if (reversed == null) { reversed = false; }
  839. var props = new Object();
  840. props.mode = mode;
  841. props.startPosition = startPosition;
  842. props.labels = {};
  843. props.loop = loop;
  844. props.reversed = reversed;
  845. cjs.MovieClip.apply(this,[props]);
  846. // 圖層_1
  847. this.instance_7 = new lib.亮_2();
  848. this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(1));
  849. this._renderFirstFrame();
  850. }).prototype = getMCSymbolPrototype(lib.亮_14, new cjs.Rectangle(0,0,437,204), null);
  851. (lib.組合B_3 = function(mode,startPosition,loop,reversed) {
  852. if (loop == null) { loop = true; }
  853. if (reversed == null) { reversed = false; }
  854. var props = new Object();
  855. props.mode = mode;
  856. props.startPosition = startPosition;
  857. props.labels = {};
  858. props.loop = loop;
  859. props.reversed = reversed;
  860. cjs.MovieClip.apply(this,[props]);
  861. // 圖層_1
  862. this.instance_1 = new lib.組合B_1();
  863. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  864. this._renderFirstFrame();
  865. }).prototype = getMCSymbolPrototype(lib.組合B_3, new cjs.Rectangle(0,0,399,168), null);
  866. (lib.組合A_3 = function(mode,startPosition,loop,reversed) {
  867. if (loop == null) { loop = true; }
  868. if (reversed == null) { reversed = false; }
  869. var props = new Object();
  870. props.mode = mode;
  871. props.startPosition = startPosition;
  872. props.labels = {};
  873. props.loop = loop;
  874. props.reversed = reversed;
  875. cjs.MovieClip.apply(this,[props]);
  876. // 圖層_1
  877. this.instance_1 = new lib.組合A_1();
  878. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  879. this._renderFirstFrame();
  880. }).prototype = getMCSymbolPrototype(lib.組合A_3, new cjs.Rectangle(0,0,399,168), null);
  881. (lib.不亮_14 = function(mode,startPosition,loop,reversed) {
  882. if (loop == null) { loop = true; }
  883. if (reversed == null) { reversed = false; }
  884. var props = new Object();
  885. props.mode = mode;
  886. props.startPosition = startPosition;
  887. props.labels = {};
  888. props.loop = loop;
  889. props.reversed = reversed;
  890. cjs.MovieClip.apply(this,[props]);
  891. // 圖層_1
  892. this.instance_7 = new lib.不亮_2();
  893. this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(1));
  894. this._renderFirstFrame();
  895. }).prototype = getMCSymbolPrototype(lib.不亮_14, new cjs.Rectangle(0,0,428,192), null);
  896. (lib.吉點複製 = function(mode,startPosition,loop,reversed) {
  897. if (loop == null) { loop = true; }
  898. if (reversed == null) { reversed = false; }
  899. var props = new Object();
  900. props.mode = mode;
  901. props.startPosition = startPosition;
  902. props.labels = {};
  903. props.loop = loop;
  904. props.reversed = reversed;
  905. cjs.MovieClip.apply(this,[props]);
  906. // 圖層_1
  907. this.instance = new lib.吉點();
  908. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  909. this._renderFirstFrame();
  910. }).prototype = getMCSymbolPrototype(lib.吉點複製, new cjs.Rectangle(0,0,342,125), null);
  911. (lib.game_text複製 = function(mode,startPosition,loop,reversed) {
  912. if (loop == null) { loop = true; }
  913. if (reversed == null) { reversed = false; }
  914. var props = new Object();
  915. props.mode = mode;
  916. props.startPosition = startPosition;
  917. props.labels = {};
  918. props.loop = loop;
  919. props.reversed = reversed;
  920. cjs.MovieClip.apply(this,[props]);
  921. // 圖層_2
  922. this.instance = new lib.gametext2();
  923. this.instance.setTransform(849,0);
  924. this.instance_1 = new lib.gametext2();
  925. this.instance_1.setTransform(-7,0);
  926. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));
  927. this._renderFirstFrame();
  928. }).prototype = getMCSymbolPrototype(lib.game_text複製, new cjs.Rectangle(-7,0,1677,56), null);
  929. (lib.flag_P = function(mode,startPosition,loop,reversed) {
  930. if (loop == null) { loop = true; }
  931. if (reversed == null) { reversed = false; }
  932. var props = new Object();
  933. props.mode = mode;
  934. props.startPosition = startPosition;
  935. props.labels = {};
  936. props.loop = loop;
  937. props.reversed = reversed;
  938. cjs.MovieClip.apply(this,[props]);
  939. // 圖層_1
  940. this.instance = new lib.flagcolorP();
  941. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  942. this._renderFirstFrame();
  943. }).prototype = getMCSymbolPrototype(lib.flag_P, new cjs.Rectangle(0,0,664,375), null);
  944. (lib.flag_G = function(mode,startPosition,loop,reversed) {
  945. if (loop == null) { loop = true; }
  946. if (reversed == null) { reversed = false; }
  947. var props = new Object();
  948. props.mode = mode;
  949. props.startPosition = startPosition;
  950. props.labels = {};
  951. props.loop = loop;
  952. props.reversed = reversed;
  953. cjs.MovieClip.apply(this,[props]);
  954. // 圖層_1
  955. this.instance = new lib.flagcolorG();
  956. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  957. this._renderFirstFrame();
  958. }).prototype = getMCSymbolPrototype(lib.flag_G, new cjs.Rectangle(0,0,664,375), null);
  959. (lib.flag_B = function(mode,startPosition,loop,reversed) {
  960. if (loop == null) { loop = true; }
  961. if (reversed == null) { reversed = false; }
  962. var props = new Object();
  963. props.mode = mode;
  964. props.startPosition = startPosition;
  965. props.labels = {};
  966. props.loop = loop;
  967. props.reversed = reversed;
  968. cjs.MovieClip.apply(this,[props]);
  969. // 圖層_1
  970. this.instance = new lib.flagcolorB();
  971. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  972. this._renderFirstFrame();
  973. }).prototype = getMCSymbolPrototype(lib.flag_B, new cjs.Rectangle(0,0,664,375), null);
  974. (lib.checkin_img = function(mode,startPosition,loop,reversed) {
  975. if (loop == null) { loop = true; }
  976. if (reversed == null) { reversed = false; }
  977. var props = new Object();
  978. props.mode = mode;
  979. props.startPosition = startPosition;
  980. props.labels = {};
  981. props.loop = loop;
  982. props.reversed = reversed;
  983. cjs.MovieClip.apply(this,[props]);
  984. // 圖層_1
  985. this.instance = new lib.checkin();
  986. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  987. this._renderFirstFrame();
  988. }).prototype = getMCSymbolPrototype(lib.checkin_img, new cjs.Rectangle(0,0,89,89), null);
  989. (lib.wheel_mc_stand = function(mode,startPosition,loop,reversed) {
  990. if (loop == null) { loop = true; }
  991. if (reversed == null) { reversed = false; }
  992. var props = new Object();
  993. props.mode = mode;
  994. props.startPosition = startPosition;
  995. props.labels = {};
  996. props.loop = loop;
  997. props.reversed = reversed;
  998. cjs.MovieClip.apply(this,[props]);
  999. // 框
  1000. this.instance = new lib.框_3();
  1001. this.instance.setTransform(288.5,288.5,1,1,0,0,0,288.5,288.5);
  1002. this.instance.alpha = 0.6992;
  1003. this.timeline.addTween(cjs.Tween.get(this.instance).wait(32));
  1004. // _6
  1005. this.instance_1 = new lib._66_1();
  1006. this.instance_1.setTransform(286.5,145,1,1,0,0,0,55.5,142);
  1007. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(4).to({alpha:0.3984},0).wait(28));
  1008. // 再轉一次_
  1009. this.instance_2 = new lib.再轉一次_1();
  1010. this.instance_2.setTransform(404,148,1,1,0,0,0,118,139);
  1011. this.instance_2.alpha = 0.3984;
  1012. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(4).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(24));
  1013. // _
  1014. this.instance_3 = new lib._9_1();
  1015. this.instance_3.setTransform(427.5,235.5,1,1,0,0,0,141.5,106.5);
  1016. this.instance_3.alpha = 0.3984;
  1017. this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(8).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(20));
  1018. // 再接再厲_
  1019. this.instance_4 = new lib.再接再厲_1();
  1020. this.instance_4.setTransform(425,417,1,1,0,0,0,139,131);
  1021. this.instance_4.alpha = 0.3984;
  1022. this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(12).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(16));
  1023. // _
  1024. this.instance_5 = new lib._8_1();
  1025. this.instance_5.setTransform(286.5,428,1,1,0,0,0,108.5,142);
  1026. this.instance_5.alpha = 0.3984;
  1027. this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(16).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(12));
  1028. // _
  1029. this.instance_6 = new lib._6_1();
  1030. this.instance_6.setTransform(156,417,1,1,0,0,0,131,131);
  1031. this.instance_6.alpha = 0.3984;
  1032. this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(20).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(8));
  1033. // _
  1034. this.instance_7 = new lib._3_1();
  1035. this.instance_7.setTransform(145,262,1,1,0,0,0,141,133);
  1036. this.instance_7.alpha = 0.3984;
  1037. this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(24).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(4));
  1038. // _
  1039. this.instance_8 = new lib._1_1();
  1040. this.instance_8.setTransform(169,148,1,1,0,0,0,118,139);
  1041. this.instance_8.alpha = 0.3984;
  1042. this.timeline.addTween(cjs.Tween.get(this.instance_8).wait(28).to({alpha:1},0).wait(4));
  1043. this._renderFirstFrame();
  1044. }).prototype = p = new cjs.MovieClip();
  1045. p.nominalBounds = new cjs.Rectangle(-9.5,-8.9,598.7,590.6);
  1046. (lib.wheel_mc_rolling_effect = function(mode,startPosition,loop,reversed) {
  1047. if (loop == null) { loop = true; }
  1048. if (reversed == null) { reversed = false; }
  1049. var props = new Object();
  1050. props.mode = mode;
  1051. props.startPosition = startPosition;
  1052. props.labels = {};
  1053. props.loop = loop;
  1054. props.reversed = reversed;
  1055. cjs.MovieClip.apply(this,[props]);
  1056. // timeline functions:
  1057. this.frame_0 = function() {
  1058. /*var _this = this;
  1059. for(var _i = 0; _i<8;_i++){
  1060. _this['pick_' + _i].alpha=0.4;
  1061. }
  1062. _this['pick_' + 0].alpha=1;*/
  1063. }
  1064. // actions tween:
  1065. this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(40));
  1066. // 框
  1067. this.instance = new lib.框_3();
  1068. this.instance.setTransform(2.65,1.4,1,1,0,0,0,288.5,288.5);
  1069. this.timeline.addTween(cjs.Tween.get(this.instance).wait(40));
  1070. // pick_0
  1071. this.pick_0 = new lib._66_1();
  1072. this.pick_0.name = "pick_0";
  1073. this.pick_0.setTransform(0.65,-142.1,1,1,0,0,0,55.5,142);
  1074. this.timeline.addTween(cjs.Tween.get(this.pick_0).wait(40));
  1075. // pick_7
  1076. this.pick_7 = new lib.再轉一次_1();
  1077. this.pick_7.name = "pick_7";
  1078. this.pick_7.setTransform(118.15,-139.1,1,1,0,0,0,118,139);
  1079. this.timeline.addTween(cjs.Tween.get(this.pick_7).wait(40));
  1080. // pick_6
  1081. this.pick_6 = new lib._9_1();
  1082. this.pick_6.name = "pick_6";
  1083. this.pick_6.setTransform(141.65,-51.6,1,1,0,0,0,141.5,106.5);
  1084. this.timeline.addTween(cjs.Tween.get(this.pick_6).wait(40));
  1085. // pick_5
  1086. this.pick_5 = new lib.再接再厲_1();
  1087. this.pick_5.name = "pick_5";
  1088. this.pick_5.setTransform(139.15,129.9,1,1,0,0,0,139,131);
  1089. this.timeline.addTween(cjs.Tween.get(this.pick_5).wait(40));
  1090. // pick_4
  1091. this.pick_4 = new lib._8_1();
  1092. this.pick_4.name = "pick_4";
  1093. this.pick_4.setTransform(0.65,140.9,1,1,0,0,0,108.5,142);
  1094. this.timeline.addTween(cjs.Tween.get(this.pick_4).wait(40));
  1095. // pick_3
  1096. this.pick_3 = new lib._6_1();
  1097. this.pick_3.name = "pick_3";
  1098. this.pick_3.setTransform(-129.85,129.9,1,1,0,0,0,131,131);
  1099. this.timeline.addTween(cjs.Tween.get(this.pick_3).wait(40));
  1100. // pick_2
  1101. this.pick_2 = new lib._3_1();
  1102. this.pick_2.name = "pick_2";
  1103. this.pick_2.setTransform(-140.85,-25.1,1,1,0,0,0,141,133);
  1104. this.timeline.addTween(cjs.Tween.get(this.pick_2).wait(40));
  1105. // pick_1
  1106. this.pick_1 = new lib._1_1();
  1107. this.pick_1.name = "pick_1";
  1108. this.pick_1.setTransform(-116.85,-139.1,1,1,0,0,0,118,139);
  1109. this.timeline.addTween(cjs.Tween.get(this.pick_1).wait(40));
  1110. this._renderFirstFrame();
  1111. }).prototype = p = new cjs.MovieClip();
  1112. p.nominalBounds = new cjs.Rectangle(-295.4,-296,598.8,590.6);
  1113. (lib.wheel_mc_rolling = function(mode,startPosition,loop,reversed) {
  1114. if (loop == null) { loop = true; }
  1115. if (reversed == null) { reversed = false; }
  1116. var props = new Object();
  1117. props.mode = mode;
  1118. props.startPosition = startPosition;
  1119. props.labels = {loop:1,complete:29,complete_0:47,complete_7:90,complete_6:167,complete_5:244,complete_4:316,complete_3:369,complete_2:405,complete_1:438};
  1120. props.loop = loop;
  1121. props.reversed = reversed;
  1122. cjs.MovieClip.apply(this,[props]);
  1123. // timeline functions:
  1124. this.frame_0 = function() {
  1125. var _this = this;
  1126. _this.stop();
  1127. _this.isComplete = false;
  1128. _this.completeCount = 0;
  1129. var _rotation = [0,14,58,114,158,204,260,306,350];
  1130. _this.setPick = function (_count){
  1131. /*for(var _i = 0; _i<8;_i++){
  1132. _this.wheel_mc['pick_' + _i].alpha=0.4;
  1133. }
  1134. _this.wheel_mc['pick_' + _count].alpha=1;*/
  1135. }
  1136. _this.setComplete = function (_count){
  1137. _this.isComplete = true;
  1138. _this.completeCount = _count;
  1139. console.log('setComplete = ' + _this.completeCount);
  1140. }
  1141. var preTick = 0;
  1142. var nowTick;
  1143. _this.addEventListener("tick", handleTick);
  1144. function handleTick(event) {
  1145. //console.log(_this.wheel_mc.rotation);
  1146. for(var _i = 0; _i<8;_i++){
  1147. _this.wheel_mc['pick_' + _i].alpha=0.4;
  1148. }
  1149. //var _r = _this.wheel_mc.rotation + 60;
  1150. preTick = _this.wheel_mc.rotation%360;
  1151. var _r = preTick;
  1152. //console.log(_r);
  1153. if(_r > 410){
  1154. _this.wheel_mc['pick_' + 2].alpha=1;
  1155. }else if(_r > 370){
  1156. _this.wheel_mc['pick_' + 1].alpha=1;
  1157. }else if(_r > 350){
  1158. _this.wheel_mc['pick_' + 0].alpha=1;
  1159. }else if(_r > _rotation[7]){
  1160. _this.wheel_mc['pick_' + 7].alpha=1;
  1161. }else if(_r > _rotation[6]){
  1162. _this.wheel_mc['pick_' + 6].alpha=1;
  1163. }else if(_r > _rotation[5]){
  1164. _this.wheel_mc['pick_' + 5].alpha=1;
  1165. }else if(_r > _rotation[4]){
  1166. _this.wheel_mc['pick_' + 4].alpha=1;
  1167. }else if(_r > _rotation[3]){
  1168. _this.wheel_mc['pick_' + 3].alpha=1;
  1169. }else if(_r > _rotation[2]){
  1170. _this.wheel_mc['pick_' + 2].alpha=1;
  1171. }else if(_r > _rotation[1]){
  1172. _this.wheel_mc['pick_' + 1].alpha=1;
  1173. }else if(_r > _rotation[0]){
  1174. _this.wheel_mc['pick_' + 0].alpha=1;
  1175. }
  1176. if(_r == 0){
  1177. _this.wheel_mc['pick_' + 0].alpha=1;
  1178. }
  1179. }
  1180. }
  1181. this.frame_1 = function() {
  1182. var _this = this;
  1183. _this.setPick(0);
  1184. }
  1185. this.frame_2 = function() {
  1186. var _this = this;
  1187. _this.setPick(1);
  1188. }
  1189. this.frame_4 = function() {
  1190. var _this = this;
  1191. _this.setPick(2);
  1192. }
  1193. this.frame_6 = function() {
  1194. var _this = this;
  1195. _this.setPick(3);
  1196. }
  1197. this.frame_8 = function() {
  1198. var _this = this;
  1199. _this.setPick(4);
  1200. }
  1201. this.frame_9 = function() {
  1202. var _this = this;
  1203. _this.setPick(5);
  1204. }
  1205. this.frame_12 = function() {
  1206. var _this = this;
  1207. _this.setPick(6);
  1208. }
  1209. this.frame_13 = function() {
  1210. var _this = this;
  1211. _this.setPick(7);
  1212. }
  1213. this.frame_14 = function() {
  1214. var _this = this;
  1215. if(!_this.isComplete){
  1216. _this.gotoAndPlay('loop');
  1217. }else{
  1218. _this.gotoAndPlay('complete');
  1219. console.log('complete! count = ' + _this.completeCount);
  1220. }
  1221. }
  1222. this.frame_29 = function() {
  1223. var _this = this;
  1224. _this.setPick(0);
  1225. }
  1226. this.frame_30 = function() {
  1227. var _this = this;
  1228. _this.setPick(1);
  1229. }
  1230. this.frame_34 = function() {
  1231. var _this = this;
  1232. _this.setPick(2);
  1233. }
  1234. this.frame_37 = function() {
  1235. var _this = this;
  1236. _this.setPick(3);
  1237. }
  1238. this.frame_39 = function() {
  1239. var _this = this;
  1240. _this.setPick(4);
  1241. }
  1242. this.frame_41 = function() {
  1243. var _this = this;
  1244. _this.setPick(5);
  1245. }
  1246. this.frame_44 = function() {
  1247. var _this = this;
  1248. _this.setPick(6);
  1249. }
  1250. this.frame_46 = function() {
  1251. var _this = this;
  1252. _this.setPick(7);
  1253. var _this = this;
  1254. console.log('complete_' + _this.completeCount);
  1255. _this.gotoAndPlay('complete_' + _this.completeCount);
  1256. }
  1257. this.frame_47 = function() {
  1258. var _this = this;
  1259. _this.setPick(0);
  1260. }
  1261. this.frame_48 = function() {
  1262. var _this = this;
  1263. _this.setPick(1);
  1264. }
  1265. this.frame_50 = function() {
  1266. var _this = this;
  1267. _this.setPick(2);
  1268. }
  1269. this.frame_53 = function() {
  1270. var _this = this;
  1271. _this.setPick(3);
  1272. }
  1273. this.frame_56 = function() {
  1274. var _this = this;
  1275. _this.setPick(4);
  1276. }
  1277. this.frame_58 = function() {
  1278. var _this = this;
  1279. _this.setPick(5);
  1280. }
  1281. this.frame_63 = function() {
  1282. var _this = this;
  1283. _this.setPick(6);
  1284. }
  1285. this.frame_68 = function() {
  1286. var _this = this;
  1287. _this.setPick(7);
  1288. }
  1289. this.frame_77 = function() {
  1290. var _this = this;
  1291. _this.setPick(0);
  1292. }
  1293. this.frame_89 = function() {
  1294. var _this = this;
  1295. _this.stop();
  1296. main.luckydrawComplete();
  1297. }
  1298. this.frame_91 = function() {
  1299. var _this = this;
  1300. _this.setPick(1);
  1301. }
  1302. this.frame_93 = function() {
  1303. var _this = this;
  1304. _this.setPick(2);
  1305. }
  1306. this.frame_97 = function() {
  1307. var _this = this;
  1308. _this.setPick(3);
  1309. }
  1310. this.frame_100 = function() {
  1311. var _this = this;
  1312. _this.setPick(4);
  1313. }
  1314. this.frame_103 = function() {
  1315. var _this = this;
  1316. _this.setPick(5);
  1317. }
  1318. this.frame_109 = function() {
  1319. var _this = this;
  1320. _this.setPick(6);
  1321. }
  1322. this.frame_115 = function() {
  1323. var _this = this;
  1324. _this.setPick(7);
  1325. }
  1326. this.frame_126 = function() {
  1327. var _this = this;
  1328. _this.setPick(0);
  1329. }
  1330. this.frame_149 = function() {
  1331. var _this = this;
  1332. _this.setPick(7);
  1333. }
  1334. this.frame_166 = function() {
  1335. var _this = this;
  1336. _this.stop();
  1337. main.luckydrawComplete();
  1338. }
  1339. this.frame_168 = function() {
  1340. var _this = this;
  1341. _this.setPick(1);
  1342. }
  1343. this.frame_171 = function() {
  1344. var _this = this;
  1345. _this.setPick(2);
  1346. }
  1347. this.frame_175 = function() {
  1348. var _this = this;
  1349. _this.setPick(3);
  1350. }
  1351. this.frame_179 = function() {
  1352. var _this = this;
  1353. _this.setPick(4);
  1354. }
  1355. this.frame_183 = function() {
  1356. var _this = this;
  1357. _this.setPick(5);
  1358. }
  1359. this.frame_192 = function() {
  1360. var _this = this;
  1361. _this.setPick(6);
  1362. }
  1363. this.frame_206 = function() {
  1364. var _this = this;
  1365. _this.setPick(7);
  1366. }
  1367. this.frame_222 = function() {
  1368. var _this = this;
  1369. _this.setPick(6);
  1370. }
  1371. this.frame_243 = function() {
  1372. var _this = this;
  1373. _this.stop();
  1374. main.luckydrawComplete();
  1375. }
  1376. this.frame_245 = function() {
  1377. var _this = this;
  1378. _this.setPick(1);
  1379. }
  1380. this.frame_248 = function() {
  1381. var _this = this;
  1382. _this.setPick(2);
  1383. }
  1384. this.frame_253 = function() {
  1385. var _this = this;
  1386. _this.setPick(3);
  1387. }
  1388. this.frame_258 = function() {
  1389. var _this = this;
  1390. _this.setPick(4);
  1391. }
  1392. this.frame_265 = function() {
  1393. var _this = this;
  1394. _this.setPick(5);
  1395. }
  1396. this.frame_315 = function() {
  1397. var _this = this;
  1398. _this.stop();
  1399. main.luckydrawComplete();
  1400. }
  1401. this.frame_317 = function() {
  1402. var _this = this;
  1403. _this.setPick(1);
  1404. }
  1405. this.frame_320 = function() {
  1406. var _this = this;
  1407. _this.setPick(2);
  1408. }
  1409. this.frame_325 = function() {
  1410. var _this = this;
  1411. _this.setPick(3);
  1412. }
  1413. this.frame_331 = function() {
  1414. var _this = this;
  1415. _this.setPick(4);
  1416. }
  1417. this.frame_368 = function() {
  1418. var _this = this;
  1419. _this.stop();
  1420. main.luckydrawComplete();
  1421. }
  1422. this.frame_370 = function() {
  1423. var _this = this;
  1424. _this.setPick(1);
  1425. }
  1426. this.frame_373 = function() {
  1427. var _this = this;
  1428. _this.setPick(2);
  1429. }
  1430. this.frame_379 = function() {
  1431. var _this = this;
  1432. _this.setPick(3);
  1433. }
  1434. this.frame_404 = function() {
  1435. var _this = this;
  1436. _this.stop();
  1437. main.luckydrawComplete();
  1438. }
  1439. this.frame_406 = function() {
  1440. var _this = this;
  1441. _this.setPick(1);
  1442. }
  1443. this.frame_411 = function() {
  1444. var _this = this;
  1445. _this.setPick(2);
  1446. }
  1447. this.frame_437 = function() {
  1448. var _this = this;
  1449. _this.stop();
  1450. main.luckydrawComplete();
  1451. }
  1452. this.frame_440 = function() {
  1453. var _this = this;
  1454. _this.setPick(1);
  1455. }
  1456. this.frame_457 = function() {
  1457. var _this = this;
  1458. _this.stop();
  1459. main.luckydrawComplete();
  1460. }
  1461. // actions tween:
  1462. this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1).call(this.frame_1).wait(1).call(this.frame_2).wait(2).call(this.frame_4).wait(2).call(this.frame_6).wait(2).call(this.frame_8).wait(1).call(this.frame_9).wait(3).call(this.frame_12).wait(1).call(this.frame_13).wait(1).call(this.frame_14).wait(15).call(this.frame_29).wait(1).call(this.frame_30).wait(4).call(this.frame_34).wait(3).call(this.frame_37).wait(2).call(this.frame_39).wait(2).call(this.frame_41).wait(3).call(this.frame_44).wait(2).call(this.frame_46).wait(1).call(this.frame_47).wait(1).call(this.frame_48).wait(2).call(this.frame_50).wait(3).call(this.frame_53).wait(3).call(this.frame_56).wait(2).call(this.frame_58).wait(5).call(this.frame_63).wait(5).call(this.frame_68).wait(9).call(this.frame_77).wait(12).call(this.frame_89).wait(2).call(this.frame_91).wait(2).call(this.frame_93).wait(4).call(this.frame_97).wait(3).call(this.frame_100).wait(3).call(this.frame_103).wait(6).call(this.frame_109).wait(6).call(this.frame_115).wait(11).call(this.frame_126).wait(23).call(this.frame_149).wait(17).call(this.frame_166).wait(2).call(this.frame_168).wait(3).call(this.frame_171).wait(4).call(this.frame_175).wait(4).call(this.frame_179).wait(4).call(this.frame_183).wait(9).call(this.frame_192).wait(14).call(this.frame_206).wait(16).call(this.frame_222).wait(21).call(this.frame_243).wait(2).call(this.frame_245).wait(3).call(this.frame_248).wait(5).call(this.frame_253).wait(5).call(this.frame_258).wait(7).call(this.frame_265).wait(50).call(this.frame_315).wait(2).call(this.frame_317).wait(3).call(this.frame_320).wait(5).call(this.frame_325).wait(6).call(this.frame_331).wait(37).call(this.frame_368).wait(2).call(this.frame_370).wait(3).call(this.frame_373).wait(6).call(this.frame_379).wait(25).call(this.frame_404).wait(2).call(this.frame_406).wait(5).call(this.frame_411).wait(26).call(this.frame_437).wait(3).call(this.frame_440).wait(17).call(this.frame_457).wait(1));
  1463. // 圖層_1
  1464. this.wheel_mc = new lib.wheel_mc_rolling_effect();
  1465. this.wheel_mc.name = "wheel_mc";
  1466. this.wheel_mc.setTransform(287.3,285.95);
  1467. this.timeline.addTween(cjs.Tween.get(this.wheel_mc).wait(1).to({rotation:84.9999},0).to({scaleX:0.9999,scaleY:0.9999,rotation:445.0003,x:287.4},14).wait(14).to({rotation:445.0003},0).wait(1).to({regX:4,regY:-0.7,scaleX:1,scaleY:1,rotation:455.8832,x:287.7,y:290},0).wait(1).to({scaleX:0.9999,scaleY:0.9999,rotation:467.4994,x:286.85,y:289.95},0).wait(1).to({rotation:479.8846,x:286,y:289.75},0).wait(1).to({rotation:493.0726,x:285.15,y:289.4},0).wait(1).to({rotation:507.0939,x:284.45,y:288.75},0).wait(1).to({rotation:521.9732,x:283.8,y:287.9},0).wait(1).to({scaleX:1,scaleY:1,rotation:537.7275,x:283.45,y:286.9},0).wait(1).to({scaleX:0.9999,scaleY:0.9999,rotation:554.3619,x:283.4,y:285.75},0).wait(1).to({rotation:571.8664,x:283.65,y:284.55},0).wait(1).to({rotation:590.2119,x:284.25,y:283.45},0).wait(1).to({rotation:609.3459,x:285.3,y:282.55},0).wait(1).to({rotation:629.1898,x:286.6,y:282.05},0).wait(1).to({rotation:649.637,x:288,y:282},0).wait(1).to({rotation:670.5538,x:289.35,y:282.5},0).wait(1).to({rotation:691.783,x:290.45,y:283.45},0).wait(1).to({rotation:713.1506,x:291.2,y:284.75},0).wait(1).to({rotation:734.4746,x:291.35,y:286.25},0).wait(1).to({rotation:755.5759,x:291.05,y:287.7},0).wait(1).to({rotation:776.2873,x:290.25,y:288.85},0).wait(1).to({rotation:796.4622,x:289.1,y:289.7},0).wait(1).to({rotation:815.9795,x:287.8,y:290},0).wait(1).to({rotation:834.7462,x:286.5,y:289.9},0).wait(1).to({rotation:852.6964,x:285.3,y:289.4},0).wait(1).to({rotation:869.7892,x:284.4,y:288.6},0).wait(1).to({rotation:886.0051,x:283.75,y:287.7},0).wait(1).to({rotation:901.3418,x:283.5,y:286.65},0).wait(1).to({rotation:915.8106,x:283.45,y:285.6},0).wait(1).to({rotation:929.4324,x:283.6,y:284.7},0).wait(1).to({rotation:942.2351,x:284.05,y:283.85},0).wait(1).to({rotation:954.2509,x:284.55,y:283.2},0).wait(1).to({rotation:965.5147,x:285.15,y:282.7},0).wait(1).to({rotation:976.0624,x:285.75,y:282.3},0).wait(1).to({rotation:985.9301,x:286.4,y:282.1},0).wait(1).to({rotation:995.1534,x:287.05,y:282},0).wait(1).to({rotation:1003.7665,x:287.65},0).wait(1).to({rotation:1011.8024,x:288.25,y:282.1},0).wait(1).to({rotation:1019.2924,x:288.75,y:282.15},0).wait(1).to({rotation:1026.2662,x:289.2,y:282.4},0).wait(1).to({rotation:1032.7516,x:289.6,y:282.55},0).wait(1).to({rotation:1038.7748,x:289.95,y:282.8},0).wait(1).to({rotation:1044.3605,x:290.25,y:283.1},0).wait(1).to({rotation:1049.5314,x:290.5,y:283.35},0).wait(1).to({rotation:1054.3091,x:290.7,y:283.6},0).wait(1).to({rotation:1058.7137,x:290.9,y:283.85},0).wait(1).to({rotation:1062.7638,x:291,y:284.1},0).wait(1).to({regX:0.1,regY:0.1,rotation:1066.477,x:287.5,y:286.1},0).to({regX:0,regY:0,rotation:1080,x:287.35,y:285.95},14,cjs.Ease.backOut).wait(1).to({regX:0.1,regY:0.1,rotation:1079.9991,x:287.5,y:286.1},0).to({scaleX:0.9998,scaleY:0.9998,rotation:1406.7615,x:287.35,y:286.15},76,cjs.Ease.backOut).wait(1).to({scaleX:0.9999,scaleY:0.9999,rotation:1439.9991,x:287.5,y:286.1},0).to({scaleX:0.9998,scaleY:0.9998,rotation:1720.5634,x:287.3},76,cjs.Ease.backOut).wait(1).to({scaleX:0.9999,scaleY:0.9999,rotation:1799.9991,x:287.5},0).to({scaleX:0.9998,scaleY:0.9998,rotation:2030.823,x:287.35,y:286.05},71,cjs.Ease.backOut).wait(1).to({scaleX:0.9999,scaleY:0.9999,rotation:2159.9991,x:287.5,y:286.1},0).to({regX:0,regY:0,scaleX:0.9998,scaleY:0.9998,rotation:2340.6191,x:287.35,y:286.2},52,cjs.Ease.backOut).wait(1).to({regX:0.1,regY:0.1,scaleX:0.9999,scaleY:0.9999,rotation:2519.9991,x:287.5,y:286.1},0).to({regX:0,regY:0,scaleX:0.9997,scaleY:0.9997,rotation:2654.1411,x:287.35,y:286.15},35,cjs.Ease.backOut).wait(1).to({regX:0.1,regY:0.1,scaleX:0.9999,scaleY:0.9999,rotation:2519.9991,x:287.5,y:286.1},0).to({regX:0,regY:0,scaleX:0.9997,scaleY:0.9997,rotation:2607.7003,x:287.3},32,cjs.Ease.backOut).wait(1).to({regX:0.1,regY:0.1,scaleX:0.9999,scaleY:0.9999,rotation:2519.9991,x:287.5},0).to({regY:0,scaleX:0.9997,scaleY:0.9997,rotation:2554.7438,x:287.35,y:286.15},19,cjs.Ease.backOut).wait(1));
  1468. this._renderFirstFrame();
  1469. }).prototype = p = new cjs.MovieClip();
  1470. p.nominalBounds = new cjs.Rectangle(-123.5,-124.6,821.6,821.4);
  1471. (lib.換 = function(mode,startPosition,loop,reversed) {
  1472. if (loop == null) { loop = true; }
  1473. if (reversed == null) { reversed = false; }
  1474. var props = new Object();
  1475. props.mode = mode;
  1476. props.startPosition = startPosition;
  1477. props.labels = {};
  1478. props.loop = loop;
  1479. props.reversed = reversed;
  1480. cjs.MovieClip.apply(this,[props]);
  1481. // 亮
  1482. this.instance = new lib.亮_7();
  1483. this.instance.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);
  1484. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  1485. // 不亮
  1486. this.instance_1 = new lib.不亮_7();
  1487. this.instance_1.setTransform(45.5,48,1,1,0,0,0,33.5,34);
  1488. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  1489. this._renderFirstFrame();
  1490. }).prototype = getMCSymbolPrototype(lib.換, new cjs.Rectangle(0,0,89,89), null);
  1491. (lib.品 = function(mode,startPosition,loop,reversed) {
  1492. if (loop == null) { loop = true; }
  1493. if (reversed == null) { reversed = false; }
  1494. var props = new Object();
  1495. props.mode = mode;
  1496. props.startPosition = startPosition;
  1497. props.labels = {};
  1498. props.loop = loop;
  1499. props.reversed = reversed;
  1500. cjs.MovieClip.apply(this,[props]);
  1501. // 亮
  1502. this.instance = new lib.亮_8();
  1503. this.instance.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);
  1504. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  1505. // 不亮
  1506. this.instance_1 = new lib.不亮_8();
  1507. this.instance_1.setTransform(45.5,48,1,1,0,0,0,33.5,34);
  1508. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  1509. this._renderFirstFrame();
  1510. }).prototype = getMCSymbolPrototype(lib.品, new cjs.Rectangle(0,0,89,89), null);
  1511. (lib.獎 = function(mode,startPosition,loop,reversed) {
  1512. if (loop == null) { loop = true; }
  1513. if (reversed == null) { reversed = false; }
  1514. var props = new Object();
  1515. props.mode = mode;
  1516. props.startPosition = startPosition;
  1517. props.labels = {};
  1518. props.loop = loop;
  1519. props.reversed = reversed;
  1520. cjs.MovieClip.apply(this,[props]);
  1521. // 亮
  1522. this.instance = new lib.亮_9();
  1523. this.instance.setTransform(44,44.5,1,1,0,0,0,44,44.5);
  1524. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  1525. // 不亮
  1526. this.instance_1 = new lib.不亮_9();
  1527. this.instance_1.setTransform(45,48,1,1,0,0,0,34,34);
  1528. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  1529. this._renderFirstFrame();
  1530. }).prototype = getMCSymbolPrototype(lib.獎, new cjs.Rectangle(0,0,88,89), null);
  1531. (lib.兌 = function(mode,startPosition,loop,reversed) {
  1532. if (loop == null) { loop = true; }
  1533. if (reversed == null) { reversed = false; }
  1534. var props = new Object();
  1535. props.mode = mode;
  1536. props.startPosition = startPosition;
  1537. props.labels = {};
  1538. props.loop = loop;
  1539. props.reversed = reversed;
  1540. cjs.MovieClip.apply(this,[props]);
  1541. // 亮
  1542. this.instance = new lib.亮_10();
  1543. this.instance.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);
  1544. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  1545. // 不亮
  1546. this.instance_1 = new lib.不亮_10();
  1547. this.instance_1.setTransform(45.5,48,1,1,0,0,0,33.5,34);
  1548. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  1549. this._renderFirstFrame();
  1550. }).prototype = getMCSymbolPrototype(lib.兌, new cjs.Rectangle(0,0,89,89), null);
  1551. (lib.箭頭 = function(mode,startPosition,loop,reversed) {
  1552. if (loop == null) { loop = true; }
  1553. if (reversed == null) { reversed = false; }
  1554. var props = new Object();
  1555. props.mode = mode;
  1556. props.startPosition = startPosition;
  1557. props.labels = {stand:0,rolling:19,"complete":39};
  1558. props.loop = loop;
  1559. props.reversed = reversed;
  1560. cjs.MovieClip.apply(this,[props]);
  1561. // timeline functions:
  1562. this.frame_18 = function() {
  1563. var _this = this;
  1564. _this.stop();
  1565. }
  1566. this.frame_19 = function() {
  1567. var _this = this;
  1568. /*
  1569. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  1570. 亦可用於主時間軸或影片片段時間軸。
  1571. */
  1572. }
  1573. this.frame_27 = function() {
  1574. var _this = this;
  1575. _this.gotoAndPlay('rolling');
  1576. }
  1577. this.frame_59 = function() {
  1578. var _this = this;
  1579. _this.stop();
  1580. }
  1581. // actions tween:
  1582. this.timeline.addTween(cjs.Tween.get(this).wait(18).call(this.frame_18).wait(1).call(this.frame_19).wait(8).call(this.frame_27).wait(32).call(this.frame_59).wait(1));
  1583. // 亮B
  1584. this.instance = new lib.亮B_1();
  1585. this.instance.setTransform(49.5,55,1,1,0,0,0,49.5,55);
  1586. this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},24).wait(15).to({_off:false},0).wait(21));
  1587. // 亮A
  1588. this.instance_1 = new lib.亮A_1();
  1589. this.instance_1.setTransform(50,55,1,1,0,0,0,50,55);
  1590. this.instance_1._off = true;
  1591. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(24).to({_off:false},0).to({_off:true},4).wait(32));
  1592. this._renderFirstFrame();
  1593. }).prototype = p = new cjs.MovieClip();
  1594. p.nominalBounds = new cjs.Rectangle(0,0,100,110);
  1595. (lib.shape_2 = function(mode,startPosition,loop,reversed) {
  1596. if (loop == null) { loop = true; }
  1597. if (reversed == null) { reversed = false; }
  1598. var props = new Object();
  1599. props.mode = mode;
  1600. props.startPosition = startPosition;
  1601. props.labels = {};
  1602. props.loop = loop;
  1603. props.reversed = reversed;
  1604. cjs.MovieClip.apply(this,[props]);
  1605. // shape
  1606. this.instance = new lib.shape_1();
  1607. this.instance.setTransform(25,26);
  1608. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  1609. // shape_s_Outer_Glow
  1610. this.instance_1 = new lib.shapesOuterGlow_1();
  1611. this.instance_1.setTransform(338,338.5,1,1,0,0,0,338,338.5);
  1612. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  1613. // shape_s_Drop_Shadow
  1614. this.instance_2 = new lib.shapesDropShadow_1();
  1615. this.instance_2.setTransform(339.5,343.5,1,1,0,0,0,324.5,324.5);
  1616. this.instance_2.compositeOperation = "multiply";
  1617. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));
  1618. this._renderFirstFrame();
  1619. }).prototype = getMCSymbolPrototype(lib.shape_2, new cjs.Rectangle(0,0,676,677), null);
  1620. (lib.Light_rolling = function(mode,startPosition,loop,reversed) {
  1621. if (loop == null) { loop = true; }
  1622. if (reversed == null) { reversed = false; }
  1623. var props = new Object();
  1624. props.mode = mode;
  1625. props.startPosition = startPosition;
  1626. props.labels = {};
  1627. props.loop = loop;
  1628. props.reversed = reversed;
  1629. cjs.MovieClip.apply(this,[props]);
  1630. // 組合A
  1631. this.instance = new lib.組合A_2();
  1632. this.instance.setTransform(306.45,304.1,1,1,-0.0009,0,0,306.4,304.1);
  1633. this.instance._off = true;
  1634. this.timeline.addTween(cjs.Tween.get(this.instance).wait(2).to({_off:false},0).wait(3));
  1635. // 組合B
  1636. this.instance_1 = new lib.組合B_2();
  1637. this.instance_1.setTransform(306.5,304,1,1,0,0,0,306.5,304);
  1638. this.timeline.addTween(cjs.Tween.get(this.instance_1).to({_off:true},2).wait(3));
  1639. this._renderFirstFrame();
  1640. }).prototype = p = new cjs.MovieClip();
  1641. p.nominalBounds = new cjs.Rectangle(0,0,613.1,608);
  1642. (lib.Light = function(mode,startPosition,loop,reversed) {
  1643. if (loop == null) { loop = true; }
  1644. if (reversed == null) { reversed = false; }
  1645. var props = new Object();
  1646. props.mode = mode;
  1647. props.startPosition = startPosition;
  1648. props.labels = {};
  1649. props.loop = loop;
  1650. props.reversed = reversed;
  1651. cjs.MovieClip.apply(this,[props]);
  1652. // 組合A
  1653. this.instance = new lib.組合A_2();
  1654. this.instance.setTransform(306.5,304.05,1,1,-8.961,0,0,306.5,304);
  1655. this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},7).wait(5).to({_off:false,rotation:-8.9611},0).wait(3));
  1656. // 組合B
  1657. this.instance_1 = new lib.組合B_2();
  1658. this.instance_1.setTransform(306.5,304,1,1,0,0,0,306.5,304);
  1659. this.instance_1._off = true;
  1660. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(7).to({_off:false},0).to({_off:true},5).wait(3));
  1661. this._renderFirstFrame();
  1662. }).prototype = p = new cjs.MovieClip();
  1663. p.nominalBounds = new cjs.Rectangle(-43.6,-44,700.2,696.1);
  1664. (lib.兌換_1 = function(mode,startPosition,loop,reversed) {
  1665. if (loop == null) { loop = true; }
  1666. if (reversed == null) { reversed = false; }
  1667. var props = new Object();
  1668. props.mode = mode;
  1669. props.startPosition = startPosition;
  1670. props.labels = {"stand":0,"rolling":19,"complete":39};
  1671. props.loop = loop;
  1672. props.reversed = reversed;
  1673. cjs.MovieClip.apply(this,[props]);
  1674. // timeline functions:
  1675. this.frame_18 = function() {
  1676. var _this = this;
  1677. _this.stop();
  1678. }
  1679. this.frame_19 = function() {
  1680. var _this = this;
  1681. /*
  1682. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  1683. 亦可用於主時間軸或影片片段時間軸。
  1684. */
  1685. }
  1686. this.frame_38 = function() {
  1687. var _this = this;
  1688. _this.stop();
  1689. }
  1690. this.frame_61 = function() {
  1691. var _this = this;
  1692. //_this.stop();
  1693. _this.gotoAndPlay('complete');
  1694. }
  1695. // actions tween:
  1696. this.timeline.addTween(cjs.Tween.get(this).wait(18).call(this.frame_18).wait(1).call(this.frame_19).wait(19).call(this.frame_38).wait(23).call(this.frame_61).wait(1));
  1697. // 兌換亮
  1698. this.instance = new lib.兌換亮();
  1699. this.instance.setTransform(60,64,1,1,0,0,0,60,64);
  1700. this.instance.alpha = 0.6016;
  1701. this.instance._off = true;
  1702. this.timeline.addTween(cjs.Tween.get(this.instance).wait(39).to({_off:false},0).wait(1).to({regX:61,regY:57.5,x:61,y:57.5,alpha:0.6922},0).wait(1).to({alpha:0.776},0).wait(1).to({alpha:0.843},0).wait(1).to({alpha:0.8939},0).wait(1).to({alpha:0.9318},0).wait(1).to({alpha:0.9593},0).wait(1).to({alpha:0.9785},0).wait(1).to({alpha:0.991},0).wait(1).to({alpha:0.9979},0).wait(1).to({regX:60,regY:64,x:60,y:64,alpha:1},0).wait(1).to({regX:61,regY:57.5,x:61,y:57.5},0).wait(2).to({regX:60,regY:64,x:60,y:64},0).wait(1).to({regX:61,regY:57.5,x:61,y:57.5,alpha:0.9925},0).wait(1).to({alpha:0.9803},0).wait(1).to({alpha:0.9613},0).wait(1).to({alpha:0.9323},0).wait(1).to({alpha:0.8882},0).wait(1).to({alpha:0.8253},0).wait(1).to({alpha:0.7486},0).wait(1).to({alpha:0.6715},0).wait(1).to({regX:60,regY:64,x:60,y:64,alpha:0.6016},0).wait(1));
  1703. // 兌換不亮
  1704. this.instance_1 = new lib.兌換不亮();
  1705. this.instance_1.setTransform(50.5,55.5,1,1,0,0,0,50.5,54.5);
  1706. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(62));
  1707. this._renderFirstFrame();
  1708. }).prototype = p = new cjs.MovieClip();
  1709. p.nominalBounds = new cjs.Rectangle(0,0,122,116);
  1710. (lib.LOGO = function(mode,startPosition,loop,reversed) {
  1711. if (loop == null) { loop = true; }
  1712. if (reversed == null) { reversed = false; }
  1713. var props = new Object();
  1714. props.mode = mode;
  1715. props.startPosition = startPosition;
  1716. props.labels = {};
  1717. props.loop = loop;
  1718. props.reversed = reversed;
  1719. cjs.MovieClip.apply(this,[props]);
  1720. // 亮
  1721. this.instance = new lib.亮_11();
  1722. this.instance.setTransform(122.5,59.5,1,1,0,0,0,122.5,59.5);
  1723. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  1724. // 不亮
  1725. this.instance_1 = new lib.不亮_11();
  1726. this.instance_1.setTransform(122.5,60,1,1,0,0,0,104.5,41);
  1727. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  1728. // 柱
  1729. this.instance_2 = new lib.柱_1();
  1730. this.instance_2.setTransform(122,100,1,1,0,0,0,92,14);
  1731. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));
  1732. this._renderFirstFrame();
  1733. }).prototype = getMCSymbolPrototype(lib.LOGO, new cjs.Rectangle(0,0,245,119), null);
  1734. (lib.遊藝場LOGO = function(mode,startPosition,loop,reversed) {
  1735. if (loop == null) { loop = true; }
  1736. if (reversed == null) { reversed = false; }
  1737. var props = new Object();
  1738. props.mode = mode;
  1739. props.startPosition = startPosition;
  1740. props.labels = {};
  1741. props.loop = loop;
  1742. props.reversed = reversed;
  1743. cjs.MovieClip.apply(this,[props]);
  1744. // 亮
  1745. this.instance = new lib.亮_12();
  1746. this.instance.setTransform(132.5,66.5,1,1,0,0,0,132.5,66.5);
  1747. this.instance.alpha = 0.6602;
  1748. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1).to({alpha:0.6851},0).wait(1).to({alpha:0.7146},0).wait(1).to({alpha:0.7479},0).wait(1).to({alpha:0.7838},0).wait(1).to({alpha:0.8205},0).wait(1).to({alpha:0.856},0).wait(1).to({alpha:0.8886},0).wait(1).to({alpha:0.9173},0).wait(1).to({alpha:0.9413},0).wait(1).to({alpha:0.9608},0).wait(1).to({alpha:0.9759},0).wait(1).to({alpha:0.987},0).wait(1).to({alpha:0.9945},0).wait(1).to({alpha:0.9987},0).wait(1).to({alpha:1},0).wait(9).to({alpha:0.9901},0).wait(1).to({alpha:0.9709},0).wait(1).to({alpha:0.9397},0).wait(1).to({alpha:0.8948},0).wait(1).to({alpha:0.8413},0).wait(1).to({alpha:0.792},0).wait(1).to({alpha:0.7559},0).wait(1).to({alpha:0.7336},0).wait(1).to({alpha:0.7221},0).wait(1).to({alpha:0.7188},0).wait(1));
  1749. // 不亮
  1750. this.instance_1 = new lib.不亮_12();
  1751. this.instance_1.setTransform(132.5,66.5,1,1,0,0,0,106.5,40.5);
  1752. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(34));
  1753. // shape_拷貝_3
  1754. this.instance_2 = new lib.shape拷貝3();
  1755. this.instance_2.setTransform(215,103);
  1756. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(34));
  1757. // shape_拷貝_2
  1758. this.instance_3 = new lib.shape拷貝2();
  1759. this.instance_3.setTransform(157,103);
  1760. this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(34));
  1761. // shape_拷貝
  1762. this.instance_4 = new lib.shape拷貝();
  1763. this.instance_4.setTransform(97,103);
  1764. this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(34));
  1765. // shape
  1766. this.instance_5 = new lib.shape();
  1767. this.instance_5.setTransform(39,103);
  1768. this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(34));
  1769. this._renderFirstFrame();
  1770. }).prototype = p = new cjs.MovieClip();
  1771. p.nominalBounds = new cjs.Rectangle(0,0,265,133);
  1772. (lib.everyday合併複製 = function(mode,startPosition,loop,reversed) {
  1773. if (loop == null) { loop = true; }
  1774. if (reversed == null) { reversed = false; }
  1775. var props = new Object();
  1776. props.mode = mode;
  1777. props.startPosition = startPosition;
  1778. props.labels = {};
  1779. props.loop = loop;
  1780. props.reversed = reversed;
  1781. cjs.MovieClip.apply(this,[props]);
  1782. // 圖層_4 (mask)
  1783. var mask = new cjs.Shape();
  1784. mask._off = true;
  1785. mask.graphics.p("EgioADlIAAnJMBFRAAAIAAHJg");
  1786. mask.setTransform(323.1,56.325);
  1787. // 圖層_2
  1788. this.instance = new lib.game_text複製();
  1789. this.instance.setTransform(356,56.5,1,1,0,0,0,247,27.5);
  1790. var maskedShapeInstanceList = [this.instance];
  1791. for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
  1792. maskedShapeInstanceList[shapedInstanceItr].mask = mask;
  1793. }
  1794. this.timeline.addTween(cjs.Tween.get(this.instance).to({x:-499.55,y:56.4},179).wait(1));
  1795. // 圖層_1
  1796. this.instance_1 = new lib.everyday合併();
  1797. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(180));
  1798. this._renderFirstFrame();
  1799. }).prototype = p = new cjs.MovieClip();
  1800. p.nominalBounds = new cjs.Rectangle(0,0,649,169);
  1801. (lib.titleLight_rolling = function(mode,startPosition,loop,reversed) {
  1802. if (loop == null) { loop = true; }
  1803. if (reversed == null) { reversed = false; }
  1804. var props = new Object();
  1805. props.mode = mode;
  1806. props.startPosition = startPosition;
  1807. props.labels = {};
  1808. props.loop = loop;
  1809. props.reversed = reversed;
  1810. cjs.MovieClip.apply(this,[props]);
  1811. // 組合A
  1812. this.instance = new lib.組合A_3();
  1813. this.instance.setTransform(199.5,84,1,1,0,0,0,199.5,84);
  1814. this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},3).wait(2));
  1815. // 組合B
  1816. this.instance_1 = new lib.組合B_3();
  1817. this.instance_1.setTransform(199.5,84,1,1,0,0,0,199.5,84);
  1818. this.instance_1._off = true;
  1819. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(3).to({_off:false},0).wait(2));
  1820. this._renderFirstFrame();
  1821. }).prototype = p = new cjs.MovieClip();
  1822. p.nominalBounds = new cjs.Rectangle(0,0,399,168);
  1823. (lib.Light_1 = function(mode,startPosition,loop,reversed) {
  1824. if (loop == null) { loop = true; }
  1825. if (reversed == null) { reversed = false; }
  1826. var props = new Object();
  1827. props.mode = mode;
  1828. props.startPosition = startPosition;
  1829. props.labels = {};
  1830. props.loop = loop;
  1831. props.reversed = reversed;
  1832. cjs.MovieClip.apply(this,[props]);
  1833. // 組合A
  1834. this.instance_2 = new lib.組合A_3();
  1835. this.instance_2.setTransform(199.5,84,1,1,0,0,0,199.5,84);
  1836. this.timeline.addTween(cjs.Tween.get(this.instance_2).to({_off:true},7).wait(5).to({_off:false},0).wait(3));
  1837. // 組合B
  1838. this.instance_3 = new lib.組合B_3();
  1839. this.instance_3.setTransform(199.5,84,1,1,0,0,0,199.5,84);
  1840. this.instance_3._off = true;
  1841. this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(7).to({_off:false},0).to({_off:true},5).wait(3));
  1842. this._renderFirstFrame();
  1843. }).prototype = p = new cjs.MovieClip();
  1844. p.nominalBounds = new cjs.Rectangle(0,0,399,168);
  1845. (lib.天天好運轉 = function(mode,startPosition,loop,reversed) {
  1846. if (loop == null) { loop = true; }
  1847. if (reversed == null) { reversed = false; }
  1848. var props = new Object();
  1849. props.mode = mode;
  1850. props.startPosition = startPosition;
  1851. props.labels = {"stand":0,"rolling":19,"complete":39};
  1852. props.loop = loop;
  1853. props.reversed = reversed;
  1854. cjs.MovieClip.apply(this,[props]);
  1855. // timeline functions:
  1856. this.frame_18 = function() {
  1857. var _this = this;
  1858. _this.stop();
  1859. }
  1860. this.frame_19 = function() {
  1861. var _this = this;
  1862. /*
  1863. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  1864. 亦可用於主時間軸或影片片段時間軸。
  1865. */
  1866. }
  1867. this.frame_38 = function() {
  1868. var _this = this;
  1869. _this.stop();
  1870. }
  1871. this.frame_59 = function() {
  1872. var _this = this;
  1873. _this.stop();
  1874. }
  1875. // actions tween:
  1876. this.timeline.addTween(cjs.Tween.get(this).wait(18).call(this.frame_18).wait(1).call(this.frame_19).wait(19).call(this.frame_38).wait(21).call(this.frame_59).wait(1));
  1877. // Light
  1878. this.instance = new lib.Light_1();
  1879. this.instance.setTransform(217.5,100,1,1,0,0,0,199.5,84);
  1880. this.instance_1 = new lib.titleLight_rolling();
  1881. this.instance_1.setTransform(217.5,100,1,1,0,0,0,199.5,84);
  1882. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance}]}).to({state:[{t:this.instance_1}]},19).to({state:[{t:this.instance}]},20).wait(21));
  1883. // 亮
  1884. this.instance_2 = new lib.亮_14();
  1885. this.instance_2.setTransform(218,102,1,1,0,0,0,218,102);
  1886. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(60));
  1887. // 不亮
  1888. this.instance_3 = new lib.不亮_14();
  1889. this.instance_3.setTransform(220,108,1,1,0,0,0,214,96);
  1890. this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(60));
  1891. this._renderFirstFrame();
  1892. }).prototype = p = new cjs.MovieClip();
  1893. p.nominalBounds = new cjs.Rectangle(0,0,437,204);
  1894. (lib.吉點_1 = function(mode,startPosition,loop,reversed) {
  1895. if (loop == null) { loop = true; }
  1896. if (reversed == null) { reversed = false; }
  1897. var props = new Object();
  1898. props.mode = mode;
  1899. props.startPosition = startPosition;
  1900. props.labels = {};
  1901. props.loop = loop;
  1902. props.reversed = reversed;
  1903. cjs.MovieClip.apply(this,[props]);
  1904. // 吉點
  1905. this.instance = new lib.吉點複製();
  1906. this.instance.setTransform(171,62.5,1,1,0,0,0,171,62.5);
  1907. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  1908. this._renderFirstFrame();
  1909. }).prototype = getMCSymbolPrototype(lib.吉點_1, new cjs.Rectangle(0,0,342,125), null);
  1910. (lib.flag_color = function(mode,startPosition,loop,reversed) {
  1911. if (loop == null) { loop = true; }
  1912. if (reversed == null) { reversed = false; }
  1913. var props = new Object();
  1914. props.mode = mode;
  1915. props.startPosition = startPosition;
  1916. props.labels = {};
  1917. props.loop = loop;
  1918. props.reversed = reversed;
  1919. cjs.MovieClip.apply(this,[props]);
  1920. // 圖層_1
  1921. this.instance = new lib.flag_B();
  1922. this.instance.setTransform(332,187.5,1,1,0,0,0,332,187.5);
  1923. this.timeline.addTween(cjs.Tween.get(this.instance).to({alpha:0},19,cjs.Ease.quartIn).to({_off:true},1).wait(69));
  1924. // 圖層_2
  1925. this.instance_1 = new lib.flag_P();
  1926. this.instance_1.setTransform(332,187.5,1,1,0,0,0,332,187.5);
  1927. this.instance_1.alpha = 0;
  1928. this.instance_1._off = true;
  1929. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(10).to({_off:false},0).to({alpha:1},19,cjs.Ease.quartOut).to({alpha:0},20,cjs.Ease.quartIn).to({_off:true},1).wait(39));
  1930. // 圖層_3
  1931. this.instance_2 = new lib.flag_G();
  1932. this.instance_2.setTransform(332,187.5,1,1,0,0,0,332,187.5);
  1933. this.instance_2.alpha = 0;
  1934. this.instance_2._off = true;
  1935. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(40).to({_off:false},0).to({alpha:1},19,cjs.Ease.quartOut).to({alpha:0},20,cjs.Ease.quartIn).to({_off:true},1).wait(9));
  1936. // 圖層_4
  1937. this.instance_3 = new lib.flag_B();
  1938. this.instance_3.setTransform(332,187.5,1,1,0,0,0,332,187.5);
  1939. this.instance_3.alpha = 0;
  1940. this.instance_3._off = true;
  1941. this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(69).to({_off:false},0).to({alpha:1},19,cjs.Ease.quartOut).wait(1));
  1942. this._renderFirstFrame();
  1943. }).prototype = p = new cjs.MovieClip();
  1944. p.nominalBounds = new cjs.Rectangle(0,0,664,375);
  1945. (lib.cta_閃爍 = function(mode,startPosition,loop,reversed) {
  1946. if (loop == null) { loop = true; }
  1947. if (reversed == null) { reversed = false; }
  1948. var props = new Object();
  1949. props.mode = mode;
  1950. props.startPosition = startPosition;
  1951. props.labels = {};
  1952. props.loop = loop;
  1953. props.reversed = reversed;
  1954. cjs.MovieClip.apply(this,[props]);
  1955. // 亮
  1956. this.instance = new lib.亮_13();
  1957. this.instance.setTransform(118.5,118,1,1,0,0,0,118.5,118);
  1958. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1).to({alpha:0.998},0).wait(1).to({alpha:0.9913},0).wait(1).to({alpha:0.9785},0).wait(1).to({alpha:0.9573},0).wait(1).to({alpha:0.9233},0).wait(1).to({alpha:0.8666},0).wait(1).to({alpha:0.7617},0).wait(1).to({alpha:0.8016},0).wait(1).to({alpha:0.8501},0).wait(1).to({alpha:0.8999},0).wait(1).to({alpha:0.9434},0).wait(1).to({alpha:0.9754},0).wait(1).to({alpha:0.9941},0).wait(1).to({alpha:1},0).wait(1));
  1959. // 不亮
  1960. this.instance_1 = new lib.不亮_13();
  1961. this.instance_1.setTransform(119,120,1,1,0,0,0,99,100);
  1962. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(15));
  1963. this._renderFirstFrame();
  1964. }).prototype = p = new cjs.MovieClip();
  1965. p.nominalBounds = new cjs.Rectangle(0,0,237,236);
  1966. (lib.checkin_mc = function(mode,startPosition,loop,reversed) {
  1967. if (loop == null) { loop = true; }
  1968. if (reversed == null) { reversed = false; }
  1969. var props = new Object();
  1970. props.mode = mode;
  1971. props.startPosition = startPosition;
  1972. props.labels = {};
  1973. props.loop = loop;
  1974. props.reversed = reversed;
  1975. cjs.MovieClip.apply(this,[props]);
  1976. // 圖層_1
  1977. this.instance = new lib.checkin_img();
  1978. this.instance.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);
  1979. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  1980. this._renderFirstFrame();
  1981. }).prototype = getMCSymbolPrototype(lib.checkin_mc, new cjs.Rectangle(0,0,89,89), null);
  1982. (lib.備註 = function(mode,startPosition,loop,reversed) {
  1983. if (loop == null) { loop = true; }
  1984. if (reversed == null) { reversed = false; }
  1985. var props = new Object();
  1986. props.mode = mode;
  1987. props.startPosition = startPosition;
  1988. props.labels = {};
  1989. props.loop = loop;
  1990. props.reversed = reversed;
  1991. cjs.MovieClip.apply(this,[props]);
  1992. // 圖層_3 (mask)
  1993. var mask = new cjs.Shape();
  1994. mask._off = true;
  1995. mask.graphics.p("EgyjAH2IAAvrMBlHAAAIAAPrg");
  1996. mask.setTransform(323.575,50.225);
  1997. // 圖層_4
  1998. this.instance = new lib.everyday合併複製();
  1999. this.instance.setTransform(320.95,85.6,1,1,0,0,0,324.5,84.5);
  2000. var maskedShapeInstanceList = [this.instance];
  2001. for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
  2002. maskedShapeInstanceList[shapedInstanceItr].mask = mask;
  2003. }
  2004. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  2005. this._renderFirstFrame();
  2006. }).prototype = getMCSymbolPrototype(lib.備註, new cjs.Rectangle(0,1.1,647.2,99.30000000000001), null);
  2007. (lib.兌換獎品 = function(mode,startPosition,loop,reversed) {
  2008. if (loop == null) { loop = true; }
  2009. if (reversed == null) { reversed = false; }
  2010. var props = new Object();
  2011. props.mode = mode;
  2012. props.startPosition = startPosition;
  2013. props.labels = {};
  2014. props.loop = loop;
  2015. props.reversed = reversed;
  2016. cjs.MovieClip.apply(this,[props]);
  2017. // 品
  2018. this.instance = new lib.品();
  2019. this.instance.setTransform(200.5,44.5,1,1,0,0,0,44.5,44.5);
  2020. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  2021. // 獎
  2022. this.instance_1 = new lib.獎();
  2023. this.instance_1.setTransform(149,44.5,1,1,0,0,0,44,44.5);
  2024. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));
  2025. // 換
  2026. this.instance_2 = new lib.換();
  2027. this.instance_2.setTransform(97.5,44.5,1,1,0,0,0,44.5,44.5);
  2028. this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));
  2029. // 兌
  2030. this.instance_3 = new lib.兌();
  2031. this.instance_3.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);
  2032. this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(1));
  2033. this._renderFirstFrame();
  2034. }).prototype = getMCSymbolPrototype(lib.兌換獎品, new cjs.Rectangle(0,0,245,89), null);
  2035. (lib.spin = function(mode,startPosition,loop,reversed) {
  2036. if (loop == null) { loop = true; }
  2037. if (reversed == null) { reversed = false; }
  2038. var props = new Object();
  2039. props.mode = mode;
  2040. props.startPosition = startPosition;
  2041. props.labels = {"stand":0,"rolling":19,"complete":39};
  2042. props.loop = loop;
  2043. props.reversed = reversed;
  2044. cjs.MovieClip.apply(this,[props]);
  2045. // timeline functions:
  2046. this.frame_18 = function() {
  2047. var _this = this;
  2048. _this.stop();
  2049. }
  2050. this.frame_19 = function() {
  2051. var _this = this;
  2052. /*
  2053. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  2054. 亦可用於主時間軸或影片片段時間軸。
  2055. */
  2056. _this.wheel_mc.gotoAndPlay('loop');
  2057. }
  2058. this.frame_38 = function() {
  2059. var _this = this;
  2060. _this.stop();
  2061. //_this.wheel_mc.setComplete(0);
  2062. }
  2063. this.frame_59 = function() {
  2064. var _this = this;
  2065. _this.stop();
  2066. }
  2067. // actions tween:
  2068. this.timeline.addTween(cjs.Tween.get(this).wait(18).call(this.frame_18).wait(1).call(this.frame_19).wait(19).call(this.frame_38).wait(21).call(this.frame_59).wait(1));
  2069. // Light
  2070. this.mainSpin_light_mc = new lib.Light();
  2071. this.mainSpin_light_mc.name = "mainSpin_light_mc";
  2072. this.mainSpin_light_mc.setTransform(338.5,343,1,1,0,0,0,306.5,304);
  2073. this.mainSpin_light_mc_1 = new lib.Light_rolling();
  2074. this.mainSpin_light_mc_1.name = "mainSpin_light_mc_1";
  2075. this.mainSpin_light_mc_1.setTransform(338.5,343,1,1,0,0,0,306.5,304);
  2076. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.mainSpin_light_mc}]}).to({state:[{t:this.mainSpin_light_mc_1}]},19).to({state:[{t:this.mainSpin_light_mc}]},20).wait(21));
  2077. // 框
  2078. this.instance = new lib.wheel_mc_stand();
  2079. this.instance.setTransform(339.55,340.55,1.0001,1.0001,85,0,0,288.7,288.4);
  2080. this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},19).wait(41));
  2081. // wheel_mc
  2082. this.wheel_mc = new lib.wheel_mc_rolling();
  2083. this.wheel_mc.name = "wheel_mc";
  2084. this.wheel_mc.setTransform(339.5,340.45,1,1,0,0,0,288.6,288.4);
  2085. this.wheel_mc.alpha = 0;
  2086. this.timeline.addTween(cjs.Tween.get(this.wheel_mc).wait(19).to({x:339.55,alpha:1},0).wait(41));
  2087. // shape
  2088. this.instance_1 = new lib.shape_2();
  2089. this.instance_1.setTransform(338,338.5,1,1,0,0,0,338,338.5);
  2090. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(60));
  2091. this._renderFirstFrame();
  2092. }).prototype = p = new cjs.MovieClip();
  2093. p.nominalBounds = new cjs.Rectangle(-11.6,-5,700.2,696.1);
  2094. (lib.轉按鈕 = function(mode,startPosition,loop,reversed) {
  2095. if (loop == null) { loop = true; }
  2096. if (reversed == null) { reversed = false; }
  2097. var props = new Object();
  2098. props.mode = mode;
  2099. props.startPosition = startPosition;
  2100. props.labels = {"stand":0,"rolling":19,"complete":39};
  2101. props.loop = loop;
  2102. props.reversed = reversed;
  2103. cjs.MovieClip.apply(this,[props]);
  2104. // timeline functions:
  2105. this.frame_18 = function() {
  2106. var _this = this;
  2107. _this.stop();
  2108. }
  2109. this.frame_38 = function() {
  2110. var _this = this;
  2111. _this.stop();
  2112. }
  2113. this.frame_59 = function() {
  2114. var _this = this;
  2115. _this.stop();
  2116. }
  2117. // actions tween:
  2118. this.timeline.addTween(cjs.Tween.get(this).wait(18).call(this.frame_18).wait(20).call(this.frame_38).wait(21).call(this.frame_59).wait(1));
  2119. // 閃爍
  2120. this.instance = new lib.cta_閃爍();
  2121. this.instance.setTransform(118.45,117.95,0.95,0.95,0,0,0,118.5,118);
  2122. this.instance.alpha = 0;
  2123. this.timeline.addTween(cjs.Tween.get(this.instance).to({scaleX:1.1116,scaleY:1.1116,x:118.55,y:118.05,alpha:1},6).to({scaleX:1,scaleY:1,x:118.5,y:118},4).wait(9).to({regY:118.1,scaleX:0.7849,scaleY:0.7849,y:118.05,alpha:0},5).to({_off:true},1).wait(35));
  2124. // 圖層_3
  2125. this.instance_1 = new lib.不亮_13();
  2126. this.instance_1.setTransform(119.2,120.15,0.95,0.95,0,0,0,99.2,100.2);
  2127. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(19).to({regX:99,regY:100,scaleX:1,scaleY:1,x:119,y:120},0).to({regX:99.1,regY:100.1,scaleX:0.9,scaleY:0.9,x:119.15,y:120.05},7).to({regX:99.2,regY:100.2,scaleX:0.95,scaleY:0.95,x:119.2,y:120.15},3).wait(31));
  2128. this._renderFirstFrame();
  2129. }).prototype = p = new cjs.MovieClip();
  2130. p.nominalBounds = new cjs.Rectangle(-13.1,-13.1,263.40000000000003,262.40000000000003);
  2131. (lib.everyday = function(mode,startPosition,loop,reversed) {
  2132. if (loop == null) { loop = true; }
  2133. if (reversed == null) { reversed = false; }
  2134. var props = new Object();
  2135. props.mode = mode;
  2136. props.startPosition = startPosition;
  2137. props.labels = {};
  2138. props.loop = loop;
  2139. props.reversed = reversed;
  2140. cjs.MovieClip.apply(this,[props]);
  2141. // checkin_mc_6
  2142. this.checkin_mc_6 = new lib.checkin_mc();
  2143. this.checkin_mc_6.name = "checkin_mc_6";
  2144. this.checkin_mc_6.setTransform(542,132.65,1,1,0,0,0,44.5,44.5);
  2145. this.checkin_mc_6.alpha = 0;
  2146. this.timeline.addTween(cjs.Tween.get(this.checkin_mc_6).wait(1));
  2147. // checkin_mc_5
  2148. this.checkin_mc_5 = new lib.checkin_mc();
  2149. this.checkin_mc_5.name = "checkin_mc_5";
  2150. this.checkin_mc_5.setTransform(470.45,132.65,1,1,0,0,0,44.5,44.5);
  2151. this.checkin_mc_5.alpha = 0;
  2152. this.timeline.addTween(cjs.Tween.get(this.checkin_mc_5).wait(1));
  2153. // checkin_mc_4
  2154. this.checkin_mc_4 = new lib.checkin_mc();
  2155. this.checkin_mc_4.name = "checkin_mc_4";
  2156. this.checkin_mc_4.setTransform(398.45,132.65,1,1,0,0,0,44.5,44.5);
  2157. this.checkin_mc_4.alpha = 0;
  2158. this.timeline.addTween(cjs.Tween.get(this.checkin_mc_4).wait(1));
  2159. // checkin_mc_3
  2160. this.checkin_mc_3 = new lib.checkin_mc();
  2161. this.checkin_mc_3.name = "checkin_mc_3";
  2162. this.checkin_mc_3.setTransform(325.85,132.65,1,1,0,0,0,44.5,44.5);
  2163. this.checkin_mc_3.alpha = 0;
  2164. this.timeline.addTween(cjs.Tween.get(this.checkin_mc_3).wait(1));
  2165. // checkin_mc_2
  2166. this.checkin_mc_2 = new lib.checkin_mc();
  2167. this.checkin_mc_2.name = "checkin_mc_2";
  2168. this.checkin_mc_2.setTransform(253.85,132.65,1,1,0,0,0,44.5,44.5);
  2169. this.checkin_mc_2.alpha = 0;
  2170. this.timeline.addTween(cjs.Tween.get(this.checkin_mc_2).wait(1));
  2171. // checkin_mc_1
  2172. this.checkin_mc_1 = new lib.checkin_mc();
  2173. this.checkin_mc_1.name = "checkin_mc_1";
  2174. this.checkin_mc_1.setTransform(180.5,132.5,1,1,0,0,0,44.5,44.5);
  2175. this.checkin_mc_1.alpha = 0;
  2176. this.timeline.addTween(cjs.Tween.get(this.checkin_mc_1).wait(1));
  2177. // checkin_mc_0
  2178. this.checkin_mc_0 = new lib.checkin_mc();
  2179. this.checkin_mc_0.name = "checkin_mc_0";
  2180. this.checkin_mc_0.setTransform(108.5,132.5,1,1,0,0,0,44.5,44.5);
  2181. this.checkin_mc_0.alpha = 0;
  2182. this.timeline.addTween(cjs.Tween.get(this.checkin_mc_0).wait(1));
  2183. // everyday_合併_
  2184. this.instance = new lib.everyday合併_1();
  2185. this.instance.setTransform(324.5,84.5,1,1,0,0,0,324.5,84.5);
  2186. this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));
  2187. this._renderFirstFrame();
  2188. }).prototype = getMCSymbolPrototype(lib.everyday, new cjs.Rectangle(0,0,1110,177.2), null);
  2189. (lib.flag_mc = function(mode,startPosition,loop,reversed) {
  2190. if (loop == null) { loop = true; }
  2191. if (reversed == null) { reversed = false; }
  2192. var props = new Object();
  2193. props.mode = mode;
  2194. props.startPosition = startPosition;
  2195. props.labels = {"stand":0,"rolling":19,"complete":39};
  2196. props.loop = loop;
  2197. props.reversed = reversed;
  2198. cjs.MovieClip.apply(this,[props]);
  2199. // timeline functions:
  2200. this.frame_18 = function() {
  2201. var _this = this;
  2202. _this.stop();
  2203. }
  2204. this.frame_19 = function() {
  2205. var _this = this;
  2206. /*
  2207. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  2208. 亦可用於主時間軸或影片片段時間軸。
  2209. */
  2210. }
  2211. this.frame_27 = function() {
  2212. var _this = this;
  2213. _this.gotoAndPlay('rolling');
  2214. }
  2215. this.frame_59 = function() {
  2216. var _this = this;
  2217. _this.stop();
  2218. }
  2219. // actions tween:
  2220. this.timeline.addTween(cjs.Tween.get(this).wait(18).call(this.frame_18).wait(1).call(this.frame_19).wait(8).call(this.frame_27).wait(32).call(this.frame_59).wait(1));
  2221. // 圖層_2
  2222. this.instance = new lib.flagcolor2();
  2223. this.instance._off = true;
  2224. this.timeline.addTween(cjs.Tween.get(this.instance).wait(24).to({_off:false},0).to({_off:true},4).wait(32));
  2225. // 圖層_1
  2226. this.instance_1 = new lib.flagcolor1();
  2227. this.instance_1._off = true;
  2228. this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(19).to({_off:false},0).to({_off:true},5).wait(36));
  2229. // 圖層_3
  2230. this.instance_2 = new lib.flag_color();
  2231. this.instance_2.setTransform(332,187.5,1,1,0,0,0,332,187.5);
  2232. this.timeline.addTween(cjs.Tween.get(this.instance_2).to({_off:true},19).wait(20).to({_off:false},0).wait(21));
  2233. this._renderFirstFrame();
  2234. }).prototype = p = new cjs.MovieClip();
  2235. p.nominalBounds = new cjs.Rectangle(0,0,664,375);
  2236. (lib.旗合併拷貝 = function(mode,startPosition,loop,reversed) {
  2237. if (loop == null) { loop = true; }
  2238. if (reversed == null) { reversed = false; }
  2239. var props = new Object();
  2240. props.mode = mode;
  2241. props.startPosition = startPosition;
  2242. props.labels = {};
  2243. props.loop = loop;
  2244. props.reversed = reversed;
  2245. cjs.MovieClip.apply(this,[props]);
  2246. // 圖層_3
  2247. this.flag_mc = new lib.flag_mc();
  2248. this.flag_mc.name = "flag_mc";
  2249. this.flag_mc.setTransform(329,183.5,1,1,0,0,0,332,187.5);
  2250. this.timeline.addTween(cjs.Tween.get(this.flag_mc).wait(1));
  2251. this._renderFirstFrame();
  2252. }).prototype = getMCSymbolPrototype(lib.旗合併拷貝, new cjs.Rectangle(-3,-4,664,375), null);
  2253. (lib.luckydraw_mc = function(mode,startPosition,loop,reversed) {
  2254. if (loop == null) { loop = true; }
  2255. if (reversed == null) { reversed = false; }
  2256. var props = new Object();
  2257. props.mode = mode;
  2258. props.startPosition = startPosition;
  2259. props.labels = {into:1,storeInto:52,storeClose:110};
  2260. props.loop = loop;
  2261. props.reversed = reversed;
  2262. cjs.MovieClip.apply(this,[props]);
  2263. // timeline functions:
  2264. this.frame_0 = function() {
  2265. var _this = this;
  2266. /*
  2267. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  2268. 亦可用於主時間軸或影片片段時間軸。
  2269. */
  2270. _this.stop();
  2271. }
  2272. this.frame_51 = function() {
  2273. var _this = this;
  2274. /*
  2275. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  2276. 亦可用於主時間軸或影片片段時間軸。
  2277. */
  2278. _this.stop();
  2279. //_this.mainSpin_mc.gotoAndPlay('rolling');
  2280. }
  2281. this.frame_105 = function() {
  2282. var _this = this;
  2283. /*
  2284. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  2285. 亦可用於主時間軸或影片片段時間軸。
  2286. */
  2287. _this.stop();
  2288. main.storeIntoComplete();
  2289. }
  2290. this.frame_144 = function() {
  2291. var _this = this;
  2292. /*
  2293. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  2294. 亦可用於主時間軸或影片片段時間軸。
  2295. */
  2296. _this.stop();
  2297. main.storeCloseComplete();
  2298. }
  2299. // actions tween:
  2300. this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(51).call(this.frame_51).wait(54).call(this.frame_105).wait(39).call(this.frame_144).wait(1));
  2301. // 備註
  2302. this.instance = new lib.備註();
  2303. this.instance.setTransform(382.05,1912.65,1,1,0,0,0,324.5,55);
  2304. this.instance.alpha = 0;
  2305. this.timeline.addTween(cjs.Tween.get(this.instance).wait(65).to({x:374.5,y:1069},0).to({alpha:1},6).wait(39).to({alpha:0},6).wait(29));
  2306. // storeTitle_mc
  2307. this.storeTitle_mc = new lib.兌換獎品();
  2308. this.storeTitle_mc.name = "storeTitle_mc";
  2309. this.storeTitle_mc.setTransform(384.05,1238.15,1,1,0,0,0,122.5,44.5);
  2310. this.storeTitle_mc.alpha = 0;
  2311. this.instance_1 = new lib.備註();
  2312. this.instance_1.setTransform(382.05,1912.65,1,1,0,0,0,324.5,55);
  2313. this.instance_1.alpha = 0;
  2314. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.storeTitle_mc}]}).to({state:[{t:this.storeTitle_mc}]},74).to({state:[{t:this.storeTitle_mc}]},12).to({state:[{t:this.storeTitle_mc}]},24).to({state:[{t:this.storeTitle_mc}]},6).to({state:[{t:this.instance_1}]},18).wait(11));
  2315. this.timeline.addTween(cjs.Tween.get(this.storeTitle_mc).wait(74).to({x:376.5,y:415.3},0).to({y:394.5,alpha:1},12,cjs.Ease.backOut).wait(24).to({y:415.3,alpha:0},6).to({_off:true},18).wait(11));
  2316. // storeClose_btn
  2317. this.storeClose_btn = new lib.X();
  2318. this.storeClose_btn.name = "storeClose_btn";
  2319. this.storeClose_btn.setTransform(640.05,1343.65,1,1,0,0,0,29.5,28);
  2320. this.storeClose_btn.alpha = 0;
  2321. this.storeTitle_mc_1 = new lib.兌換獎品();
  2322. this.storeTitle_mc_1.name = "storeTitle_mc_1";
  2323. this.storeTitle_mc_1.setTransform(384.05,1238.15,1,1,0,0,0,122.5,44.5);
  2324. this.storeTitle_mc_1.alpha = 0;
  2325. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.storeClose_btn}]}).to({state:[{t:this.storeClose_btn}]},94).to({state:[{t:this.storeClose_btn}]},11).to({state:[{t:this.storeClose_btn}]},5).to({state:[{t:this.storeClose_btn}]},6).to({state:[{t:this.storeTitle_mc_1}]},1).wait(28));
  2326. this.timeline.addTween(cjs.Tween.get(this.storeClose_btn).wait(94).to({regX:27,regY:20.2,scaleX:0.437,scaleY:0.4937,x:630,y:492.2,alpha:1},0).to({regY:20.3,scaleX:1,scaleY:1,y:492.25},11,cjs.Ease.backOut).wait(5).to({regY:20.2,scaleX:0.437,scaleY:0.4937,y:492.2},6).to({_off:true},1).wait(28));
  2327. // 已兌換獎項將於7_26重新開放___獎品兌換期限7_31
  2328. this.store_text = new lib.已兌換獎項將於7_26重新開放獎品兌換期限7_31();
  2329. this.store_text.name = "store_text";
  2330. this.store_text.setTransform(384.55,1295.65,1,1,0,0,0,251,20);
  2331. this.store_text.alpha = 0;
  2332. this.storeClose_btn_1 = new lib.X();
  2333. this.storeClose_btn_1.name = "storeClose_btn_1";
  2334. this.storeClose_btn_1.setTransform(640.05,1343.65,1,1,0,0,0,29.5,28);
  2335. this.storeClose_btn_1.alpha = 0;
  2336. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.store_text}]}).to({state:[{t:this.store_text}]},85).to({state:[{t:this.store_text}]},6).to({state:[{t:this.store_text}]},19).to({state:[{t:this.store_text}]},6).to({state:[{t:this.storeClose_btn_1}]},18).wait(11));
  2337. this.timeline.addTween(cjs.Tween.get(this.store_text).wait(85).to({x:377,y:455.9},0).to({y:452,alpha:1},6).wait(19).to({y:455.9,alpha:0},6).to({_off:true},18).wait(11));
  2338. // storeBox_mc
  2339. this.storeBox_mc = new lib.框_2();
  2340. this.storeBox_mc.name = "storeBox_mc";
  2341. this.storeBox_mc.setTransform(383.55,1617.15,1,1,0,0,0,267,293.5);
  2342. this.storeBox_mc.alpha = 0;
  2343. this.store_text_1 = new lib.已兌換獎項將於7_26重新開放獎品兌換期限7_31();
  2344. this.store_text_1.name = "store_text_1";
  2345. this.store_text_1.setTransform(384.55,1295.65,1,1,0,0,0,251,20);
  2346. this.store_text_1.alpha = 0;
  2347. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.storeBox_mc}]}).to({state:[{t:this.storeBox_mc}]},67).to({state:[{t:this.storeBox_mc}]},22).to({state:[{t:this.storeBox_mc}]},21).to({state:[{t:this.storeBox_mc}]},22).to({state:[{t:this.store_text_1}]},2).wait(11));
  2348. this.timeline.addTween(cjs.Tween.get(this.storeBox_mc).wait(67).to({x:376,y:1459.5,alpha:1},0).to({y:773.5},22,cjs.Ease.backOut).wait(21).to({y:1459.5},22,cjs.Ease.circInOut).to({_off:true},2).wait(11));
  2349. // dalylogin_mc
  2350. this.dalylogin_mc = new lib.everyday();
  2351. this.dalylogin_mc.name = "dalylogin_mc";
  2352. this.dalylogin_mc.setTransform(375.95,1063.95,1,1,0,0,0,324.5,84.5);
  2353. this.dalylogin_mc.alpha = 0;
  2354. this.timeline.addTween(cjs.Tween.get(this.dalylogin_mc).wait(7).to({y:1054.8},0).to({y:1041.55,alpha:1},20,cjs.Ease.backOut).wait(25).to({y:1102.65,alpha:0},16,cjs.Ease.backIn).wait(57).to({alpha:1},0).to({y:1041.55},9).wait(11));
  2355. // mainARR_mc
  2356. this.mainARR_mc = new lib.箭頭();
  2357. this.mainARR_mc.name = "mainARR_mc";
  2358. this.mainARR_mc.setTransform(376.35,377.65,0.737,0.737,0,0,0,50.4,55.5);
  2359. this.timeline.addTween(cjs.Tween.get(this.mainARR_mc).wait(11).to({y:370.85},0).wait(1).to({regX:50,regY:55,x:376.05,y:366.25},0).wait(1).to({y:363.4},0).wait(1).to({y:361.5},0).wait(1).to({y:360.3},0).wait(1).to({y:359.6},0).wait(1).to({y:359.25},0).wait(1).to({y:359.1},0).wait(1).to({y:359.15},0).wait(1).to({y:359.4},0).wait(1).to({y:359.7},0).wait(1).to({y:360.15},0).wait(1).to({regX:50.4,regY:55.4,x:376.35,y:361.05},0).wait(39).to({y:350.5,alpha:0},8,cjs.Ease.quartIn).wait(65).to({y:361.05,alpha:1},8).wait(2));
  2360. // mainTitle_mc
  2361. this.mainTitle_mc = new lib.天天好運轉();
  2362. this.mainTitle_mc.name = "mainTitle_mc";
  2363. this.mainTitle_mc.setTransform(373.45,341.45,1,1,0,0,0,218,102);
  2364. this.timeline.addTween(cjs.Tween.get(this.mainTitle_mc).wait(11).to({y:332.3},0).wait(1).to({regX:218.5,x:373.95,y:326.55},0).wait(1).to({y:322.7},0).wait(1).to({y:320.2},0).wait(1).to({y:318.6},0).wait(1).to({y:317.6},0).wait(1).to({y:317.1},0).wait(1).to({y:316.95},0).wait(1).to({y:317.05},0).wait(1).to({y:317.3},0).wait(1).to({y:317.75},0).wait(1).to({y:318.35},0).wait(1).to({regX:218,x:373.45,y:319.05},0).wait(122));
  2365. // mainCTA_mc
  2366. this.mainCTA_mc = new lib.轉按鈕();
  2367. this.mainCTA_mc.name = "mainCTA_mc";
  2368. this.mainCTA_mc.setTransform(379,648.1,0.8396,0.8396,0,0,0,118.5,118);
  2369. this.mainCTA_mc.alpha = 0;
  2370. this.timeline.addTween(cjs.Tween.get(this.mainCTA_mc).wait(24).to({regX:118.7,regY:118.1,scaleX:0.691,scaleY:0.691,x:379.1,alpha:1},0).wait(1).to({regX:118.6,scaleX:0.8014,scaleY:0.8014,x:379,y:648.05},0).wait(1).to({scaleX:0.8825,scaleY:0.8825,x:378.9},0).wait(1).to({scaleX:0.9408,scaleY:0.9408,x:378.95},0).wait(1).to({scaleX:0.9819,scaleY:0.9819,x:378.9,y:648},0).wait(1).to({scaleX:1.0104,scaleY:1.0104},0).wait(1).to({scaleX:1.0293,scaleY:1.0293},0).wait(1).to({scaleX:1.041,scaleY:1.041,x:378.85},0).wait(1).to({scaleX:1.0471,scaleY:1.0471},0).wait(1).to({scaleX:1.0486,scaleY:1.0486},0).wait(1).to({scaleX:1.0465,scaleY:1.0465},0).wait(1).to({scaleX:1.0415,scaleY:1.0415},0).wait(1).to({scaleX:1.0339,scaleY:1.0339},0).wait(1).to({scaleX:1.0243,scaleY:1.0243,x:378.9},0).wait(1).to({scaleX:1.0129,scaleY:1.0129},0).wait(1).to({regX:118.5,regY:118,scaleX:1,scaleY:1,x:378.95,y:648.05},0).wait(14).to({regX:118.6,regY:118.1,x:379.05,y:642},0).wait(1).to({y:629.7},0).wait(1).to({y:617.5},0).wait(1).to({y:609.85},0).wait(1).to({y:610.6},0).wait(1).to({y:623.8},0).wait(1).to({y:654.15},0).wait(1).to({y:696.25},0).wait(1).to({y:744.4},0).wait(1).to({y:797.55},0).wait(1).to({y:854.75},0).wait(1).to({y:915},0).wait(1).to({y:977.45},0).wait(1).to({y:1041.2},0).wait(1).to({y:1105.35},0).wait(1).to({y:1169},0).wait(1).to({y:1231.3},0).wait(1).to({y:1291.35},0).wait(1).to({y:1348.25},0).wait(1).to({y:1401.05},0).wait(1).to({y:1448.85},0).wait(1).to({regX:118.5,regY:118,x:378.95,y:1490.45},0).wait(49).to({y:638.95},12,cjs.Ease.circOut).to({y:648.05},5).wait(5));
  2371. // mainSpin_mc
  2372. this.mainSpin_mc = new lib.spin();
  2373. this.mainSpin_mc.name = "mainSpin_mc";
  2374. this.mainSpin_mc.setTransform(376.45,1057.5,1,1,0,0,0,338,338.5);
  2375. this.mainSpin_mc.alpha = 0;
  2376. this.timeline.addTween(cjs.Tween.get(this.mainSpin_mc).to({y:641.35,alpha:1},29,cjs.Ease.backOut).to({y:646.55},4).wait(20).to({regX:337.7,regY:338.2,x:376.15,y:640.1},0).wait(1).to({y:627.8},0).wait(1).to({y:615.6},0).wait(1).to({y:607.95},0).wait(1).to({y:608.7},0).wait(1).to({y:621.9},0).wait(1).to({y:652.25},0).wait(1).to({y:694.35},0).wait(1).to({y:742.5},0).wait(1).to({y:795.65},0).wait(1).to({y:852.85},0).wait(1).to({y:913.1},0).wait(1).to({y:975.55},0).wait(1).to({y:1039.3},0).wait(1).to({y:1103.45},0).wait(1).to({y:1167.1},0).wait(1).to({y:1229.4},0).wait(1).to({y:1289.45},0).wait(1).to({y:1346.35},0).wait(1).to({y:1399.15},0).wait(1).to({y:1446.95},0).wait(1).to({regX:338,regY:338.5,x:376.45,y:1488.95},0).wait(49).to({y:637.45},12,cjs.Ease.circOut).to({y:646.55},5).wait(5));
  2377. // mainLogo_mc
  2378. this.mainLogo_mc = new lib.遊藝場LOGO();
  2379. this.mainLogo_mc.name = "mainLogo_mc";
  2380. this.mainLogo_mc.setTransform(376.95,204.95,1,1,0,0,0,132.5,66.5);
  2381. this.timeline.addTween(cjs.Tween.get(this.mainLogo_mc).wait(2).to({y:195.8},0).wait(1).to({y:190.45},0).wait(1).to({y:186.7},0).wait(1).to({y:184.15},0).wait(1).to({y:182.5},0).wait(1).to({y:181.4},0).wait(1).to({y:180.8},0).wait(1).to({y:180.5},0).wait(1).to({y:180.45},0).wait(1).to({y:180.6},0).wait(1).to({y:180.9},0).wait(1).to({y:181.35},0).wait(1).to({y:181.9},0).wait(1).to({y:182.55},0).wait(130));
  2382. // mainEffect_mc
  2383. this.mainEffect_mc = new lib.旗合併拷貝();
  2384. this.mainEffect_mc.name = "mainEffect_mc";
  2385. this.mainEffect_mc.setTransform(377.1,405.85,0.8443,0.8443,0,0,0,328.6,196.5);
  2386. this.timeline.addTween(cjs.Tween.get(this.mainEffect_mc).wait(21).to({regX:328.5,scaleX:1,scaleY:1,x:376.95,y:392.55},18,cjs.Ease.circInOut).wait(106));
  2387. // taiwanpay_logo_mc
  2388. this.taiwanpay_logo_mc = new lib.LOGO();
  2389. this.taiwanpay_logo_mc.name = "taiwanpay_logo_mc";
  2390. this.taiwanpay_logo_mc.setTransform(184.95,77.95,1,1,0,0,0,122.5,59.5);
  2391. this.timeline.addTween(cjs.Tween.get(this.taiwanpay_logo_mc).wait(31).to({y:68.8},0).wait(1).to({y:63.05},0).wait(1).to({y:59.25},0).wait(1).to({y:56.75},0).wait(1).to({y:55.15},0).wait(1).to({y:54.15},0).wait(1).to({y:53.65},0).wait(1).to({y:53.5},0).wait(1).to({y:53.6},0).wait(1).to({y:53.85},0).wait(1).to({y:54.3},0).wait(1).to({y:54.9},0).wait(1).to({y:55.55},0).wait(102));
  2392. // store_mc
  2393. this.store_mc = new lib.兌換_1();
  2394. this.store_mc.name = "store_mc";
  2395. this.store_mc.setTransform(638.45,74.45,1,1,0,0,0,60,64);
  2396. this.timeline.addTween(cjs.Tween.get(this.store_mc).wait(39).to({y:65.3},0).wait(1).to({regX:61,regY:58,x:639.45,y:53.6},0).wait(1).to({y:49.75},0).wait(1).to({y:47.25},0).wait(1).to({y:45.65},0).wait(1).to({y:44.65},0).wait(1).to({y:44.15},0).wait(1).to({y:44},0).wait(1).to({y:44.1},0).wait(1).to({y:44.35},0).wait(1).to({y:44.8},0).wait(1).to({y:45.4},0).wait(1).to({regX:60,regY:64,x:638.45,y:52.05},0).wait(94));
  2397. // point_mc
  2398. this.point_mc = new lib.吉點_1();
  2399. this.point_mc.name = "point_mc";
  2400. this.point_mc.setTransform(507.45,80.95,1,1,0,0,0,171,62.5);
  2401. this.timeline.addTween(cjs.Tween.get(this.point_mc).wait(35).to({y:71.8},0).wait(1).to({y:66.05},0).wait(1).to({y:62.25},0).wait(1).to({y:59.75},0).wait(1).to({y:58.15},0).wait(1).to({y:57.15},0).wait(1).to({y:56.65},0).wait(1).to({y:56.5},0).wait(1).to({y:56.6},0).wait(1).to({y:56.85},0).wait(1).to({y:57.3},0).wait(1).to({y:57.9},0).wait(1).to({y:58.55},0).wait(98));
  2402. // mainStore_mc
  2403. this.mainStore_mc = new lib.帳篷_1();
  2404. this.mainStore_mc.name = "mainStore_mc";
  2405. this.mainStore_mc.setTransform(375.95,631.05,1,1,0,0,0,363.5,530);
  2406. this.timeline.addTween(cjs.Tween.get(this.mainStore_mc).wait(145));
  2407. this._renderFirstFrame();
  2408. }).prototype = p = new cjs.MovieClip();
  2409. p.nominalBounds = new cjs.Rectangle(12.5,-13,1820.5,2040.8);
  2410. // stage content:
  2411. (lib.gameAni = function(mode,startPosition,loop,reversed) {
  2412. if (loop == null) { loop = true; }
  2413. if (reversed == null) { reversed = false; }
  2414. var props = new Object();
  2415. props.mode = mode;
  2416. props.startPosition = startPosition;
  2417. props.labels = {"into":1,"stand":36};
  2418. props.loop = loop;
  2419. props.reversed = reversed;
  2420. cjs.MovieClip.apply(this,[props]);
  2421. this.actionFrames = [0,19,36,66];
  2422. // timeline functions:
  2423. this.frame_0 = function() {
  2424. var _this = this;
  2425. /*
  2426. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  2427. 亦可用於主時間軸或影片片段時間軸。
  2428. */
  2429. //_this.stop();
  2430. }
  2431. this.frame_19 = function() {
  2432. var _this = this;
  2433. _this.luckydraw_mc.gotoAndPlay('into');
  2434. }
  2435. this.frame_36 = function() {
  2436. var _this = this;
  2437. _this.stop();
  2438. /*_this.luckydraw_mc.mainCTA_mc.addEventListener("click", handleClick);
  2439. function handleClick(event) {
  2440. var _random = Math.floor(Math.random()*3);
  2441. var _count = 0;
  2442. if(_random == 0){
  2443. _count = 0
  2444. }else if(_random == 1){
  2445. _count = 6;
  2446. }else if(_random == 2){
  2447. _count = 7;
  2448. }
  2449. console.log('_random = ' + _random);
  2450. _this.luckydraw_mc.mainSpin_mc.gotoAndPlay('rolling');
  2451. _this.luckydraw_mc.mainCTA_mc.gotoAndPlay('rolling');
  2452. _this.luckydraw_mc.mainSpin_mc.wheel_mc.isComplete = false;
  2453. setTimeout(function(){
  2454. _this.luckydraw_mc.mainSpin_mc.wheel_mc.setComplete(_count);
  2455. },500);
  2456. }*/
  2457. }
  2458. this.frame_66 = function() {
  2459. var _this = this;
  2460. /*
  2461. 在時間軸上移動磁頭至指定的影格標籤,並從該影格繼續播放。
  2462. 亦可用於主時間軸或影片片段時間軸。
  2463. */
  2464. /*if(!_this.isComplete){
  2465. _this.gotoAndPlay('loop');
  2466. }else{
  2467. _this.play();
  2468. }*/
  2469. _this.stop();
  2470. }
  2471. // actions tween:
  2472. this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(19).call(this.frame_19).wait(17).call(this.frame_36).wait(30).call(this.frame_66).wait(1));
  2473. // luckydraw_mc
  2474. this.luckydraw_mc = new lib.luckydraw_mc();
  2475. this.luckydraw_mc.name = "luckydraw_mc";
  2476. this.luckydraw_mc.setTransform(375,1707,1,1,0,0,0,375,569);
  2477. this.timeline.addTween(cjs.Tween.get(this.luckydraw_mc).wait(7).to({y:1707.8},0).wait(1).to({regX:376.2,regY:972,x:376.2,y:2104.6},0).wait(1).to({y:2093.1},0).wait(1).to({y:2074.7},0).wait(1).to({y:2047.15},0).wait(1).to({y:2006.8},0).wait(1).to({y:1947.45},0).wait(1).to({y:1857.9},0).wait(1).to({y:1720.55},0).wait(1).to({y:1537.05},0).wait(1).to({y:1371.7},0).wait(1).to({y:1255.1},0).wait(1).to({y:1173.65},0).wait(1).to({y:1114.65},0).wait(1).to({y:1070.7},0).wait(1).to({y:1037.45},0).wait(1).to({y:1012.25},0).wait(1).to({y:993.2},0).wait(1).to({y:979.15},0).wait(1).to({y:969.25},0).wait(1).to({y:962.7},0).wait(1).to({y:959.05},0).wait(1).to({regX:375,regY:569,x:375,y:554.9},0).to({y:573.7},4,cjs.Ease.quadInOut).wait(1).to({regX:376.2,regY:972,x:376.2,y:976.1},0).wait(1).to({y:974.6},0).wait(1).to({regX:375,regY:569,x:375,y:569},0).wait(31));
  2478. // stageBackground
  2479. this.shape = new cjs.Shape();
  2480. this.shape.graphics.f().s("rgba(0,0,0,0)").ss(1,1,1,3,true).p("Eg8JhadMB4TAAAMAAAC07Mh4TAAAg");
  2481. this.shape.setTransform(375,569);
  2482. this.shape_1 = new cjs.Shape();
  2483. this.shape_1.graphics.f("rgba(255,255,255,0)").s().p("Eg8JBaeMAAAi07MB4TAAAMAAAC07g");
  2484. this.shape_1.setTransform(375,569);
  2485. this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape_1},{t:this.shape}]}).wait(67));
  2486. this._renderFirstFrame();
  2487. }).prototype = p = new lib.AnMovieClip();
  2488. p.nominalBounds = new cjs.Rectangle(375,554.9,1458,2611.6);
  2489. // library properties:
  2490. lib.properties = {
  2491. id: '968CDC3A36AA2347ABE82F0675BD17EC',
  2492. width: 750,
  2493. height: 1138,
  2494. fps: 30,
  2495. color: "#FFFFFF",
  2496. opacity: 0.00,
  2497. manifest: [
  2498. {src:"images/gameAni/gameAni_atlas_1.png?1638154520454", id:"gameAni_atlas_1"}
  2499. ],
  2500. preloads: []
  2501. };
  2502. // bootstrap callback support:
  2503. (lib.Stage = function(canvas) {
  2504. createjs.Stage.call(this, canvas);
  2505. }).prototype = p = new createjs.Stage();
  2506. p.setAutoPlay = function(autoPlay) {
  2507. this.tickEnabled = autoPlay;
  2508. }
  2509. p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) }
  2510. p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; }
  2511. p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); }
  2512. p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; }
  2513. p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; }
  2514. an.bootcompsLoaded = an.bootcompsLoaded || [];
  2515. if(!an.bootstrapListeners) {
  2516. an.bootstrapListeners=[];
  2517. }
  2518. an.bootstrapCallback=function(fnCallback) {
  2519. an.bootstrapListeners.push(fnCallback);
  2520. if(an.bootcompsLoaded.length > 0) {
  2521. for(var i=0; i<an.bootcompsLoaded.length; ++i) {
  2522. fnCallback(an.bootcompsLoaded[i]);
  2523. }
  2524. }
  2525. };
  2526. an.compositions = an.compositions || {};
  2527. an.compositions['968CDC3A36AA2347ABE82F0675BD17EC'] = {
  2528. getStage: function() { return exportRoot.stage; },
  2529. getLibrary: function() { return lib; },
  2530. getSpriteSheet: function() { return ss; },
  2531. getImages: function() { return img; }
  2532. };
  2533. an.compositionLoaded = function(id) {
  2534. an.bootcompsLoaded.push(id);
  2535. for(var j=0; j<an.bootstrapListeners.length; j++) {
  2536. an.bootstrapListeners[j](id);
  2537. }
  2538. }
  2539. an.getComposition = function(id) {
  2540. return an.compositions[id];
  2541. }
  2542. an.makeResponsive = function(isResp, respDim, isScale, scaleType, domContainers) {
  2543. var lastW, lastH, lastS=1;
  2544. window.addEventListener('resize', resizeCanvas);
  2545. resizeCanvas();
  2546. function resizeCanvas() {
  2547. var w = lib.properties.width, h = lib.properties.height;
  2548. var iw = window.innerWidth, ih=window.innerHeight;
  2549. var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1;
  2550. if(isResp) {
  2551. if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) {
  2552. sRatio = lastS;
  2553. }
  2554. else if(!isScale) {
  2555. if(iw<w || ih<h)
  2556. sRatio = Math.min(xRatio, yRatio);
  2557. }
  2558. else if(scaleType==1) {
  2559. sRatio = Math.min(xRatio, yRatio);
  2560. }
  2561. else if(scaleType==2) {
  2562. sRatio = Math.max(xRatio, yRatio);
  2563. }
  2564. }
  2565. domContainers[0].width = w * pRatio * sRatio;
  2566. domContainers[0].height = h * pRatio * sRatio;
  2567. domContainers.forEach(function(container) {
  2568. container.style.width = w * sRatio + 'px';
  2569. container.style.height = h * sRatio + 'px';
  2570. });
  2571. stage.scaleX = pRatio*sRatio;
  2572. stage.scaleY = pRatio*sRatio;
  2573. lastW = iw; lastH = ih; lastS = sRatio;
  2574. stage.tickOnUpdate = false;
  2575. stage.update();
  2576. stage.tickOnUpdate = true;
  2577. }
  2578. }
  2579. an.handleSoundStreamOnTick = function(event) {
  2580. if(!event.paused){
  2581. var stageChild = stage.getChildAt(0);
  2582. if(!stageChild.paused || stageChild.ignorePause){
  2583. stageChild.syncStreamSounds();
  2584. }
  2585. }
  2586. }
  2587. })(createjs = createjs||{}, gameAni = gameAni||{});
  2588. var createjs, gameAni;