(function (cjs, an) {

var p; // shortcut to reference prototypes
var lib={};var ss={};var img={};
lib.ssMetadata = [
		{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]]}
];


(lib.AnMovieClip = function(){
	this.actionFrames = [];
	this.ignorePause = false;
	this.gotoAndPlay = function(positionOrLabel){
		cjs.MovieClip.prototype.gotoAndPlay.call(this,positionOrLabel);
	}
	this.play = function(){
		cjs.MovieClip.prototype.play.call(this);
	}
	this.gotoAndStop = function(positionOrLabel){
		cjs.MovieClip.prototype.gotoAndStop.call(this,positionOrLabel);
	}
	this.stop = function(){
		cjs.MovieClip.prototype.stop.call(this);
	}
}).prototype = p = new cjs.MovieClip();
// symbols:



(lib.吉點 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();



(lib.不亮 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(1);
}).prototype = p = new cjs.Sprite();



(lib.不亮_1 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(2);
}).prototype = p = new cjs.Sprite();



(lib.不亮_2 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(3);
}).prototype = p = new cjs.Sprite();



(lib.不亮_3 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(4);
}).prototype = p = new cjs.Sprite();



(lib.不亮_4 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(5);
}).prototype = p = new cjs.Sprite();



(lib.不亮_5 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(6);
}).prototype = p = new cjs.Sprite();



(lib.不亮_6 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(7);
}).prototype = p = new cjs.Sprite();



(lib._1 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(8);
}).prototype = p = new cjs.Sprite();



(lib._3 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(9);
}).prototype = p = new cjs.Sprite();



(lib.帳篷 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(10);
}).prototype = p = new cjs.Sprite();



(lib._6 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(11);
}).prototype = p = new cjs.Sprite();



(lib._66 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(12);
}).prototype = p = new cjs.Sprite();



(lib._8 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(13);
}).prototype = p = new cjs.Sprite();



(lib._9 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(14);
}).prototype = p = new cjs.Sprite();



(lib.btnclose = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(15);
}).prototype = p = new cjs.Sprite();



(lib.checkin = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(16);
}).prototype = p = new cjs.Sprite();



(lib.cta = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(17);
}).prototype = p = new cjs.Sprite();



(lib.cta_l = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(18);
}).prototype = p = new cjs.Sprite();



(lib.組合A = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(19);
}).prototype = p = new cjs.Sprite();



(lib.組合A_1 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(20);
}).prototype = p = new cjs.Sprite();



(lib.組合B = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(21);
}).prototype = p = new cjs.Sprite();



(lib.組合B_1 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(22);
}).prototype = p = new cjs.Sprite();



(lib.date = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(23);
}).prototype = p = new cjs.Sprite();



(lib.everyday合併 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(24);
}).prototype = p = new cjs.Sprite();



(lib.框 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(25);
}).prototype = p = new cjs.Sprite();



(lib.框_1 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(26);
}).prototype = p = new cjs.Sprite();



(lib.flagcolor1 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(27);
}).prototype = p = new cjs.Sprite();



(lib.flagcolor2 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(28);
}).prototype = p = new cjs.Sprite();



(lib.flagcolorB = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(29);
}).prototype = p = new cjs.Sprite();



(lib.flagcolorG = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(30);
}).prototype = p = new cjs.Sprite();



(lib.flagcolorP = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(31);
}).prototype = p = new cjs.Sprite();



(lib.gametext2 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(32);
}).prototype = p = new cjs.Sprite();



(lib.gametext3 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(33);
}).prototype = p = new cjs.Sprite();



(lib.兌換activepng複製 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(34);
}).prototype = p = new cjs.Sprite();



(lib.兌換 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(35);
}).prototype = p = new cjs.Sprite();



(lib.shape = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(36);
}).prototype = p = new cjs.Sprite();



(lib.shape_1 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(37);
}).prototype = p = new cjs.Sprite();



(lib.shape拷貝 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(38);
}).prototype = p = new cjs.Sprite();



(lib.shape拷貝2 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(39);
}).prototype = p = new cjs.Sprite();



(lib.shape拷貝3 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(40);
}).prototype = p = new cjs.Sprite();



(lib.shapesDropShadow = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(41);
}).prototype = p = new cjs.Sprite();



(lib.shapesOuterGlow = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(42);
}).prototype = p = new cjs.Sprite();



(lib.亮 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(43);
}).prototype = p = new cjs.Sprite();



(lib.亮_1 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(44);
}).prototype = p = new cjs.Sprite();



(lib.亮_2 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(45);
}).prototype = p = new cjs.Sprite();



(lib.亮_3 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(46);
}).prototype = p = new cjs.Sprite();



(lib.亮_4 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(47);
}).prototype = p = new cjs.Sprite();



(lib.亮_5 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(48);
}).prototype = p = new cjs.Sprite();



(lib.亮_6 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(49);
}).prototype = p = new cjs.Sprite();



(lib.亮A = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(50);
}).prototype = p = new cjs.Sprite();



(lib.亮B = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(51);
}).prototype = p = new cjs.Sprite();



(lib.再轉一次 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(52);
}).prototype = p = new cjs.Sprite();



(lib.再接再厲 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(53);
}).prototype = p = new cjs.Sprite();



(lib.柱 = function() {
	this.initialize(ss["gameAni_atlas_1"]);
	this.gotoAndStop(54);
}).prototype = p = new cjs.Sprite();
// helper functions:

function mc_symbol_clone() {
	var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop, this.reversed));
	clone.gotoAndStop(this.currentFrame);
	clone.paused = this.paused;
	clone.framerate = this.framerate;
	return clone;
}

function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) {
	var prototype = cjs.extend(symbol, cjs.MovieClip);
	prototype.clone = mc_symbol_clone;
	prototype.nominalBounds = nominalBounds;
	prototype.frameBounds = frameBounds;
	return prototype;
	}


(lib.亮_7 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.亮_4();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮_7, new cjs.Rectangle(0,0,89,89), null);


(lib.不亮_7 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.不亮_4();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.不亮_7, new cjs.Rectangle(0,0,67,68), null);


(lib.亮_8 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_1 = new lib.亮_6();

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮_8, new cjs.Rectangle(0,0,89,89), null);


(lib.不亮_8 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_1 = new lib.不亮_6();

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.不亮_8, new cjs.Rectangle(0,0,67,68), null);


(lib.亮_9 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_2 = new lib.亮_5();

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮_9, new cjs.Rectangle(0,0,88,89), null);


(lib.不亮_9 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_2 = new lib.不亮_5();

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.不亮_9, new cjs.Rectangle(0,0,68,68), null);


(lib.亮_10 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_3 = new lib.亮_3();

	this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮_10, new cjs.Rectangle(0,0,89,89), null);


(lib.不亮_10 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_3 = new lib.不亮_3();

	this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.不亮_10, new cjs.Rectangle(0,0,67,68), null);


(lib.已兌換獎項將於7_26重新開放獎品兌換期限7_31 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_3
	this.date_txt = new cjs.Text("12/6", "bold 30px 'Arial'", "#FC04CD");
	this.date_txt.name = "date_txt";
	this.date_txt.lineHeight = 36;
	this.date_txt.parent = this;
	this.date_txt.setTransform(308.2,3.1);

	this.timeline.addTween(cjs.Tween.get(this.date_txt).wait(1));

	// 圖層_2
	this.instance = new lib.date();
	this.instance.setTransform(141,0);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.已兌換獎項將於7_26重新開放獎品兌換期限7_31, new cjs.Rectangle(141,0,227.89999999999998,39), null);


(lib.X = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib.btnclose();
	this.instance.setTransform(-11,-21);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.X, new cjs.Rectangle(-11,-21,80,81), null);


(lib.框_2 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.框_1();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.框_2, new cjs.Rectangle(0,0,534,587), null);


(lib.亮B_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.亮B();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮B_1, new cjs.Rectangle(0,0,99,110), null);


(lib.亮A_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.亮A();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮A_1, new cjs.Rectangle(0,0,100,110), null);


(lib.shapesOuterGlow_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.shapesOuterGlow();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.shapesOuterGlow_1, new cjs.Rectangle(0,0,676,677), null);


(lib.shapesDropShadow_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.shapesDropShadow();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.shapesDropShadow_1, new cjs.Rectangle(0,0,649,649), null);


(lib.再接再厲_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_3
	this.instance = new lib.再接再厲();
	this.instance.setTransform(-29.45,246.8,1,1,-83.4999);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.再接再厲_1, new cjs.Rectangle(-29.4,0.4,309.2,278.5), null);


(lib.再轉一次_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib.再轉一次();
	this.instance.setTransform(0.05,281.45,1,1,-83.4999);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.再轉一次_1, new cjs.Rectangle(0.1,0.3,246.6,305.59999999999997), null);


(lib.組合B_2 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.組合B();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.組合B_2, new cjs.Rectangle(0,0,613,608), null);


(lib.組合A_2 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.組合A();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.組合A_2, new cjs.Rectangle(0,0,613,608), null);


(lib.框_3 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_1 = new lib.框();

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.框_3, new cjs.Rectangle(0,0,577,577), null);


(lib._66_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib._66();
	this.instance.setTransform(-30.35,274.25,1,1,-83.5006);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib._66_1, new cjs.Rectangle(-30.3,-7.9,141.4,294.59999999999997), null);


(lib._9_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib._9();
	this.instance.setTransform(-1.45,181.3,1,1,-83.4999);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib._9_1, new cjs.Rectangle(-1.4,-24.3,304.59999999999997,237.70000000000002), null);


(lib._8_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib._8();
	this.instance.setTransform(-1.5,271.3,1,1,-83.4999);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib._8_1, new cjs.Rectangle(-1.5,-9.9,245.7,305.59999999999997), null);


(lib._6_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib._6();
	this.instance.setTransform(-15.6,243.85,1,1,-83.4999);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib._6_1, new cjs.Rectangle(-15.6,-27.4,276.3,299.2), null);


(lib._3_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib._3();
	this.instance.setTransform(-13.55,261.95,1,1,-83.4999);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib._3_1, new cjs.Rectangle(-13.5,-3.3,311.4,297.3), null);


(lib._1_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib._1();
	this.instance.setTransform(-14.2,250.35,1,1,-83.4999);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib._1_1, new cjs.Rectangle(-14.2,-17.9,281,296.79999999999995), null);


(lib.兌換亮 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib.兌換activepng複製();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.兌換亮, new cjs.Rectangle(0,0,122,115), null);


(lib.兌換不亮 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib.兌換();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.兌換不亮, new cjs.Rectangle(0,0,122,115), null);


(lib.柱_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.柱();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.柱_1, new cjs.Rectangle(0,0,184,28), null);


(lib.亮_11 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_4 = new lib.亮();

	this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮_11, new cjs.Rectangle(0,0,245,119), null);


(lib.不亮_11 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_4 = new lib.不亮();

	this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.不亮_11, new cjs.Rectangle(0,0,209,82), null);


(lib.亮_12 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_5 = new lib.亮_1();

	this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮_12, new cjs.Rectangle(0,0,265,133), null);


(lib.不亮_12 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_5 = new lib.不亮_1();

	this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.不亮_12, new cjs.Rectangle(0,0,213,81), null);


(lib.亮_13 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance_6 = new lib.cta_l();

	this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮_13, new cjs.Rectangle(0,0,237,236), null);


(lib.不亮_13 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance_6 = new lib.cta();

	this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.不亮_13, new cjs.Rectangle(0,0,198,200), null);


(lib.everyday合併_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_5
	this.instance = new lib.gametext3();
	this.instance.setTransform(87,28);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(150));

	// 圖層_1
	this.instance_1 = new lib.everyday合併();

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(150));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,649,169);


(lib.帳篷_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.帳篷();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.帳篷_1, new cjs.Rectangle(0,0,727,1037), null);


(lib.亮_14 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_7 = new lib.亮_2();

	this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.亮_14, new cjs.Rectangle(0,0,437,204), null);


(lib.組合B_3 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_1 = new lib.組合B_1();

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.組合B_3, new cjs.Rectangle(0,0,399,168), null);


(lib.組合A_3 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_1 = new lib.組合A_1();

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.組合A_3, new cjs.Rectangle(0,0,399,168), null);


(lib.不亮_14 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance_7 = new lib.不亮_2();

	this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.不亮_14, new cjs.Rectangle(0,0,428,192), null);


(lib.吉點複製 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.吉點();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.吉點複製, new cjs.Rectangle(0,0,342,125), null);


(lib.game_text複製 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_2
	this.instance = new lib.gametext2();
	this.instance.setTransform(849,0);

	this.instance_1 = new lib.gametext2();
	this.instance_1.setTransform(-7,0);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.game_text複製, new cjs.Rectangle(-7,0,1677,56), null);


(lib.flag_P = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.flagcolorP();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.flag_P, new cjs.Rectangle(0,0,664,375), null);


(lib.flag_G = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.flagcolorG();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.flag_G, new cjs.Rectangle(0,0,664,375), null);


(lib.flag_B = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.flagcolorB();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.flag_B, new cjs.Rectangle(0,0,664,375), null);


(lib.checkin_img = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.checkin();

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.checkin_img, new cjs.Rectangle(0,0,89,89), null);


(lib.wheel_mc_stand = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 框
	this.instance = new lib.框_3();
	this.instance.setTransform(288.5,288.5,1,1,0,0,0,288.5,288.5);
	this.instance.alpha = 0.6992;

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(32));

	// _6
	this.instance_1 = new lib._66_1();
	this.instance_1.setTransform(286.5,145,1,1,0,0,0,55.5,142);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(4).to({alpha:0.3984},0).wait(28));

	// 再轉一次_
	this.instance_2 = new lib.再轉一次_1();
	this.instance_2.setTransform(404,148,1,1,0,0,0,118,139);
	this.instance_2.alpha = 0.3984;

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(4).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(24));

	// _
	this.instance_3 = new lib._9_1();
	this.instance_3.setTransform(427.5,235.5,1,1,0,0,0,141.5,106.5);
	this.instance_3.alpha = 0.3984;

	this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(8).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(20));

	// 再接再厲_
	this.instance_4 = new lib.再接再厲_1();
	this.instance_4.setTransform(425,417,1,1,0,0,0,139,131);
	this.instance_4.alpha = 0.3984;

	this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(12).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(16));

	// _
	this.instance_5 = new lib._8_1();
	this.instance_5.setTransform(286.5,428,1,1,0,0,0,108.5,142);
	this.instance_5.alpha = 0.3984;

	this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(16).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(12));

	// _
	this.instance_6 = new lib._6_1();
	this.instance_6.setTransform(156,417,1,1,0,0,0,131,131);
	this.instance_6.alpha = 0.3984;

	this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(20).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(8));

	// _
	this.instance_7 = new lib._3_1();
	this.instance_7.setTransform(145,262,1,1,0,0,0,141,133);
	this.instance_7.alpha = 0.3984;

	this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(24).to({alpha:1},0).wait(4).to({alpha:0.3984},0).wait(4));

	// _
	this.instance_8 = new lib._1_1();
	this.instance_8.setTransform(169,148,1,1,0,0,0,118,139);
	this.instance_8.alpha = 0.3984;

	this.timeline.addTween(cjs.Tween.get(this.instance_8).wait(28).to({alpha:1},0).wait(4));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-9.5,-8.9,598.7,590.6);


(lib.wheel_mc_rolling_effect = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_0 = function() {
		/*var _this = this;
		
		
		for(var _i = 0; _i<8;_i++){
			_this['pick_' + _i].alpha=0.4;
		}
		
		_this['pick_' + 0].alpha=1;*/
	}

	// actions tween:
	this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(40));

	// 框
	this.instance = new lib.框_3();
	this.instance.setTransform(2.65,1.4,1,1,0,0,0,288.5,288.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(40));

	// pick_0
	this.pick_0 = new lib._66_1();
	this.pick_0.name = "pick_0";
	this.pick_0.setTransform(0.65,-142.1,1,1,0,0,0,55.5,142);

	this.timeline.addTween(cjs.Tween.get(this.pick_0).wait(40));

	// pick_7
	this.pick_7 = new lib.再轉一次_1();
	this.pick_7.name = "pick_7";
	this.pick_7.setTransform(118.15,-139.1,1,1,0,0,0,118,139);

	this.timeline.addTween(cjs.Tween.get(this.pick_7).wait(40));

	// pick_6
	this.pick_6 = new lib._9_1();
	this.pick_6.name = "pick_6";
	this.pick_6.setTransform(141.65,-51.6,1,1,0,0,0,141.5,106.5);

	this.timeline.addTween(cjs.Tween.get(this.pick_6).wait(40));

	// pick_5
	this.pick_5 = new lib.再接再厲_1();
	this.pick_5.name = "pick_5";
	this.pick_5.setTransform(139.15,129.9,1,1,0,0,0,139,131);

	this.timeline.addTween(cjs.Tween.get(this.pick_5).wait(40));

	// pick_4
	this.pick_4 = new lib._8_1();
	this.pick_4.name = "pick_4";
	this.pick_4.setTransform(0.65,140.9,1,1,0,0,0,108.5,142);

	this.timeline.addTween(cjs.Tween.get(this.pick_4).wait(40));

	// pick_3
	this.pick_3 = new lib._6_1();
	this.pick_3.name = "pick_3";
	this.pick_3.setTransform(-129.85,129.9,1,1,0,0,0,131,131);

	this.timeline.addTween(cjs.Tween.get(this.pick_3).wait(40));

	// pick_2
	this.pick_2 = new lib._3_1();
	this.pick_2.name = "pick_2";
	this.pick_2.setTransform(-140.85,-25.1,1,1,0,0,0,141,133);

	this.timeline.addTween(cjs.Tween.get(this.pick_2).wait(40));

	// pick_1
	this.pick_1 = new lib._1_1();
	this.pick_1.name = "pick_1";
	this.pick_1.setTransform(-116.85,-139.1,1,1,0,0,0,118,139);

	this.timeline.addTween(cjs.Tween.get(this.pick_1).wait(40));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-295.4,-296,598.8,590.6);


(lib.wheel_mc_rolling = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	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};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_0 = function() {
		var _this = this;
		_this.stop();
		
		
		
		_this.isComplete = false;
		_this.completeCount = 0;
		
		var _rotation = [0,14,58,114,158,204,260,306,350];
		
		_this.setPick = function (_count){
			/*for(var _i = 0; _i<8;_i++){
			_this.wheel_mc['pick_' + _i].alpha=0.4;
			}
			
			_this.wheel_mc['pick_' + _count].alpha=1;*/
		}
		
		_this.setComplete = function (_count){
			_this.isComplete = true;
			_this.completeCount = _count;
			
			console.log('setComplete = ' + _this.completeCount);
		}
		
		var preTick = 0;
		var nowTick;
		
		_this.addEventListener("tick", handleTick);
		 function handleTick(event) {
		     //console.log(_this.wheel_mc.rotation);
		
			for(var _i = 0; _i<8;_i++){
			_this.wheel_mc['pick_' + _i].alpha=0.4;
			}
			
			//var _r = _this.wheel_mc.rotation + 60;
			
			preTick = _this.wheel_mc.rotation%360;	 
			var _r = preTick;	
			
			//console.log(_r);
		
			
			if(_r > 410){
				_this.wheel_mc['pick_' + 2].alpha=1;
			}else if(_r > 370){
				_this.wheel_mc['pick_' + 1].alpha=1;
			}else if(_r > 350){
				_this.wheel_mc['pick_' + 0].alpha=1;
			}else if(_r > _rotation[7]){
				_this.wheel_mc['pick_' + 7].alpha=1;
			}else if(_r > _rotation[6]){
				_this.wheel_mc['pick_' + 6].alpha=1;
			}else if(_r > _rotation[5]){
				_this.wheel_mc['pick_' + 5].alpha=1;
			}else if(_r > _rotation[4]){
				_this.wheel_mc['pick_' + 4].alpha=1;
			}else if(_r > _rotation[3]){
				_this.wheel_mc['pick_' + 3].alpha=1;
			}else if(_r > _rotation[2]){
				_this.wheel_mc['pick_' + 2].alpha=1;
			}else if(_r > _rotation[1]){
				_this.wheel_mc['pick_' + 1].alpha=1;
			}else if(_r > _rotation[0]){
				_this.wheel_mc['pick_' + 0].alpha=1;
			}
			
			if(_r == 0){
				_this.wheel_mc['pick_' + 0].alpha=1;
			}
		 }
	}
	this.frame_1 = function() {
		var _this = this;
		
		_this.setPick(0);
	}
	this.frame_2 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_4 = function() {
		var _this = this;
		
		_this.setPick(2);
	}
	this.frame_6 = function() {
		var _this = this;
		
		_this.setPick(3);
	}
	this.frame_8 = function() {
		var _this = this;
		
		_this.setPick(4);
	}
	this.frame_9 = function() {
		var _this = this;
		
		_this.setPick(5);
	}
	this.frame_12 = function() {
		var _this = this;
		
		_this.setPick(6);
	}
	this.frame_13 = function() {
		var _this = this;
		
		_this.setPick(7);
	}
	this.frame_14 = function() {
		var _this = this;
		
		
		if(!_this.isComplete){
			_this.gotoAndPlay('loop');
		}else{
			_this.gotoAndPlay('complete');
			
			console.log('complete! count = ' +  _this.completeCount);
		}
	}
	this.frame_29 = function() {
		var _this = this;
		
		_this.setPick(0);
	}
	this.frame_30 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_34 = function() {
		var _this = this;
		
		_this.setPick(2);
	}
	this.frame_37 = function() {
		var _this = this;
		
		_this.setPick(3);
	}
	this.frame_39 = function() {
		var _this = this;
		
		_this.setPick(4);
	}
	this.frame_41 = function() {
		var _this = this;
		
		_this.setPick(5);
	}
	this.frame_44 = function() {
		var _this = this;
		
		_this.setPick(6);
	}
	this.frame_46 = function() {
		var _this = this;
		
		_this.setPick(7);
		var _this = this;
		
		console.log('complete_' + _this.completeCount);
		
		_this.gotoAndPlay('complete_' + _this.completeCount);
	}
	this.frame_47 = function() {
		var _this = this;
		
		_this.setPick(0);
	}
	this.frame_48 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_50 = function() {
		var _this = this;
		
		_this.setPick(2);
	}
	this.frame_53 = function() {
		var _this = this;
		
		_this.setPick(3);
	}
	this.frame_56 = function() {
		var _this = this;
		
		_this.setPick(4);
	}
	this.frame_58 = function() {
		var _this = this;
		
		_this.setPick(5);
	}
	this.frame_63 = function() {
		var _this = this;
		
		_this.setPick(6);
	}
	this.frame_68 = function() {
		var _this = this;
		
		_this.setPick(7);
	}
	this.frame_77 = function() {
		var _this = this;
		
		_this.setPick(0);
	}
	this.frame_89 = function() {
		var _this = this;
		_this.stop();
		
		main.luckydrawComplete();
	}
	this.frame_91 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_93 = function() {
		var _this = this;
		
		_this.setPick(2);
	}
	this.frame_97 = function() {
		var _this = this;
		
		_this.setPick(3);
	}
	this.frame_100 = function() {
		var _this = this;
		
		_this.setPick(4);
	}
	this.frame_103 = function() {
		var _this = this;
		
		_this.setPick(5);
	}
	this.frame_109 = function() {
		var _this = this;
		
		_this.setPick(6);
	}
	this.frame_115 = function() {
		var _this = this;
		
		_this.setPick(7);
	}
	this.frame_126 = function() {
		var _this = this;
		
		_this.setPick(0);
	}
	this.frame_149 = function() {
		var _this = this;
		
		_this.setPick(7);
	}
	this.frame_166 = function() {
		var _this = this;
		_this.stop();
		
		main.luckydrawComplete();
	}
	this.frame_168 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_171 = function() {
		var _this = this;
		
		_this.setPick(2);
	}
	this.frame_175 = function() {
		var _this = this;
		
		_this.setPick(3);
	}
	this.frame_179 = function() {
		var _this = this;
		
		_this.setPick(4);
	}
	this.frame_183 = function() {
		var _this = this;
		
		_this.setPick(5);
	}
	this.frame_192 = function() {
		var _this = this;
		
		_this.setPick(6);
	}
	this.frame_206 = function() {
		var _this = this;
		
		_this.setPick(7);
	}
	this.frame_222 = function() {
		var _this = this;
		
		_this.setPick(6);
	}
	this.frame_243 = function() {
		var _this = this;
		_this.stop();
		
		main.luckydrawComplete();
	}
	this.frame_245 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_248 = function() {
		var _this = this;
		
		_this.setPick(2);
	}
	this.frame_253 = function() {
		var _this = this;
		
		_this.setPick(3);
	}
	this.frame_258 = function() {
		var _this = this;
		
		_this.setPick(4);
	}
	this.frame_265 = function() {
		var _this = this;
		
		_this.setPick(5);
	}
	this.frame_315 = function() {
		var _this = this;
		_this.stop();
		
		main.luckydrawComplete();
	}
	this.frame_317 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_320 = function() {
		var _this = this;
		
		_this.setPick(2);
	}
	this.frame_325 = function() {
		var _this = this;
		
		_this.setPick(3);
	}
	this.frame_331 = function() {
		var _this = this;
		
		_this.setPick(4);
	}
	this.frame_368 = function() {
		var _this = this;
		_this.stop();
		
		main.luckydrawComplete();
	}
	this.frame_370 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_373 = function() {
		var _this = this;
		
		_this.setPick(2);
	}
	this.frame_379 = function() {
		var _this = this;
		
		_this.setPick(3);
	}
	this.frame_404 = function() {
		var _this = this;
		_this.stop();
		
		main.luckydrawComplete();
	}
	this.frame_406 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_411 = function() {
		var _this = this;
		
		_this.setPick(2);
	}
	this.frame_437 = function() {
		var _this = this;
		_this.stop();
		
		main.luckydrawComplete();
	}
	this.frame_440 = function() {
		var _this = this;
		
		_this.setPick(1);
	}
	this.frame_457 = function() {
		var _this = this;
		_this.stop();
		
		main.luckydrawComplete();
	}

	// actions tween:
	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));

	// 圖層_1
	this.wheel_mc = new lib.wheel_mc_rolling_effect();
	this.wheel_mc.name = "wheel_mc";
	this.wheel_mc.setTransform(287.3,285.95);

	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));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-123.5,-124.6,821.6,821.4);


(lib.換 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 亮
	this.instance = new lib.亮_7();
	this.instance.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	// 不亮
	this.instance_1 = new lib.不亮_7();
	this.instance_1.setTransform(45.5,48,1,1,0,0,0,33.5,34);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.換, new cjs.Rectangle(0,0,89,89), null);


(lib.品 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 亮
	this.instance = new lib.亮_8();
	this.instance.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	// 不亮
	this.instance_1 = new lib.不亮_8();
	this.instance_1.setTransform(45.5,48,1,1,0,0,0,33.5,34);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.品, new cjs.Rectangle(0,0,89,89), null);


(lib.獎 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 亮
	this.instance = new lib.亮_9();
	this.instance.setTransform(44,44.5,1,1,0,0,0,44,44.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	// 不亮
	this.instance_1 = new lib.不亮_9();
	this.instance_1.setTransform(45,48,1,1,0,0,0,34,34);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.獎, new cjs.Rectangle(0,0,88,89), null);


(lib.兌 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 亮
	this.instance = new lib.亮_10();
	this.instance.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	// 不亮
	this.instance_1 = new lib.不亮_10();
	this.instance_1.setTransform(45.5,48,1,1,0,0,0,33.5,34);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.兌, new cjs.Rectangle(0,0,89,89), null);


(lib.箭頭 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {stand:0,rolling:19,"complete":39};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_18 = function() {
		var _this = this;
		_this.stop();
	}
	this.frame_19 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
	}
	this.frame_27 = function() {
		var _this = this;
		_this.gotoAndPlay('rolling');
	}
	this.frame_59 = function() {
		var _this = this;
		_this.stop();
	}

	// actions tween:
	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));

	// 亮B
	this.instance = new lib.亮B_1();
	this.instance.setTransform(49.5,55,1,1,0,0,0,49.5,55);

	this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},24).wait(15).to({_off:false},0).wait(21));

	// 亮A
	this.instance_1 = new lib.亮A_1();
	this.instance_1.setTransform(50,55,1,1,0,0,0,50,55);
	this.instance_1._off = true;

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(24).to({_off:false},0).to({_off:true},4).wait(32));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,100,110);


(lib.shape_2 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// shape
	this.instance = new lib.shape_1();
	this.instance.setTransform(25,26);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	// shape_s_Outer_Glow
	this.instance_1 = new lib.shapesOuterGlow_1();
	this.instance_1.setTransform(338,338.5,1,1,0,0,0,338,338.5);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	// shape_s_Drop_Shadow
	this.instance_2 = new lib.shapesDropShadow_1();
	this.instance_2.setTransform(339.5,343.5,1,1,0,0,0,324.5,324.5);
	this.instance_2.compositeOperation = "multiply";

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.shape_2, new cjs.Rectangle(0,0,676,677), null);


(lib.Light_rolling = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 組合A
	this.instance = new lib.組合A_2();
	this.instance.setTransform(306.45,304.1,1,1,-0.0009,0,0,306.4,304.1);
	this.instance._off = true;

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(2).to({_off:false},0).wait(3));

	// 組合B
	this.instance_1 = new lib.組合B_2();
	this.instance_1.setTransform(306.5,304,1,1,0,0,0,306.5,304);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).to({_off:true},2).wait(3));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,613.1,608);


(lib.Light = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 組合A
	this.instance = new lib.組合A_2();
	this.instance.setTransform(306.5,304.05,1,1,-8.961,0,0,306.5,304);

	this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},7).wait(5).to({_off:false,rotation:-8.9611},0).wait(3));

	// 組合B
	this.instance_1 = new lib.組合B_2();
	this.instance_1.setTransform(306.5,304,1,1,0,0,0,306.5,304);
	this.instance_1._off = true;

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(7).to({_off:false},0).to({_off:true},5).wait(3));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-43.6,-44,700.2,696.1);


(lib.兌換_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {"stand":0,"rolling":19,"complete":39};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_18 = function() {
		var _this = this;
		_this.stop();
	}
	this.frame_19 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
	}
	this.frame_38 = function() {
		var _this = this;
		_this.stop();
	}
	this.frame_61 = function() {
		var _this = this;
		//_this.stop();
		
		_this.gotoAndPlay('complete');
	}

	// actions tween:
	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));

	// 兌換亮
	this.instance = new lib.兌換亮();
	this.instance.setTransform(60,64,1,1,0,0,0,60,64);
	this.instance.alpha = 0.6016;
	this.instance._off = true;

	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));

	// 兌換不亮
	this.instance_1 = new lib.兌換不亮();
	this.instance_1.setTransform(50.5,55.5,1,1,0,0,0,50.5,54.5);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(62));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,122,116);


(lib.LOGO = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 亮
	this.instance = new lib.亮_11();
	this.instance.setTransform(122.5,59.5,1,1,0,0,0,122.5,59.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	// 不亮
	this.instance_1 = new lib.不亮_11();
	this.instance_1.setTransform(122.5,60,1,1,0,0,0,104.5,41);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	// 柱
	this.instance_2 = new lib.柱_1();
	this.instance_2.setTransform(122,100,1,1,0,0,0,92,14);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.LOGO, new cjs.Rectangle(0,0,245,119), null);


(lib.遊藝場LOGO = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 亮
	this.instance = new lib.亮_12();
	this.instance.setTransform(132.5,66.5,1,1,0,0,0,132.5,66.5);
	this.instance.alpha = 0.6602;

	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));

	// 不亮
	this.instance_1 = new lib.不亮_12();
	this.instance_1.setTransform(132.5,66.5,1,1,0,0,0,106.5,40.5);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(34));

	// shape_拷貝_3
	this.instance_2 = new lib.shape拷貝3();
	this.instance_2.setTransform(215,103);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(34));

	// shape_拷貝_2
	this.instance_3 = new lib.shape拷貝2();
	this.instance_3.setTransform(157,103);

	this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(34));

	// shape_拷貝
	this.instance_4 = new lib.shape拷貝();
	this.instance_4.setTransform(97,103);

	this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(34));

	// shape
	this.instance_5 = new lib.shape();
	this.instance_5.setTransform(39,103);

	this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(34));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,265,133);


(lib.everyday合併複製 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_4 (mask)
	var mask = new cjs.Shape();
	mask._off = true;
	mask.graphics.p("EgioADlIAAnJMBFRAAAIAAHJg");
	mask.setTransform(323.1,56.325);

	// 圖層_2
	this.instance = new lib.game_text複製();
	this.instance.setTransform(356,56.5,1,1,0,0,0,247,27.5);

	var maskedShapeInstanceList = [this.instance];

	for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
		maskedShapeInstanceList[shapedInstanceItr].mask = mask;
	}

	this.timeline.addTween(cjs.Tween.get(this.instance).to({x:-499.55,y:56.4},179).wait(1));

	// 圖層_1
	this.instance_1 = new lib.everyday合併();

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(180));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,649,169);


(lib.titleLight_rolling = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 組合A
	this.instance = new lib.組合A_3();
	this.instance.setTransform(199.5,84,1,1,0,0,0,199.5,84);

	this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},3).wait(2));

	// 組合B
	this.instance_1 = new lib.組合B_3();
	this.instance_1.setTransform(199.5,84,1,1,0,0,0,199.5,84);
	this.instance_1._off = true;

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(3).to({_off:false},0).wait(2));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,399,168);


(lib.Light_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 組合A
	this.instance_2 = new lib.組合A_3();
	this.instance_2.setTransform(199.5,84,1,1,0,0,0,199.5,84);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).to({_off:true},7).wait(5).to({_off:false},0).wait(3));

	// 組合B
	this.instance_3 = new lib.組合B_3();
	this.instance_3.setTransform(199.5,84,1,1,0,0,0,199.5,84);
	this.instance_3._off = true;

	this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(7).to({_off:false},0).to({_off:true},5).wait(3));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,399,168);


(lib.天天好運轉 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {"stand":0,"rolling":19,"complete":39};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_18 = function() {
		var _this = this;
		_this.stop();
	}
	this.frame_19 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
	}
	this.frame_38 = function() {
		var _this = this;
		_this.stop();
	}
	this.frame_59 = function() {
		var _this = this;
		_this.stop();
	}

	// actions tween:
	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));

	// Light
	this.instance = new lib.Light_1();
	this.instance.setTransform(217.5,100,1,1,0,0,0,199.5,84);

	this.instance_1 = new lib.titleLight_rolling();
	this.instance_1.setTransform(217.5,100,1,1,0,0,0,199.5,84);

	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));

	// 亮
	this.instance_2 = new lib.亮_14();
	this.instance_2.setTransform(218,102,1,1,0,0,0,218,102);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(60));

	// 不亮
	this.instance_3 = new lib.不亮_14();
	this.instance_3.setTransform(220,108,1,1,0,0,0,214,96);

	this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(60));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,437,204);


(lib.吉點_1 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 吉點
	this.instance = new lib.吉點複製();
	this.instance.setTransform(171,62.5,1,1,0,0,0,171,62.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.吉點_1, new cjs.Rectangle(0,0,342,125), null);


(lib.flag_color = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.flag_B();
	this.instance.setTransform(332,187.5,1,1,0,0,0,332,187.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).to({alpha:0},19,cjs.Ease.quartIn).to({_off:true},1).wait(69));

	// 圖層_2
	this.instance_1 = new lib.flag_P();
	this.instance_1.setTransform(332,187.5,1,1,0,0,0,332,187.5);
	this.instance_1.alpha = 0;
	this.instance_1._off = true;

	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));

	// 圖層_3
	this.instance_2 = new lib.flag_G();
	this.instance_2.setTransform(332,187.5,1,1,0,0,0,332,187.5);
	this.instance_2.alpha = 0;
	this.instance_2._off = true;

	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));

	// 圖層_4
	this.instance_3 = new lib.flag_B();
	this.instance_3.setTransform(332,187.5,1,1,0,0,0,332,187.5);
	this.instance_3.alpha = 0;
	this.instance_3._off = true;

	this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(69).to({_off:false},0).to({alpha:1},19,cjs.Ease.quartOut).wait(1));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,664,375);


(lib.cta_閃爍 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 亮
	this.instance = new lib.亮_13();
	this.instance.setTransform(118.5,118,1,1,0,0,0,118.5,118);

	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));

	// 不亮
	this.instance_1 = new lib.不亮_13();
	this.instance_1.setTransform(119,120,1,1,0,0,0,99,100);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(15));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,237,236);


(lib.checkin_mc = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_1
	this.instance = new lib.checkin_img();
	this.instance.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.checkin_mc, new cjs.Rectangle(0,0,89,89), null);


(lib.備註 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_3 (mask)
	var mask = new cjs.Shape();
	mask._off = true;
	mask.graphics.p("EgyjAH2IAAvrMBlHAAAIAAPrg");
	mask.setTransform(323.575,50.225);

	// 圖層_4
	this.instance = new lib.everyday合併複製();
	this.instance.setTransform(320.95,85.6,1,1,0,0,0,324.5,84.5);

	var maskedShapeInstanceList = [this.instance];

	for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
		maskedShapeInstanceList[shapedInstanceItr].mask = mask;
	}

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.備註, new cjs.Rectangle(0,1.1,647.2,99.30000000000001), null);


(lib.兌換獎品 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 品
	this.instance = new lib.品();
	this.instance.setTransform(200.5,44.5,1,1,0,0,0,44.5,44.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	// 獎
	this.instance_1 = new lib.獎();
	this.instance_1.setTransform(149,44.5,1,1,0,0,0,44,44.5);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(1));

	// 換
	this.instance_2 = new lib.換();
	this.instance_2.setTransform(97.5,44.5,1,1,0,0,0,44.5,44.5);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(1));

	// 兌
	this.instance_3 = new lib.兌();
	this.instance_3.setTransform(44.5,44.5,1,1,0,0,0,44.5,44.5);

	this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.兌換獎品, new cjs.Rectangle(0,0,245,89), null);


(lib.spin = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {"stand":0,"rolling":19,"complete":39};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_18 = function() {
		var _this = this;
		_this.stop();
	}
	this.frame_19 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
		_this.wheel_mc.gotoAndPlay('loop');
	}
	this.frame_38 = function() {
		var _this = this;
		_this.stop();
		
		//_this.wheel_mc.setComplete(0);
	}
	this.frame_59 = function() {
		var _this = this;
		_this.stop();
	}

	// actions tween:
	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));

	// Light
	this.mainSpin_light_mc = new lib.Light();
	this.mainSpin_light_mc.name = "mainSpin_light_mc";
	this.mainSpin_light_mc.setTransform(338.5,343,1,1,0,0,0,306.5,304);

	this.mainSpin_light_mc_1 = new lib.Light_rolling();
	this.mainSpin_light_mc_1.name = "mainSpin_light_mc_1";
	this.mainSpin_light_mc_1.setTransform(338.5,343,1,1,0,0,0,306.5,304);

	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));

	// 框
	this.instance = new lib.wheel_mc_stand();
	this.instance.setTransform(339.55,340.55,1.0001,1.0001,85,0,0,288.7,288.4);

	this.timeline.addTween(cjs.Tween.get(this.instance).to({_off:true},19).wait(41));

	// wheel_mc
	this.wheel_mc = new lib.wheel_mc_rolling();
	this.wheel_mc.name = "wheel_mc";
	this.wheel_mc.setTransform(339.5,340.45,1,1,0,0,0,288.6,288.4);
	this.wheel_mc.alpha = 0;

	this.timeline.addTween(cjs.Tween.get(this.wheel_mc).wait(19).to({x:339.55,alpha:1},0).wait(41));

	// shape
	this.instance_1 = new lib.shape_2();
	this.instance_1.setTransform(338,338.5,1,1,0,0,0,338,338.5);

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(60));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-11.6,-5,700.2,696.1);


(lib.轉按鈕 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {"stand":0,"rolling":19,"complete":39};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_18 = function() {
		var _this = this;
		_this.stop();
	}
	this.frame_38 = function() {
		var _this = this;
		_this.stop();
	}
	this.frame_59 = function() {
		var _this = this;
		_this.stop();
	}

	// actions tween:
	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));

	// 閃爍
	this.instance = new lib.cta_閃爍();
	this.instance.setTransform(118.45,117.95,0.95,0.95,0,0,0,118.5,118);
	this.instance.alpha = 0;

	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));

	// 圖層_3
	this.instance_1 = new lib.不亮_13();
	this.instance_1.setTransform(119.2,120.15,0.95,0.95,0,0,0,99.2,100.2);

	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));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-13.1,-13.1,263.40000000000003,262.40000000000003);


(lib.everyday = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// checkin_mc_6
	this.checkin_mc_6 = new lib.checkin_mc();
	this.checkin_mc_6.name = "checkin_mc_6";
	this.checkin_mc_6.setTransform(542,132.65,1,1,0,0,0,44.5,44.5);
	this.checkin_mc_6.alpha = 0;

	this.timeline.addTween(cjs.Tween.get(this.checkin_mc_6).wait(1));

	// checkin_mc_5
	this.checkin_mc_5 = new lib.checkin_mc();
	this.checkin_mc_5.name = "checkin_mc_5";
	this.checkin_mc_5.setTransform(470.45,132.65,1,1,0,0,0,44.5,44.5);
	this.checkin_mc_5.alpha = 0;

	this.timeline.addTween(cjs.Tween.get(this.checkin_mc_5).wait(1));

	// checkin_mc_4
	this.checkin_mc_4 = new lib.checkin_mc();
	this.checkin_mc_4.name = "checkin_mc_4";
	this.checkin_mc_4.setTransform(398.45,132.65,1,1,0,0,0,44.5,44.5);
	this.checkin_mc_4.alpha = 0;

	this.timeline.addTween(cjs.Tween.get(this.checkin_mc_4).wait(1));

	// checkin_mc_3
	this.checkin_mc_3 = new lib.checkin_mc();
	this.checkin_mc_3.name = "checkin_mc_3";
	this.checkin_mc_3.setTransform(325.85,132.65,1,1,0,0,0,44.5,44.5);
	this.checkin_mc_3.alpha = 0;

	this.timeline.addTween(cjs.Tween.get(this.checkin_mc_3).wait(1));

	// checkin_mc_2
	this.checkin_mc_2 = new lib.checkin_mc();
	this.checkin_mc_2.name = "checkin_mc_2";
	this.checkin_mc_2.setTransform(253.85,132.65,1,1,0,0,0,44.5,44.5);
	this.checkin_mc_2.alpha = 0;

	this.timeline.addTween(cjs.Tween.get(this.checkin_mc_2).wait(1));

	// checkin_mc_1
	this.checkin_mc_1 = new lib.checkin_mc();
	this.checkin_mc_1.name = "checkin_mc_1";
	this.checkin_mc_1.setTransform(180.5,132.5,1,1,0,0,0,44.5,44.5);
	this.checkin_mc_1.alpha = 0;

	this.timeline.addTween(cjs.Tween.get(this.checkin_mc_1).wait(1));

	// checkin_mc_0
	this.checkin_mc_0 = new lib.checkin_mc();
	this.checkin_mc_0.name = "checkin_mc_0";
	this.checkin_mc_0.setTransform(108.5,132.5,1,1,0,0,0,44.5,44.5);
	this.checkin_mc_0.alpha = 0;

	this.timeline.addTween(cjs.Tween.get(this.checkin_mc_0).wait(1));

	// everyday_合併_
	this.instance = new lib.everyday合併_1();
	this.instance.setTransform(324.5,84.5,1,1,0,0,0,324.5,84.5);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.everyday, new cjs.Rectangle(0,0,1110,177.2), null);


(lib.flag_mc = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {"stand":0,"rolling":19,"complete":39};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_18 = function() {
		var _this = this;
		_this.stop();
	}
	this.frame_19 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
	}
	this.frame_27 = function() {
		var _this = this;
		_this.gotoAndPlay('rolling');
	}
	this.frame_59 = function() {
		var _this = this;
		_this.stop();
	}

	// actions tween:
	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));

	// 圖層_2
	this.instance = new lib.flagcolor2();
	this.instance._off = true;

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(24).to({_off:false},0).to({_off:true},4).wait(32));

	// 圖層_1
	this.instance_1 = new lib.flagcolor1();
	this.instance_1._off = true;

	this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(19).to({_off:false},0).to({_off:true},5).wait(36));

	// 圖層_3
	this.instance_2 = new lib.flag_color();
	this.instance_2.setTransform(332,187.5,1,1,0,0,0,332,187.5);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).to({_off:true},19).wait(20).to({_off:false},0).wait(21));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,664,375);


(lib.旗合併拷貝 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// 圖層_3
	this.flag_mc = new lib.flag_mc();
	this.flag_mc.name = "flag_mc";
	this.flag_mc.setTransform(329,183.5,1,1,0,0,0,332,187.5);

	this.timeline.addTween(cjs.Tween.get(this.flag_mc).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.旗合併拷貝, new cjs.Rectangle(-3,-4,664,375), null);


(lib.luckydraw_mc = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {into:1,storeInto:52,storeClose:110};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_0 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
		
		_this.stop();
	}
	this.frame_51 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
		
		_this.stop();
		
		
		
		//_this.mainSpin_mc.gotoAndPlay('rolling');
	}
	this.frame_105 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
		
		_this.stop();
		
		main.storeIntoComplete();
	}
	this.frame_144 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
		
		_this.stop();
		
		main.storeCloseComplete();
	}

	// actions tween:
	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));

	// 備註
	this.instance = new lib.備註();
	this.instance.setTransform(382.05,1912.65,1,1,0,0,0,324.5,55);
	this.instance.alpha = 0;

	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));

	// storeTitle_mc
	this.storeTitle_mc = new lib.兌換獎品();
	this.storeTitle_mc.name = "storeTitle_mc";
	this.storeTitle_mc.setTransform(384.05,1238.15,1,1,0,0,0,122.5,44.5);
	this.storeTitle_mc.alpha = 0;

	this.instance_1 = new lib.備註();
	this.instance_1.setTransform(382.05,1912.65,1,1,0,0,0,324.5,55);
	this.instance_1.alpha = 0;

	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));
	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));

	// storeClose_btn
	this.storeClose_btn = new lib.X();
	this.storeClose_btn.name = "storeClose_btn";
	this.storeClose_btn.setTransform(640.05,1343.65,1,1,0,0,0,29.5,28);
	this.storeClose_btn.alpha = 0;

	this.storeTitle_mc_1 = new lib.兌換獎品();
	this.storeTitle_mc_1.name = "storeTitle_mc_1";
	this.storeTitle_mc_1.setTransform(384.05,1238.15,1,1,0,0,0,122.5,44.5);
	this.storeTitle_mc_1.alpha = 0;

	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));
	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));

	// 已兌換獎項將於7_26重新開放___獎品兌換期限7_31
	this.store_text = new lib.已兌換獎項將於7_26重新開放獎品兌換期限7_31();
	this.store_text.name = "store_text";
	this.store_text.setTransform(384.55,1295.65,1,1,0,0,0,251,20);
	this.store_text.alpha = 0;

	this.storeClose_btn_1 = new lib.X();
	this.storeClose_btn_1.name = "storeClose_btn_1";
	this.storeClose_btn_1.setTransform(640.05,1343.65,1,1,0,0,0,29.5,28);
	this.storeClose_btn_1.alpha = 0;

	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));
	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));

	// storeBox_mc
	this.storeBox_mc = new lib.框_2();
	this.storeBox_mc.name = "storeBox_mc";
	this.storeBox_mc.setTransform(383.55,1617.15,1,1,0,0,0,267,293.5);
	this.storeBox_mc.alpha = 0;

	this.store_text_1 = new lib.已兌換獎項將於7_26重新開放獎品兌換期限7_31();
	this.store_text_1.name = "store_text_1";
	this.store_text_1.setTransform(384.55,1295.65,1,1,0,0,0,251,20);
	this.store_text_1.alpha = 0;

	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));
	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));

	// dalylogin_mc
	this.dalylogin_mc = new lib.everyday();
	this.dalylogin_mc.name = "dalylogin_mc";
	this.dalylogin_mc.setTransform(375.95,1063.95,1,1,0,0,0,324.5,84.5);
	this.dalylogin_mc.alpha = 0;

	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));

	// mainARR_mc
	this.mainARR_mc = new lib.箭頭();
	this.mainARR_mc.name = "mainARR_mc";
	this.mainARR_mc.setTransform(376.35,377.65,0.737,0.737,0,0,0,50.4,55.5);

	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));

	// mainTitle_mc
	this.mainTitle_mc = new lib.天天好運轉();
	this.mainTitle_mc.name = "mainTitle_mc";
	this.mainTitle_mc.setTransform(373.45,341.45,1,1,0,0,0,218,102);

	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));

	// mainCTA_mc
	this.mainCTA_mc = new lib.轉按鈕();
	this.mainCTA_mc.name = "mainCTA_mc";
	this.mainCTA_mc.setTransform(379,648.1,0.8396,0.8396,0,0,0,118.5,118);
	this.mainCTA_mc.alpha = 0;

	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));

	// mainSpin_mc
	this.mainSpin_mc = new lib.spin();
	this.mainSpin_mc.name = "mainSpin_mc";
	this.mainSpin_mc.setTransform(376.45,1057.5,1,1,0,0,0,338,338.5);
	this.mainSpin_mc.alpha = 0;

	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));

	// mainLogo_mc
	this.mainLogo_mc = new lib.遊藝場LOGO();
	this.mainLogo_mc.name = "mainLogo_mc";
	this.mainLogo_mc.setTransform(376.95,204.95,1,1,0,0,0,132.5,66.5);

	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));

	// mainEffect_mc
	this.mainEffect_mc = new lib.旗合併拷貝();
	this.mainEffect_mc.name = "mainEffect_mc";
	this.mainEffect_mc.setTransform(377.1,405.85,0.8443,0.8443,0,0,0,328.6,196.5);

	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));

	// taiwanpay_logo_mc
	this.taiwanpay_logo_mc = new lib.LOGO();
	this.taiwanpay_logo_mc.name = "taiwanpay_logo_mc";
	this.taiwanpay_logo_mc.setTransform(184.95,77.95,1,1,0,0,0,122.5,59.5);

	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));

	// store_mc
	this.store_mc = new lib.兌換_1();
	this.store_mc.name = "store_mc";
	this.store_mc.setTransform(638.45,74.45,1,1,0,0,0,60,64);

	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));

	// point_mc
	this.point_mc = new lib.吉點_1();
	this.point_mc.name = "point_mc";
	this.point_mc.setTransform(507.45,80.95,1,1,0,0,0,171,62.5);

	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));

	// mainStore_mc
	this.mainStore_mc = new lib.帳篷_1();
	this.mainStore_mc.name = "mainStore_mc";
	this.mainStore_mc.setTransform(375.95,631.05,1,1,0,0,0,363.5,530);

	this.timeline.addTween(cjs.Tween.get(this.mainStore_mc).wait(145));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(12.5,-13,1820.5,2040.8);


// stage content:
(lib.gameAni = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {"into":1,"stand":36};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	this.actionFrames = [0,19,36,66];
	// timeline functions:
	this.frame_0 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
		
		//_this.stop();
	}
	this.frame_19 = function() {
		var _this = this;
		
		_this.luckydraw_mc.gotoAndPlay('into');
	}
	this.frame_36 = function() {
		var _this = this;
		_this.stop();
		
		
		/*_this.luckydraw_mc.mainCTA_mc.addEventListener("click", handleClick);
		 function handleClick(event) {
			 
			var _random = Math.floor(Math.random()*3);
			 var _count = 0;
			 
			 if(_random == 0){
				 _count = 0
			 }else if(_random == 1){
				 _count = 6;
			 }else if(_random == 2){
				 _count = 7;
			 }
			 
			 console.log('_random = ' + _random);
			 
		    _this.luckydraw_mc.mainSpin_mc.gotoAndPlay('rolling');
			_this.luckydraw_mc.mainCTA_mc.gotoAndPlay('rolling');
			 _this.luckydraw_mc.mainSpin_mc.wheel_mc.isComplete = false;
			 
			setTimeout(function(){
				_this.luckydraw_mc.mainSpin_mc.wheel_mc.setComplete(_count);
			},500);
		 }*/
	}
	this.frame_66 = function() {
		var _this = this;
		/*
		在時間軸上移動磁頭至指定的影格標籤，並從該影格繼續播放。
		亦可用於主時間軸或影片片段時間軸。
		*/
		
		
		
		/*if(!_this.isComplete){
			_this.gotoAndPlay('loop');
		}else{
			_this.play();
		}*/
		
		_this.stop();
	}

	// actions tween:
	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));

	// luckydraw_mc
	this.luckydraw_mc = new lib.luckydraw_mc();
	this.luckydraw_mc.name = "luckydraw_mc";
	this.luckydraw_mc.setTransform(375,1707,1,1,0,0,0,375,569);

	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));

	// stageBackground
	this.shape = new cjs.Shape();
	this.shape.graphics.f().s("rgba(0,0,0,0)").ss(1,1,1,3,true).p("Eg8JhadMB4TAAAMAAAC07Mh4TAAAg");
	this.shape.setTransform(375,569);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f("rgba(255,255,255,0)").s().p("Eg8JBaeMAAAi07MB4TAAAMAAAC07g");
	this.shape_1.setTransform(375,569);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape_1},{t:this.shape}]}).wait(67));

	this._renderFirstFrame();

}).prototype = p = new lib.AnMovieClip();
p.nominalBounds = new cjs.Rectangle(375,554.9,1458,2611.6);
// library properties:
lib.properties = {
	id: '968CDC3A36AA2347ABE82F0675BD17EC',
	width: 750,
	height: 1138,
	fps: 30,
	color: "#FFFFFF",
	opacity: 0.00,
	manifest: [
		{src:"images/gameAni/gameAni_atlas_1.png?1638154520454", id:"gameAni_atlas_1"}
	],
	preloads: []
};



// bootstrap callback support:

(lib.Stage = function(canvas) {
	createjs.Stage.call(this, canvas);
}).prototype = p = new createjs.Stage();

p.setAutoPlay = function(autoPlay) {
	this.tickEnabled = autoPlay;
}
p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) }
p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; }
p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); }
p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; }

p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; }

an.bootcompsLoaded = an.bootcompsLoaded || [];
if(!an.bootstrapListeners) {
	an.bootstrapListeners=[];
}

an.bootstrapCallback=function(fnCallback) {
	an.bootstrapListeners.push(fnCallback);
	if(an.bootcompsLoaded.length > 0) {
		for(var i=0; i<an.bootcompsLoaded.length; ++i) {
			fnCallback(an.bootcompsLoaded[i]);
		}
	}
};

an.compositions = an.compositions || {};
an.compositions['968CDC3A36AA2347ABE82F0675BD17EC'] = {
	getStage: function() { return exportRoot.stage; },
	getLibrary: function() { return lib; },
	getSpriteSheet: function() { return ss; },
	getImages: function() { return img; }
};

an.compositionLoaded = function(id) {
	an.bootcompsLoaded.push(id);
	for(var j=0; j<an.bootstrapListeners.length; j++) {
		an.bootstrapListeners[j](id);
	}
}

an.getComposition = function(id) {
	return an.compositions[id];
}


an.makeResponsive = function(isResp, respDim, isScale, scaleType, domContainers) {		
	var lastW, lastH, lastS=1;		
	window.addEventListener('resize', resizeCanvas);		
	resizeCanvas();		
	function resizeCanvas() {			
		var w = lib.properties.width, h = lib.properties.height;			
		var iw = window.innerWidth, ih=window.innerHeight;			
		var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1;			
		if(isResp) {                
			if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) {                    
				sRatio = lastS;                
			}				
			else if(!isScale) {					
				if(iw<w || ih<h)						
					sRatio = Math.min(xRatio, yRatio);				
			}				
			else if(scaleType==1) {					
				sRatio = Math.min(xRatio, yRatio);				
			}				
			else if(scaleType==2) {					
				sRatio = Math.max(xRatio, yRatio);				
			}			
		}
		domContainers[0].width = w * pRatio * sRatio;			
		domContainers[0].height = h * pRatio * sRatio;
		domContainers.forEach(function(container) {				
			container.style.width = w * sRatio + 'px';				
			container.style.height = h * sRatio + 'px';			
		});
		stage.scaleX = pRatio*sRatio;			
		stage.scaleY = pRatio*sRatio;
		lastW = iw; lastH = ih; lastS = sRatio;            
		stage.tickOnUpdate = false;            
		stage.update();            
		stage.tickOnUpdate = true;		
	}
}
an.handleSoundStreamOnTick = function(event) {
	if(!event.paused){
		var stageChild = stage.getChildAt(0);
		if(!stageChild.paused || stageChild.ignorePause){
			stageChild.syncStreamSounds();
		}
	}
}


})(createjs = createjs||{}, gameAni = gameAni||{});
var createjs, gameAni;