Section 1
//as_100 (Icecream_fla.as_100)
package Icecream_fla {
import flash.display.*;
public dynamic class as_100 extends MovieClip {
public function as_100(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 2
//as_101 (Icecream_fla.as_101)
package Icecream_fla {
import flash.display.*;
public dynamic class as_101 extends MovieClip {
public function as_101(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 3
//as_102 (Icecream_fla.as_102)
package Icecream_fla {
import flash.display.*;
public dynamic class as_102 extends MovieClip {
public function as_102(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 4
//as_103 (Icecream_fla.as_103)
package Icecream_fla {
import flash.display.*;
public dynamic class as_103 extends MovieClip {
public function as_103(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 5
//as_104 (Icecream_fla.as_104)
package Icecream_fla {
import flash.display.*;
public dynamic class as_104 extends MovieClip {
public function as_104(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 6
//as_106 (Icecream_fla.as_106)
package Icecream_fla {
import flash.display.*;
public dynamic class as_106 extends MovieClip {
public function as_106(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 7
//as_107 (Icecream_fla.as_107)
package Icecream_fla {
import flash.display.*;
public dynamic class as_107 extends MovieClip {
public function as_107(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 8
//as_108 (Icecream_fla.as_108)
package Icecream_fla {
import flash.display.*;
public dynamic class as_108 extends MovieClip {
public function as_108(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 9
//as_109 (Icecream_fla.as_109)
package Icecream_fla {
import flash.display.*;
public dynamic class as_109 extends MovieClip {
public function as_109(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 10
//as_111 (Icecream_fla.as_111)
package Icecream_fla {
import flash.display.*;
public dynamic class as_111 extends MovieClip {
public function as_111(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 11
//as_112 (Icecream_fla.as_112)
package Icecream_fla {
import flash.display.*;
public dynamic class as_112 extends MovieClip {
public function as_112(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 12
//as_113 (Icecream_fla.as_113)
package Icecream_fla {
import flash.display.*;
public dynamic class as_113 extends MovieClip {
public function as_113(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 13
//as_114 (Icecream_fla.as_114)
package Icecream_fla {
import flash.display.*;
public dynamic class as_114 extends MovieClip {
public function as_114(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 14
//as_115 (Icecream_fla.as_115)
package Icecream_fla {
import flash.display.*;
public dynamic class as_115 extends MovieClip {
public function as_115(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 15
//as_116 (Icecream_fla.as_116)
package Icecream_fla {
import flash.display.*;
public dynamic class as_116 extends MovieClip {
public function as_116(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 16
//as_117 (Icecream_fla.as_117)
package Icecream_fla {
import flash.display.*;
public dynamic class as_117 extends MovieClip {
public function as_117(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 17
//as_118 (Icecream_fla.as_118)
package Icecream_fla {
import flash.display.*;
public dynamic class as_118 extends MovieClip {
public function as_118(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 18
//as_119 (Icecream_fla.as_119)
package Icecream_fla {
import flash.display.*;
public dynamic class as_119 extends MovieClip {
public function as_119(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 19
//as_120 (Icecream_fla.as_120)
package Icecream_fla {
import flash.display.*;
public dynamic class as_120 extends MovieClip {
public function as_120(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 20
//as_121 (Icecream_fla.as_121)
package Icecream_fla {
import flash.display.*;
public dynamic class as_121 extends MovieClip {
public function as_121(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 21
//as_124 (Icecream_fla.as_124)
package Icecream_fla {
import flash.display.*;
public dynamic class as_124 extends MovieClip {
public function as_124(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 22
//as_125 (Icecream_fla.as_125)
package Icecream_fla {
import flash.display.*;
public dynamic class as_125 extends MovieClip {
public function as_125(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 23
//as_126 (Icecream_fla.as_126)
package Icecream_fla {
import flash.display.*;
public dynamic class as_126 extends MovieClip {
public function as_126(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 24
//as_128 (Icecream_fla.as_128)
package Icecream_fla {
import flash.display.*;
public dynamic class as_128 extends MovieClip {
public function as_128(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 25
//as_129 (Icecream_fla.as_129)
package Icecream_fla {
import flash.display.*;
public dynamic class as_129 extends MovieClip {
public function as_129(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 26
//as_130 (Icecream_fla.as_130)
package Icecream_fla {
import flash.display.*;
public dynamic class as_130 extends MovieClip {
public function as_130(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 27
//as_131 (Icecream_fla.as_131)
package Icecream_fla {
import flash.display.*;
public dynamic class as_131 extends MovieClip {
public function as_131(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 28
//as_132 (Icecream_fla.as_132)
package Icecream_fla {
import flash.display.*;
public dynamic class as_132 extends MovieClip {
public function as_132(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 29
//as_141 (Icecream_fla.as_141)
package Icecream_fla {
import flash.display.*;
public dynamic class as_141 extends MovieClip {
public function as_141(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 30
//as_142 (Icecream_fla.as_142)
package Icecream_fla {
import flash.display.*;
public dynamic class as_142 extends MovieClip {
public function as_142(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 31
//as_143 (Icecream_fla.as_143)
package Icecream_fla {
import flash.display.*;
public dynamic class as_143 extends MovieClip {
public function as_143(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 32
//as_144 (Icecream_fla.as_144)
package Icecream_fla {
import flash.display.*;
public dynamic class as_144 extends MovieClip {
public function as_144(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 33
//as_145 (Icecream_fla.as_145)
package Icecream_fla {
import flash.display.*;
public dynamic class as_145 extends MovieClip {
public function as_145(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 34
//as_146 (Icecream_fla.as_146)
package Icecream_fla {
import flash.display.*;
public dynamic class as_146 extends MovieClip {
public function as_146(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 35
//as_147 (Icecream_fla.as_147)
package Icecream_fla {
import flash.display.*;
public dynamic class as_147 extends MovieClip {
public function as_147(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 36
//as_148 (Icecream_fla.as_148)
package Icecream_fla {
import flash.display.*;
public dynamic class as_148 extends MovieClip {
public function as_148(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 37
//as_149 (Icecream_fla.as_149)
package Icecream_fla {
import flash.display.*;
public dynamic class as_149 extends MovieClip {
public function as_149(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 38
//as_150 (Icecream_fla.as_150)
package Icecream_fla {
import flash.display.*;
public dynamic class as_150 extends MovieClip {
public function as_150(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 39
//as_151 (Icecream_fla.as_151)
package Icecream_fla {
import flash.display.*;
public dynamic class as_151 extends MovieClip {
public function as_151(){
addFrameScript(25, frame26);
}
function frame26(){
stop();
}
}
}//package Icecream_fla
Section 40
//as_153 (Icecream_fla.as_153)
package Icecream_fla {
import flash.display.*;
public dynamic class as_153 extends MovieClip {
public function as_153(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 41
//as_154 (Icecream_fla.as_154)
package Icecream_fla {
import flash.display.*;
public dynamic class as_154 extends MovieClip {
public function as_154(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 42
//as_155 (Icecream_fla.as_155)
package Icecream_fla {
import flash.display.*;
public dynamic class as_155 extends MovieClip {
public function as_155(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 43
//as_156 (Icecream_fla.as_156)
package Icecream_fla {
import flash.display.*;
public dynamic class as_156 extends MovieClip {
public function as_156(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 44
//as_157 (Icecream_fla.as_157)
package Icecream_fla {
import flash.display.*;
public dynamic class as_157 extends MovieClip {
public function as_157(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 45
//as_158 (Icecream_fla.as_158)
package Icecream_fla {
import flash.display.*;
public dynamic class as_158 extends MovieClip {
public function as_158(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 46
//as_159 (Icecream_fla.as_159)
package Icecream_fla {
import flash.display.*;
public dynamic class as_159 extends MovieClip {
public function as_159(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 47
//as_160 (Icecream_fla.as_160)
package Icecream_fla {
import flash.display.*;
public dynamic class as_160 extends MovieClip {
public function as_160(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 48
//as_161 (Icecream_fla.as_161)
package Icecream_fla {
import flash.display.*;
public dynamic class as_161 extends MovieClip {
public function as_161(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 49
//as_162 (Icecream_fla.as_162)
package Icecream_fla {
import flash.display.*;
public dynamic class as_162 extends MovieClip {
public function as_162(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 50
//as_163 (Icecream_fla.as_163)
package Icecream_fla {
import flash.display.*;
public dynamic class as_163 extends MovieClip {
public function as_163(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 51
//as_165 (Icecream_fla.as_165)
package Icecream_fla {
import flash.display.*;
public dynamic class as_165 extends MovieClip {
public function as_165(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 52
//as_166 (Icecream_fla.as_166)
package Icecream_fla {
import flash.display.*;
public dynamic class as_166 extends MovieClip {
public function as_166(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 53
//as_167 (Icecream_fla.as_167)
package Icecream_fla {
import flash.display.*;
public dynamic class as_167 extends MovieClip {
public function as_167(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 54
//as_168 (Icecream_fla.as_168)
package Icecream_fla {
import flash.display.*;
public dynamic class as_168 extends MovieClip {
public function as_168(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 55
//as_169 (Icecream_fla.as_169)
package Icecream_fla {
import flash.display.*;
public dynamic class as_169 extends MovieClip {
public function as_169(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 56
//as_170 (Icecream_fla.as_170)
package Icecream_fla {
import flash.display.*;
public dynamic class as_170 extends MovieClip {
public function as_170(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 57
//as_171 (Icecream_fla.as_171)
package Icecream_fla {
import flash.display.*;
public dynamic class as_171 extends MovieClip {
public function as_171(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 58
//as_172 (Icecream_fla.as_172)
package Icecream_fla {
import flash.display.*;
public dynamic class as_172 extends MovieClip {
public function as_172(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 59
//as_173 (Icecream_fla.as_173)
package Icecream_fla {
import flash.display.*;
public dynamic class as_173 extends MovieClip {
public function as_173(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 60
//as_174 (Icecream_fla.as_174)
package Icecream_fla {
import flash.display.*;
public dynamic class as_174 extends MovieClip {
public function as_174(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 61
//as_175 (Icecream_fla.as_175)
package Icecream_fla {
import flash.display.*;
public dynamic class as_175 extends MovieClip {
public function as_175(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Icecream_fla
Section 62
//as_178 (Icecream_fla.as_178)
package Icecream_fla {
import flash.display.*;
public dynamic class as_178 extends MovieClip {
public function as_178(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 63
//as_179 (Icecream_fla.as_179)
package Icecream_fla {
import flash.display.*;
public dynamic class as_179 extends MovieClip {
public function as_179(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 64
//as_180 (Icecream_fla.as_180)
package Icecream_fla {
import flash.display.*;
public dynamic class as_180 extends MovieClip {
public function as_180(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 65
//as_181 (Icecream_fla.as_181)
package Icecream_fla {
import flash.display.*;
public dynamic class as_181 extends MovieClip {
public function as_181(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 66
//as_182 (Icecream_fla.as_182)
package Icecream_fla {
import flash.display.*;
public dynamic class as_182 extends MovieClip {
public function as_182(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 67
//as_184 (Icecream_fla.as_184)
package Icecream_fla {
import flash.display.*;
public dynamic class as_184 extends MovieClip {
public function as_184(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 68
//as_185 (Icecream_fla.as_185)
package Icecream_fla {
import flash.display.*;
public dynamic class as_185 extends MovieClip {
public function as_185(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 69
//as_186 (Icecream_fla.as_186)
package Icecream_fla {
import flash.display.*;
public dynamic class as_186 extends MovieClip {
public function as_186(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 70
//as_187 (Icecream_fla.as_187)
package Icecream_fla {
import flash.display.*;
public dynamic class as_187 extends MovieClip {
public function as_187(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 71
//as_189 (Icecream_fla.as_189)
package Icecream_fla {
import flash.display.*;
public dynamic class as_189 extends MovieClip {
public function as_189(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 72
//as_190 (Icecream_fla.as_190)
package Icecream_fla {
import flash.display.*;
public dynamic class as_190 extends MovieClip {
public function as_190(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 73
//as_191 (Icecream_fla.as_191)
package Icecream_fla {
import flash.display.*;
public dynamic class as_191 extends MovieClip {
public function as_191(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 74
//as_192 (Icecream_fla.as_192)
package Icecream_fla {
import flash.display.*;
public dynamic class as_192 extends MovieClip {
public function as_192(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 75
//as_193 (Icecream_fla.as_193)
package Icecream_fla {
import flash.display.*;
public dynamic class as_193 extends MovieClip {
public function as_193(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 76
//as_194 (Icecream_fla.as_194)
package Icecream_fla {
import flash.display.*;
public dynamic class as_194 extends MovieClip {
public function as_194(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 77
//as_195 (Icecream_fla.as_195)
package Icecream_fla {
import flash.display.*;
public dynamic class as_195 extends MovieClip {
public function as_195(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 78
//as_197 (Icecream_fla.as_197)
package Icecream_fla {
import flash.display.*;
public dynamic class as_197 extends MovieClip {
public function as_197(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 79
//as_198 (Icecream_fla.as_198)
package Icecream_fla {
import flash.display.*;
public dynamic class as_198 extends MovieClip {
public function as_198(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 80
//as_199 (Icecream_fla.as_199)
package Icecream_fla {
import flash.display.*;
public dynamic class as_199 extends MovieClip {
public function as_199(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 81
//as_62 (Icecream_fla.as_62)
package Icecream_fla {
import flash.display.*;
public dynamic class as_62 extends MovieClip {
public function as_62(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 82
//as_65 (Icecream_fla.as_65)
package Icecream_fla {
import flash.display.*;
public dynamic class as_65 extends MovieClip {
public function as_65(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 83
//as_68 (Icecream_fla.as_68)
package Icecream_fla {
import flash.display.*;
public dynamic class as_68 extends MovieClip {
public function as_68(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 84
//as_70 (Icecream_fla.as_70)
package Icecream_fla {
import flash.display.*;
public dynamic class as_70 extends MovieClip {
public function as_70(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 85
//as_72 (Icecream_fla.as_72)
package Icecream_fla {
import flash.display.*;
public dynamic class as_72 extends MovieClip {
public function as_72(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 86
//as_74 (Icecream_fla.as_74)
package Icecream_fla {
import flash.display.*;
public dynamic class as_74 extends MovieClip {
public function as_74(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 87
//as_76 (Icecream_fla.as_76)
package Icecream_fla {
import flash.display.*;
public dynamic class as_76 extends MovieClip {
public function as_76(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 88
//as_78 (Icecream_fla.as_78)
package Icecream_fla {
import flash.display.*;
public dynamic class as_78 extends MovieClip {
public function as_78(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 89
//as_80 (Icecream_fla.as_80)
package Icecream_fla {
import flash.display.*;
public dynamic class as_80 extends MovieClip {
public function as_80(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 90
//as_82 (Icecream_fla.as_82)
package Icecream_fla {
import flash.display.*;
public dynamic class as_82 extends MovieClip {
public function as_82(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 91
//as_84 (Icecream_fla.as_84)
package Icecream_fla {
import flash.display.*;
public dynamic class as_84 extends MovieClip {
public function as_84(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 92
//as_87 (Icecream_fla.as_87)
package Icecream_fla {
import flash.display.*;
public dynamic class as_87 extends MovieClip {
public function as_87(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 93
//as_88 (Icecream_fla.as_88)
package Icecream_fla {
import flash.display.*;
public dynamic class as_88 extends MovieClip {
public function as_88(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 94
//as_89 (Icecream_fla.as_89)
package Icecream_fla {
import flash.display.*;
public dynamic class as_89 extends MovieClip {
public function as_89(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 95
//as_90 (Icecream_fla.as_90)
package Icecream_fla {
import flash.display.*;
public dynamic class as_90 extends MovieClip {
public function as_90(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 96
//as_91 (Icecream_fla.as_91)
package Icecream_fla {
import flash.display.*;
public dynamic class as_91 extends MovieClip {
public function as_91(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 97
//as_92 (Icecream_fla.as_92)
package Icecream_fla {
import flash.display.*;
public dynamic class as_92 extends MovieClip {
public function as_92(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 98
//as_93 (Icecream_fla.as_93)
package Icecream_fla {
import flash.display.*;
public dynamic class as_93 extends MovieClip {
public function as_93(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 99
//as_94 (Icecream_fla.as_94)
package Icecream_fla {
import flash.display.*;
public dynamic class as_94 extends MovieClip {
public function as_94(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 100
//as_95 (Icecream_fla.as_95)
package Icecream_fla {
import flash.display.*;
public dynamic class as_95 extends MovieClip {
public function as_95(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 101
//as_96 (Icecream_fla.as_96)
package Icecream_fla {
import flash.display.*;
public dynamic class as_96 extends MovieClip {
public function as_96(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 102
//as_97 (Icecream_fla.as_97)
package Icecream_fla {
import flash.display.*;
public dynamic class as_97 extends MovieClip {
public function as_97(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package Icecream_fla
Section 103
//as_99 (Icecream_fla.as_99)
package Icecream_fla {
import flash.display.*;
public dynamic class as_99 extends MovieClip {
public function as_99(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 104
//as10ordre5counter_133 (Icecream_fla.as10ordre5counter_133)
package Icecream_fla {
import flash.display.*;
public dynamic class as10ordre5counter_133 extends MovieClip {
public function as10ordre5counter_133(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 105
//as6order3counter_105 (Icecream_fla.as6order3counter_105)
package Icecream_fla {
import flash.display.*;
public dynamic class as6order3counter_105 extends MovieClip {
public function as6order3counter_105(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 106
//as6order4tbale_183 (Icecream_fla.as6order4tbale_183)
package Icecream_fla {
import flash.display.*;
public dynamic class as6order4tbale_183 extends MovieClip {
public function as6order4tbale_183(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 107
//as7order5table_196 (Icecream_fla.as7order5table_196)
package Icecream_fla {
import flash.display.*;
public dynamic class as7order5table_196 extends MovieClip {
public function as7order5table_196(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package Icecream_fla
Section 108
//asgoto4table_177 (Icecream_fla.asgoto4table_177)
package Icecream_fla {
import flash.display.*;
public dynamic class asgoto4table_177 extends MovieClip {
public function asgoto4table_177(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Icecream_fla
Section 109
//asgoto5counter_123 (Icecream_fla.asgoto5counter_123)
package Icecream_fla {
import flash.display.*;
public dynamic class asgoto5counter_123 extends MovieClip {
public function asgoto5counter_123(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package Icecream_fla
Section 110
//assistantgoto1storder_61 (Icecream_fla.assistantgoto1storder_61)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto1storder_61 extends MovieClip {
public var pickorder1:MovieClip;
public function assistantgoto1storder_61(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 111
//assistantgoto1sttable_134 (Icecream_fla.assistantgoto1sttable_134)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto1sttable_134 extends MovieClip {
public function assistantgoto1sttable_134(){
addFrameScript(26, frame27);
}
function frame27(){
stop();
}
}
}//package Icecream_fla
Section 112
//assistantgoto2ndorder_86 (Icecream_fla.assistantgoto2ndorder_86)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto2ndorder_86 extends MovieClip {
public var pickorder1:MovieClip;
public function assistantgoto2ndorder_86(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 113
//assistantgoto2ndtable_136 (Icecream_fla.assistantgoto2ndtable_136)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto2ndtable_136 extends MovieClip {
public function assistantgoto2ndtable_136(){
addFrameScript(32, frame33);
}
function frame33(){
stop();
}
}
}//package Icecream_fla
Section 114
//assistantgoto3rdorder_98 (Icecream_fla.assistantgoto3rdorder_98)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto3rdorder_98 extends MovieClip {
public var pickorder1:MovieClip;
public function assistantgoto3rdorder_98(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 115
//assistantgoto3rdtable_137 (Icecream_fla.assistantgoto3rdtable_137)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto3rdtable_137 extends MovieClip {
public function assistantgoto3rdtable_137(){
addFrameScript(32, frame33);
}
function frame33(){
stop();
}
}
}//package Icecream_fla
Section 116
//assistantgoto4thorder_110 (Icecream_fla.assistantgoto4thorder_110)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto4thorder_110 extends MovieClip {
public var pickorder1:MovieClip;
public function assistantgoto4thorder_110(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 117
//assistantgoto4thtable_138 (Icecream_fla.assistantgoto4thtable_138)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto4thtable_138 extends MovieClip {
public function assistantgoto4thtable_138(){
addFrameScript(32, frame33);
}
function frame33(){
stop();
}
}
}//package Icecream_fla
Section 118
//assistantgoto5thorder_122 (Icecream_fla.assistantgoto5thorder_122)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto5thorder_122 extends MovieClip {
public var pickorder1:MovieClip;
public function assistantgoto5thorder_122(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 119
//assistantgoto5thtable_139 (Icecream_fla.assistantgoto5thtable_139)
package Icecream_fla {
import flash.display.*;
public dynamic class assistantgoto5thtable_139 extends MovieClip {
public function assistantgoto5thtable_139(){
addFrameScript(35, frame36);
}
function frame36(){
stop();
}
}
}//package Icecream_fla
Section 120
//boyangry_361 (Icecream_fla.boyangry_361)
package Icecream_fla {
import flash.display.*;
public dynamic class boyangry_361 extends MovieClip {
public function boyangry_361(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 121
//boysmile_360 (Icecream_fla.boysmile_360)
package Icecream_fla {
import flash.display.*;
public dynamic class boysmile_360 extends MovieClip {
public function boysmile_360(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 122
//boywithmenu_359 (Icecream_fla.boywithmenu_359)
package Icecream_fla {
import flash.display.*;
public dynamic class boywithmenu_359 extends MovieClip {
public function boywithmenu_359(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 123
//chefinbank_50 (Icecream_fla.chefinbank_50)
package Icecream_fla {
import flash.display.*;
public dynamic class chefinbank_50 extends MovieClip {
public function chefinbank_50(){
addFrameScript(72, frame73);
}
function frame73(){
stop();
}
}
}//package Icecream_fla
Section 124
//chefwithbutterscotchice_44 (Icecream_fla.chefwithbutterscotchice_44)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithbutterscotchice_44 extends MovieClip {
public function chefwithbutterscotchice_44(){
addFrameScript(64, frame65);
}
function frame65(){
stop();
}
}
}//package Icecream_fla
Section 125
//chefwithchocolate_38 (Icecream_fla.chefwithchocolate_38)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithchocolate_38 extends MovieClip {
public function chefwithchocolate_38(){
addFrameScript(72, frame73);
}
function frame73(){
stop();
}
}
}//package Icecream_fla
Section 126
//chefwithcoladrink_46 (Icecream_fla.chefwithcoladrink_46)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithcoladrink_46 extends MovieClip {
public function chefwithcoladrink_46(){
addFrameScript(44, frame45);
}
function frame45(){
stop();
}
}
}//package Icecream_fla
Section 127
//chefwithmangodrink_49 (Icecream_fla.chefwithmangodrink_49)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithmangodrink_49 extends MovieClip {
public function chefwithmangodrink_49(){
addFrameScript(72, frame73);
}
function frame73(){
stop();
}
}
}//package Icecream_fla
Section 128
//chefwithmangoice_42 (Icecream_fla.chefwithmangoice_42)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithmangoice_42 extends MovieClip {
public function chefwithmangoice_42(){
addFrameScript(59, frame60);
}
function frame60(){
stop();
}
}
}//package Icecream_fla
Section 129
//chefwithmintice_45 (Icecream_fla.chefwithmintice_45)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithmintice_45 extends MovieClip {
public function chefwithmintice_45(){
addFrameScript(59, frame60);
}
function frame60(){
stop();
}
}
}//package Icecream_fla
Section 130
//chefwithphone_53 (Icecream_fla.chefwithphone_53)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithphone_53 extends MovieClip {
public function chefwithphone_53(){
addFrameScript(82, frame83);
}
function frame83(){
stop();
}
}
}//package Icecream_fla
Section 131
//chefwithreddrink_48 (Icecream_fla.chefwithreddrink_48)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithreddrink_48 extends MovieClip {
public function chefwithreddrink_48(){
addFrameScript(64, frame65);
}
function frame65(){
stop();
}
}
}//package Icecream_fla
Section 132
//chefwithsodadrink_47 (Icecream_fla.chefwithsodadrink_47)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithsodadrink_47 extends MovieClip {
public function chefwithsodadrink_47(){
addFrameScript(61, frame62);
}
function frame62(){
stop();
}
}
}//package Icecream_fla
Section 133
//chefwithstrawbreeyice_41 (Icecream_fla.chefwithstrawbreeyice_41)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithstrawbreeyice_41 extends MovieClip {
public function chefwithstrawbreeyice_41(){
addFrameScript(72, frame73);
}
function frame73(){
stop();
}
}
}//package Icecream_fla
Section 134
//chefwithvanillaice_40 (Icecream_fla.chefwithvanillaice_40)
package Icecream_fla {
import flash.display.*;
public dynamic class chefwithvanillaice_40 extends MovieClip {
public function chefwithvanillaice_40(){
addFrameScript(73, frame74);
}
function frame74(){
stop();
}
}
}//package Icecream_fla
Section 135
//clock_201 (Icecream_fla.clock_201)
package Icecream_fla {
import flash.display.*;
public dynamic class clock_201 extends MovieClip {
public var arrow1:MovieClip;
public var arrow2:MovieClip;
}
}//package Icecream_fla
Section 136
//cold1throwout_343 (Icecream_fla.cold1throwout_343)
package Icecream_fla {
import flash.display.*;
public dynamic class cold1throwout_343 extends MovieClip {
public function cold1throwout_343(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package Icecream_fla
Section 137
//cold2throwout_345 (Icecream_fla.cold2throwout_345)
package Icecream_fla {
import flash.display.*;
public dynamic class cold2throwout_345 extends MovieClip {
public function cold2throwout_345(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
}
}
}//package Icecream_fla
Section 138
//cold3throwout_347 (Icecream_fla.cold3throwout_347)
package Icecream_fla {
import flash.display.*;
public dynamic class cold3throwout_347 extends MovieClip {
public function cold3throwout_347(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package Icecream_fla
Section 139
//Cold4throwout_349 (Icecream_fla.Cold4throwout_349)
package Icecream_fla {
import flash.display.*;
public dynamic class Cold4throwout_349 extends MovieClip {
public function Cold4throwout_349(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package Icecream_fla
Section 140
//collegeleadywithmenu_311 (Icecream_fla.collegeleadywithmenu_311)
package Icecream_fla {
import flash.display.*;
public dynamic class collegeleadywithmenu_311 extends MovieClip {
public function collegeleadywithmenu_311(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 141
//colleggirlangry_313 (Icecream_fla.colleggirlangry_313)
package Icecream_fla {
import flash.display.*;
public dynamic class colleggirlangry_313 extends MovieClip {
public function colleggirlangry_313(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 142
//colleggirsmile_312 (Icecream_fla.colleggirsmile_312)
package Icecream_fla {
import flash.display.*;
public dynamic class colleggirsmile_312 extends MovieClip {
public function colleggirsmile_312(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 143
//collegstudentangry_407 (Icecream_fla.collegstudentangry_407)
package Icecream_fla {
import flash.display.*;
public dynamic class collegstudentangry_407 extends MovieClip {
public function collegstudentangry_407(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 144
//collegstudentsmile_405 (Icecream_fla.collegstudentsmile_405)
package Icecream_fla {
import flash.display.*;
public dynamic class collegstudentsmile_405 extends MovieClip {
public function collegstudentsmile_405(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 145
//drinkcounter1_211 (Icecream_fla.drinkcounter1_211)
package Icecream_fla {
import flash.display.*;
public dynamic class drinkcounter1_211 extends MovieClip {
public function drinkcounter1_211(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 146
//drinkCounter2_212 (Icecream_fla.drinkCounter2_212)
package Icecream_fla {
import flash.display.*;
public dynamic class drinkCounter2_212 extends MovieClip {
public function drinkCounter2_212(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 147
//drinkCounter3_213 (Icecream_fla.drinkCounter3_213)
package Icecream_fla {
import flash.display.*;
public dynamic class drinkCounter3_213 extends MovieClip {
public function drinkCounter3_213(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 148
//drinkCounter4_214 (Icecream_fla.drinkCounter4_214)
package Icecream_fla {
import flash.display.*;
public dynamic class drinkCounter4_214 extends MovieClip {
public function drinkCounter4_214(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 149
//femalekidbodyleft_256 (Icecream_fla.femalekidbodyleft_256)
package Icecream_fla {
import flash.display.*;
public dynamic class femalekidbodyleft_256 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public var still:MovieClip;
public function femalekidbodyleft_256(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 150
//femalekidbodyright_270 (Icecream_fla.femalekidbodyright_270)
package Icecream_fla {
import flash.display.*;
public dynamic class femalekidbodyright_270 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public var still:MovieClip;
public function femalekidbodyright_270(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 151
//femaleofficerbodyleft_274 (Icecream_fla.femaleofficerbodyleft_274)
package Icecream_fla {
import flash.display.*;
public dynamic class femaleofficerbodyleft_274 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function femaleofficerbodyleft_274(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 152
//femaleofficerbodyright_285 (Icecream_fla.femaleofficerbodyright_285)
package Icecream_fla {
import flash.display.*;
public dynamic class femaleofficerbodyright_285 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function femaleofficerbodyright_285(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 153
//femalestudentbodyleft_305 (Icecream_fla.femalestudentbodyleft_305)
package Icecream_fla {
import flash.display.*;
public dynamic class femalestudentbodyleft_305 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public var still:MovieClip;
public function femalestudentbodyleft_305(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 154
//femalestudentbodyright_315 (Icecream_fla.femalestudentbodyright_315)
package Icecream_fla {
import flash.display.*;
public dynamic class femalestudentbodyright_315 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function femalestudentbodyright_315(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 155
//femeleofficerightsmilebody_282 (Icecream_fla.femeleofficerightsmilebody_282)
package Icecream_fla {
import flash.display.*;
public dynamic class femeleofficerightsmilebody_282 extends MovieClip {
public function femeleofficerightsmilebody_282(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 156
//flashanimation_5 (Icecream_fla.flashanimation_5)
package Icecream_fla {
import flash.display.*;
public dynamic class flashanimation_5 extends MovieClip {
public function flashanimation_5(){
addFrameScript(94, frame95);
}
function frame95(){
stop();
}
}
}//package Icecream_fla
Section 157
//forba_283 (Icecream_fla.forba_283)
package Icecream_fla {
import flash.display.*;
public dynamic class forba_283 extends MovieClip {
public function forba_283(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 158
//girlangry_268 (Icecream_fla.girlangry_268)
package Icecream_fla {
import flash.display.*;
public dynamic class girlangry_268 extends MovieClip {
public function girlangry_268(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 159
//girlsmile_266 (Icecream_fla.girlsmile_266)
package Icecream_fla {
import flash.display.*;
public dynamic class girlsmile_266 extends MovieClip {
public function girlsmile_266(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 160
//GLASS_215 (Icecream_fla.GLASS_215)
package Icecream_fla {
import flash.display.*;
public dynamic class GLASS_215 extends MovieClip {
public var foodshield:MovieClip;
}
}//package Icecream_fla
Section 161
//highscore_444 (Icecream_fla.highscore_444)
package Icecream_fla {
import flash.display.*;
import flash.text.*;
public dynamic class highscore_444 extends MovieClip {
public var score1:TextField;
public var score5:TextField;
public var score10:TextField;
public var backhs:SimpleButton;
public var score6:TextField;
public var date1:TextField;
public var date2:TextField;
public var date3:TextField;
public var date6:TextField;
public var date7:TextField;
public var playmorehs:SimpleButton;
public var date5:TextField;
public var date9:TextField;
public var player1:TextField;
public var player2:TextField;
public var player6:TextField;
public var player7:TextField;
public var player8:TextField;
public var player5:TextField;
public var date4:TextField;
public var date8:TextField;
public var player3:TextField;
public var player9:TextField;
public var player4:TextField;
public var date10:TextField;
public var player10:TextField;
public var score2:TextField;
public var score3:TextField;
public var score7:TextField;
public var score8:TextField;
public var score9:TextField;
public var score4:TextField;
}
}//package Icecream_fla
Section 162
//ice1throwout_331 (Icecream_fla.ice1throwout_331)
package Icecream_fla {
import flash.display.*;
public dynamic class ice1throwout_331 extends MovieClip {
public function ice1throwout_331(){
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Icecream_fla
Section 163
//ice2throwout_333 (Icecream_fla.ice2throwout_333)
package Icecream_fla {
import flash.display.*;
public dynamic class ice2throwout_333 extends MovieClip {
public function ice2throwout_333(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
}
}
}//package Icecream_fla
Section 164
//ice3throwout_335 (Icecream_fla.ice3throwout_335)
package Icecream_fla {
import flash.display.*;
public dynamic class ice3throwout_335 extends MovieClip {
public function ice3throwout_335(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package Icecream_fla
Section 165
//ice4throwout_337 (Icecream_fla.ice4throwout_337)
package Icecream_fla {
import flash.display.*;
public dynamic class ice4throwout_337 extends MovieClip {
public function ice4throwout_337(){
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package Icecream_fla
Section 166
//ice5throwout_339 (Icecream_fla.ice5throwout_339)
package Icecream_fla {
import flash.display.*;
public dynamic class ice5throwout_339 extends MovieClip {
public function ice5throwout_339(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
}
}
}//package Icecream_fla
Section 167
//ice6throwout_341 (Icecream_fla.ice6throwout_341)
package Icecream_fla {
import flash.display.*;
public dynamic class ice6throwout_341 extends MovieClip {
public function ice6throwout_341(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
}
}
}//package Icecream_fla
Section 168
//IceCounter1_205 (Icecream_fla.IceCounter1_205)
package Icecream_fla {
import flash.display.*;
public dynamic class IceCounter1_205 extends MovieClip {
public function IceCounter1_205(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 169
//IceCounter2_206 (Icecream_fla.IceCounter2_206)
package Icecream_fla {
import flash.display.*;
public dynamic class IceCounter2_206 extends MovieClip {
public function IceCounter2_206(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame13(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
function frame11(){
stop();
}
}
}//package Icecream_fla
Section 170
//IceCounter3_207 (Icecream_fla.IceCounter3_207)
package Icecream_fla {
import flash.display.*;
public dynamic class IceCounter3_207 extends MovieClip {
public function IceCounter3_207(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 171
//IceCounter4_208 (Icecream_fla.IceCounter4_208)
package Icecream_fla {
import flash.display.*;
public dynamic class IceCounter4_208 extends MovieClip {
public function IceCounter4_208(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 172
//IceCounter5_209 (Icecream_fla.IceCounter5_209)
package Icecream_fla {
import flash.display.*;
public dynamic class IceCounter5_209 extends MovieClip {
public function IceCounter5_209(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 173
//IceCounter6_210 (Icecream_fla.IceCounter6_210)
package Icecream_fla {
import flash.display.*;
public dynamic class IceCounter6_210 extends MovieClip {
public function IceCounter6_210(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 174
//instructionScreen_448 (Icecream_fla.instructionScreen_448)
package Icecream_fla {
import flash.display.*;
public dynamic class instructionScreen_448 extends MovieClip {
public var playmore:SimpleButton;
public var backintro:SimpleButton;
}
}//package Icecream_fla
Section 175
//ladypolicebodyleft_289 (Icecream_fla.ladypolicebodyleft_289)
package Icecream_fla {
import flash.display.*;
public dynamic class ladypolicebodyleft_289 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public var still:MovieClip;
public function ladypolicebodyleft_289(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 176
//ladypolicebodyright_301 (Icecream_fla.ladypolicebodyright_301)
package Icecream_fla {
import flash.display.*;
public dynamic class ladypolicebodyright_301 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public var still:MovieClip;
public function ladypolicebodyright_301(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 177
//leadyofficerredeingmenu_280 (Icecream_fla.leadyofficerredeingmenu_280)
package Icecream_fla {
import flash.display.*;
public dynamic class leadyofficerredeingmenu_280 extends MovieClip {
public function leadyofficerredeingmenu_280(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 178
//leadypoliceangry_299 (Icecream_fla.leadypoliceangry_299)
package Icecream_fla {
import flash.display.*;
public dynamic class leadypoliceangry_299 extends MovieClip {
public function leadypoliceangry_299(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 179
//LEADYPOLICELEG_288 (Icecream_fla.LEADYPOLICELEG_288)
package Icecream_fla {
import flash.display.*;
public dynamic class LEADYPOLICELEG_288 extends MovieClip {
public function LEADYPOLICELEG_288(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 180
//leadypolicesmile_298 (Icecream_fla.leadypolicesmile_298)
package Icecream_fla {
import flash.display.*;
public dynamic class leadypolicesmile_298 extends MovieClip {
public function leadypolicesmile_298(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 181
//leadypolicewithmenu_297 (Icecream_fla.leadypolicewithmenu_297)
package Icecream_fla {
import flash.display.*;
public dynamic class leadypolicewithmenu_297 extends MovieClip {
public function leadypolicewithmenu_297(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 182
//legdisappear_413 (Icecream_fla.legdisappear_413)
package Icecream_fla {
import flash.display.*;
public dynamic class legdisappear_413 extends MovieClip {
public function legdisappear_413(){
addFrameScript(249, frame250);
}
function frame250(){
stop();
}
}
}//package Icecream_fla
Section 183
//LogoAniFlashA_320 (Icecream_fla.LogoAniFlashA_320)
package Icecream_fla {
import flash.display.*;
public dynamic class LogoAniFlashA_320 extends MovieClip {
public function LogoAniFlashA_320(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package Icecream_fla
Section 184
//malekidbodyleft_355 (Icecream_fla.malekidbodyleft_355)
package Icecream_fla {
import flash.display.*;
public dynamic class malekidbodyleft_355 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public var still:MovieClip;
public function malekidbodyleft_355(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 185
//malekidbodyright_363 (Icecream_fla.malekidbodyright_363)
package Icecream_fla {
import flash.display.*;
public dynamic class malekidbodyright_363 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public var still:MovieClip;
public function malekidbodyright_363(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 186
//maleofficerbodyleft_367 (Icecream_fla.maleofficerbodyleft_367)
package Icecream_fla {
import flash.display.*;
public dynamic class maleofficerbodyleft_367 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function maleofficerbodyleft_367(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 187
//maleofficerbodyright_383 (Icecream_fla.maleofficerbodyright_383)
package Icecream_fla {
import flash.display.*;
public dynamic class maleofficerbodyright_383 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public var still:MovieClip;
public function maleofficerbodyright_383(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 188
//malepolicebodyleft_387 (Icecream_fla.malepolicebodyleft_387)
package Icecream_fla {
import flash.display.*;
public dynamic class malepolicebodyleft_387 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function malepolicebodyleft_387(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 189
//malepolicebodyright_397 (Icecream_fla.malepolicebodyright_397)
package Icecream_fla {
import flash.display.*;
public dynamic class malepolicebodyright_397 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function malepolicebodyright_397(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 190
//malestudentbodyleft_401 (Icecream_fla.malestudentbodyleft_401)
package Icecream_fla {
import flash.display.*;
public dynamic class malestudentbodyleft_401 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function malestudentbodyleft_401(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 191
//malestudentbodyright_409 (Icecream_fla.malestudentbodyright_409)
package Icecream_fla {
import flash.display.*;
public dynamic class malestudentbodyright_409 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function malestudentbodyright_409(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 192
//menucardwithstudentBoy_404 (Icecream_fla.menucardwithstudentBoy_404)
package Icecream_fla {
import flash.display.*;
public dynamic class menucardwithstudentBoy_404 extends MovieClip {
public function menucardwithstudentBoy_404(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 193
//officerangry_381 (Icecream_fla.officerangry_381)
package Icecream_fla {
import flash.display.*;
public dynamic class officerangry_381 extends MovieClip {
public function officerangry_381(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 194
//officersmile_379 (Icecream_fla.officersmile_379)
package Icecream_fla {
import flash.display.*;
public dynamic class officersmile_379 extends MovieClip {
public function officersmile_379(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 195
//officerwithmenu_377 (Icecream_fla.officerwithmenu_377)
package Icecream_fla {
import flash.display.*;
public dynamic class officerwithmenu_377 extends MovieClip {
public function officerwithmenu_377(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 196
//oldleadyangry_439 (Icecream_fla.oldleadyangry_439)
package Icecream_fla {
import flash.display.*;
public dynamic class oldleadyangry_439 extends MovieClip {
public function oldleadyangry_439(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 197
//oldleadysmile_438 (Icecream_fla.oldleadysmile_438)
package Icecream_fla {
import flash.display.*;
public dynamic class oldleadysmile_438 extends MovieClip {
public function oldleadysmile_438(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 198
//oldleadywithmenu_437 (Icecream_fla.oldleadywithmenu_437)
package Icecream_fla {
import flash.display.*;
public dynamic class oldleadywithmenu_437 extends MovieClip {
public function oldleadywithmenu_437(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 199
//oldmanangry_424 (Icecream_fla.oldmanangry_424)
package Icecream_fla {
import flash.display.*;
public dynamic class oldmanangry_424 extends MovieClip {
public function oldmanangry_424(){
addFrameScript(100, frame101);
}
function frame101(){
stop();
}
}
}//package Icecream_fla
Section 200
//oldmanbodyleft_414 (Icecream_fla.oldmanbodyleft_414)
package Icecream_fla {
import flash.display.*;
public dynamic class oldmanbodyleft_414 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function oldmanbodyleft_414(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 201
//oldmanbodyright_426 (Icecream_fla.oldmanbodyright_426)
package Icecream_fla {
import flash.display.*;
public dynamic class oldmanbodyright_426 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function oldmanbodyright_426(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 202
//oldmansmile_422 (Icecream_fla.oldmansmile_422)
package Icecream_fla {
import flash.display.*;
public dynamic class oldmansmile_422 extends MovieClip {
public function oldmansmile_422(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 203
//oldmanwating_415 (Icecream_fla.oldmanwating_415)
package Icecream_fla {
import flash.display.*;
public dynamic class oldmanwating_415 extends MovieClip {
public var head:MovieClip;
}
}//package Icecream_fla
Section 204
//oldmanwithmenu_421 (Icecream_fla.oldmanwithmenu_421)
package Icecream_fla {
import flash.display.*;
public dynamic class oldmanwithmenu_421 extends MovieClip {
public function oldmanwithmenu_421(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 205
//oldwomanbodyleft_430 (Icecream_fla.oldwomanbodyleft_430)
package Icecream_fla {
import flash.display.*;
public dynamic class oldwomanbodyleft_430 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function oldwomanbodyleft_430(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 206
//oldwomanbodyright_441 (Icecream_fla.oldwomanbodyright_441)
package Icecream_fla {
import flash.display.*;
public dynamic class oldwomanbodyright_441 extends MovieClip {
public var smile:MovieClip;
public var read:MovieClip;
public var angry:MovieClip;
public var hitarea:MovieClip;
public function oldwomanbodyright_441(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package Icecream_fla
Section 207
//orderplaceto1sttable_140 (Icecream_fla.orderplaceto1sttable_140)
package Icecream_fla {
import flash.display.*;
public dynamic class orderplaceto1sttable_140 extends MovieClip {
public var serving1:MovieClip;
public function orderplaceto1sttable_140(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame5(){
stop();
}
}
}//package Icecream_fla
Section 208
//orderplaceto2ndtable_152 (Icecream_fla.orderplaceto2ndtable_152)
package Icecream_fla {
import flash.display.*;
public dynamic class orderplaceto2ndtable_152 extends MovieClip {
public var serving1:MovieClip;
public function orderplaceto2ndtable_152(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame5(){
stop();
}
}
}//package Icecream_fla
Section 209
//orderplaceto3rdtable_164 (Icecream_fla.orderplaceto3rdtable_164)
package Icecream_fla {
import flash.display.*;
public dynamic class orderplaceto3rdtable_164 extends MovieClip {
public var serving1:MovieClip;
public function orderplaceto3rdtable_164(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame5(){
stop();
}
}
}//package Icecream_fla
Section 210
//orderplaceto4thtable_176 (Icecream_fla.orderplaceto4thtable_176)
package Icecream_fla {
import flash.display.*;
public dynamic class orderplaceto4thtable_176 extends MovieClip {
public var serving1:MovieClip;
public function orderplaceto4thtable_176(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame5(){
stop();
}
}
}//package Icecream_fla
Section 211
//orderplaceto5thtable_188 (Icecream_fla.orderplaceto5thtable_188)
package Icecream_fla {
import flash.display.*;
public dynamic class orderplaceto5thtable_188 extends MovieClip {
public var serving1:MovieClip;
public function orderplaceto5thtable_188(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame5(){
stop();
}
}
}//package Icecream_fla
Section 212
//policemanangry_395 (Icecream_fla.policemanangry_395)
package Icecream_fla {
import flash.display.*;
public dynamic class policemanangry_395 extends MovieClip {
public function policemanangry_395(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Icecream_fla
Section 213
//policereadmenu_393 (Icecream_fla.policereadmenu_393)
package Icecream_fla {
import flash.display.*;
public dynamic class policereadmenu_393 extends MovieClip {
public function policereadmenu_393(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 214
//policesmile_394 (Icecream_fla.policesmile_394)
package Icecream_fla {
import flash.display.*;
public dynamic class policesmile_394 extends MovieClip {
public function policesmile_394(){
addFrameScript(100, frame101);
}
function frame101(){
stop();
}
}
}//package Icecream_fla
Section 215
//smallgirlwithmenu_264 (Icecream_fla.smallgirlwithmenu_264)
package Icecream_fla {
import flash.display.*;
public dynamic class smallgirlwithmenu_264 extends MovieClip {
public function smallgirlwithmenu_264(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Icecream_fla
Section 216
//statesbar_240 (Icecream_fla.statesbar_240)
package Icecream_fla {
import flash.display.*;
import flash.text.*;
public dynamic class statesbar_240 extends MovieClip {
public var totalMoney:TextField;
public var dollars:TextField;
public var dayCount:TextField;
}
}//package Icecream_fla
Section 217
//total_mc_2 (Icecream_fla.total_mc_2)
package Icecream_fla {
import flash.display.*;
public dynamic class total_mc_2 extends MovieClip {
public function total_mc_2(){
addFrameScript(179, frame180);
}
function frame180(){
stop();
}
}
}//package Icecream_fla
Section 218
//wellcomescreen_450 (Icecream_fla.wellcomescreen_450)
package Icecream_fla {
import flash.display.*;
public dynamic class wellcomescreen_450 extends MovieClip {
public var highscore:SimpleButton;
public var intro:SimpleButton;
public var playGame:SimpleButton;
public var playmore:SimpleButton;
public var addMore:SimpleButton;
}
}//package Icecream_fla
Section 219
//Assistant (Assistant)
package {
import flash.display.*;
import flash.events.*;
public class Assistant extends MovieClip {
public var serving:MovieClip;
private var tablename:String;// = null
private var currentCustomer:Customer;// = null
private var currentSlotIndex:int;// = -1
private var currentOrderIndex:int;// = 0
public var isServing:Boolean;// = false
public var isValidServing:Boolean;// = false
private var mcCurrentItem:Item;// = null
public var pickorder:MovieClip;
public var isActive:Boolean;// = false
private var currentTableIndex:int;// = 0
public var givemenu:MovieClip;
public function Assistant(){
isActive = false;
isServing = false;
isValidServing = false;
currentOrderIndex = 0;
currentTableIndex = 0;
currentSlotIndex = -1;
tablename = null;
mcCurrentItem = null;
currentCustomer = null;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16);
}
public function onClickDustbin(_arg1:MouseEvent){
var _local2:int;
if (isActive == false){
if (mcCurrentItem != null){
if (MainClass.bg.tray.contains(mcCurrentItem)){
MainClass.bg.chef.removeItemListener(mcCurrentItem);
_local2 = MainClass.bg.tray.getChildIndex(mcCurrentItem);
MainClass.bg.chef.emptySlot(currentSlotIndex);
MainClass.bg.tray.removeChild(mcCurrentItem);
mcCurrentItem.x = MainClass.bg.dustbin.x;
mcCurrentItem.y = (MainClass.bg.dustbin.y - 20);
MainClass.bg.addChild(mcCurrentItem);
mcCurrentItem.currentStatus = Item.DUSTBIN_STATE;
mcCurrentItem.gotoAndStop(2);
currentSlotIndex = -1;
clearOrderData();
};
};
};
}
function frame9(){
stop();
}
public function setSlotIndex(_arg1:int){
this.currentSlotIndex = _arg1;
}
public function gotoStill(){
isActive = false;
gotoAndStop("stand");
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame12(){
stop();
}
public function clearOrderData(){
if (currentCustomer != null){
if (isValidServing){
if (currentCustomer.currentAction != Customer.ANGRY){
currentCustomer.gotoSmile();
};
} else {
currentCustomer.gotoAngry();
};
};
isServing = false;
currentOrderIndex = -1;
currentTableIndex = -1;
mcCurrentItem = null;
currentCustomer = null;
tablename = null;
currentSlotIndex = -1;
gotoStill();
removeEventListener(Event.ENTER_FRAME, onEnterFrame);
}
function frame3(){
stop();
}
public function gotoMenu(){
gotoAndStop(("menu" + currentTableIndex));
isActive = true;
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame6(){
stop();
}
public function set setCurrentOrderIndex(_arg1:int){
this.currentOrderIndex = _arg1;
}
public function resetAssistant(){
isActive = false;
isServing = false;
isValidServing = false;
currentOrderIndex = -1;
currentTableIndex = -1;
currentSlotIndex = -1;
tablename = null;
mcCurrentItem = null;
currentCustomer = null;
gotoAndStop("still");
removeEventListener(Event.ENTER_FRAME, onEnterFrame);
}
function frame8(){
stop();
}
public function onAssitantMainFrame(_arg1:Event){
if ((((this.currentFrame >= 2)) && ((this.currentFrame <= 6)))){
if (this.pickorder != null){
this.pickorder.gotoAndStop(currentOrderIndex);
removeEventListener(Event.ENTER_FRAME, onAssitantMainFrame);
addEventListener(Event.ENTER_FRAME, onEnterFramePickOrder);
};
};
if ((((this.currentFrame >= 12)) && ((this.currentFrame <= totalFrames)))){
if (this.serving != null){
this.serving.gotoAndStop(currentOrderIndex);
removeEventListener(Event.ENTER_FRAME, onAssitantMainFrame);
addEventListener(Event.ENTER_FRAME, onEnterFrame);
};
};
}
public function gotoPickOrder(){
var _local1:int;
if (currentSlotIndex == -1){
return;
};
_local1 = (currentSlotIndex + 1);
gotoAndStop(("order" + _local1));
MainClass.bg.chef.emptySlot(currentSlotIndex);
addEventListener(Event.ENTER_FRAME, onAssitantMainFrame);
isActive = true;
}
function frame5(){
stop();
}
function frame15(){
stop();
}
public function set setCurrentTableIndex(_arg1:int){
this.currentTableIndex = _arg1;
}
public function onEnterFramePickOrder(_arg1:Event){
var _local2:int;
if (this.pickorder == null){
return;
};
if ((((this.currentFrame >= 2)) && ((this.currentFrame <= 6)))){
if (this.pickorder.pickorder1.currentFrame == 15){
if (MainClass.bg.tray.contains(mcCurrentItem)){
MainClass.bg.chef.removeItemListener(mcCurrentItem);
_local2 = MainClass.bg.tray.getChildIndex(mcCurrentItem);
MainClass.bg.tray.removeChild(mcCurrentItem);
};
};
if (this.pickorder.pickorder1.currentFrame == this.pickorder.pickorder1.totalFrames){
this.pickorder.pickorder1.gotoAndStop(1);
removeEventListener(Event.ENTER_FRAME, onEnterFramePickOrder);
gotoServe();
};
};
}
public function set mcItem(_arg1:Item){
this.mcCurrentItem = _arg1;
}
public function setCustomer(_arg1:Customer){
this.currentCustomer = _arg1;
}
function frame4(){
stop();
}
public function setCurrentTableName(_arg1:String){
this.tablename = _arg1;
}
function frame11(){
stop();
}
function frame16(){
stop();
}
public function onEnterFrame(_arg1:Event){
var _local2:Table;
var _local3:uint;
if ((((this.currentFrame >= 12)) && ((this.currentFrame <= totalFrames)))){
if (this.serving.serving1.currentFrame == 15){
if (mcCurrentItem == null){
trace(" Error!! Current item is null");
return;
};
_local2 = (MainClass.bg.getChildByName(tablename) as Table);
if (_local2 == null){
trace(" Error!! Table is null");
} else {
if (currentCustomer.body.parent != null){
_local2.addChild(mcCurrentItem);
_local3 = currentCustomer.getChairSide();
if (_local3 == -1){
trace(" Error !! chair side is -1 ");
};
if (currentCustomer == null){
trace(" Error !! Current customer is null");
} else {
currentCustomer.setServedItem(mcCurrentItem);
mcCurrentItem.x = GParams.servingPoints[currentTableIndex][_local3].x;
mcCurrentItem.y = GParams.servingPoints[currentTableIndex][_local3].y;
};
};
};
};
if (this.serving.serving1.currentFrame == this.serving.serving1.totalFrames){
this.serving.serving1.gotoAndStop(1);
gotoStill();
clearOrderData();
removeEventListener(Event.ENTER_FRAME, onEnterFrame);
};
};
if (this.givemenu != null){
if ((((this.currentFrame >= 7)) || ((this.currentFrame <= 11)))){
if (this.givemenu.currentFrame == this.givemenu.totalFrames){
if (currentCustomer != null){
currentCustomer.gotoMenu();
this.givemenu.gotoAndStop(1);
gotoStill();
currentCustomer = null;
removeEventListener(Event.ENTER_FRAME, onEnterFrame);
};
};
};
};
}
public function getSlotIndex(_arg1:int):int{
return ((this.currentSlotIndex = _arg1));
}
function frame13(){
stop();
}
public function get mcItem():Item{
return (mcCurrentItem);
}
public function gotoServe(){
gotoAndStop(tablename);
isActive = true;
addEventListener(Event.ENTER_FRAME, onAssitantMainFrame);
}
public function addListenerOnEnterFrame(){
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
function frame2(){
stop();
}
}
}//package
Section 220
//BG (BG)
package {
import flash.display.*;
public class BG extends Sprite {
public var chair0:Chair1;
public var chair1:Chair0;
public var chair2:Chair3;
public var clock:MovieClip;
public var chair4:Chair5;
public var chair5:Chair4;
public var chair7:Chair7;
public var chair8:Chair8;
public var chair6:Chair6;
public var chair9:Chair9;
public var chair3:Chair2;
public var table1:Table;
public var table3:Table;
public var table0:Table;
public var table2:Table;
public var table4:Table;
public var bank:MovieClip;
public var platform:MovieClip;
public var item10:MovieClip;
public var stats:MovieClip;
public var hitareaphone:MovieClip;
public var hitareabank:MovieClip;
public var hitareaitem1:MovieClip;
public var hitareaitem2:MovieClip;
public var hitareaitem3:MovieClip;
public var hitareaitem4:MovieClip;
public var hitareaitem6:MovieClip;
public var hitareaitem7:MovieClip;
public var hitareaitem8:MovieClip;
public var hitareaitem5:MovieClip;
public var hitareaitem9:MovieClip;
public var hitareaitem10:MovieClip;
public var assistant1:Assistant;
public var dustbin:MovieClip;
public var tray:MovieClip;
public var wait0:WaitingBar;
public var wait2:WaitingBar;
public var wait4:WaitingBar;
public var wait7:WaitingBar;
public var wait8:WaitingBar;
public var wait9:WaitingBar;
public var wait3:WaitingBar;
public var wait5:WaitingBar;
public var wait1:WaitingBar;
public var phone:MovieClip;
public var wait6:WaitingBar;
public var item2:MovieClip;
public var item4:MovieClip;
public var item5:MovieClip;
public var item6:MovieClip;
public var item7:MovieClip;
public var item1:MovieClip;
public var item3:MovieClip;
public var item9:MovieClip;
public var item8:MovieClip;
public var chef:Chef;
}
}//package
Section 221
//BGSound (BGSound)
package {
import flash.media.*;
public dynamic class BGSound extends Sound {
}
}//package
Section 222
//BubbleItem1 (BubbleItem1)
package {
import flash.display.*;
public dynamic class BubbleItem1 extends MovieClip {
public function BubbleItem1(){
addFrameScript(128, frame129);
}
function frame129(){
stop();
}
}
}//package
Section 223
//BubbleItem10 (BubbleItem10)
package {
import flash.display.*;
public dynamic class BubbleItem10 extends MovieClip {
public function BubbleItem10(){
addFrameScript(89, frame90);
}
function frame90(){
stop();
}
}
}//package
Section 224
//BubbleItem2 (BubbleItem2)
package {
import flash.display.*;
public dynamic class BubbleItem2 extends MovieClip {
public function BubbleItem2(){
addFrameScript(89, frame90);
}
function frame90(){
stop();
}
}
}//package
Section 225
//BubbleItem3 (BubbleItem3)
package {
import flash.display.*;
public dynamic class BubbleItem3 extends MovieClip {
public function BubbleItem3(){
addFrameScript(89, frame90);
}
function frame90(){
stop();
}
}
}//package
Section 226
//BubbleItem4 (BubbleItem4)
package {
import flash.display.*;
public dynamic class BubbleItem4 extends MovieClip {
public function BubbleItem4(){
addFrameScript(89, frame90);
}
function frame90(){
stop();
}
}
}//package
Section 227
//BubbleItem5 (BubbleItem5)
package {
import flash.display.*;
public dynamic class BubbleItem5 extends MovieClip {
public function BubbleItem5(){
addFrameScript(89, frame90);
}
function frame90(){
stop();
}
}
}//package
Section 228
//BubbleItem6 (BubbleItem6)
package {
import flash.display.*;
public dynamic class BubbleItem6 extends MovieClip {
public function BubbleItem6(){
addFrameScript(89, frame90);
}
function frame90(){
stop();
}
}
}//package
Section 229
//BubbleItem7 (BubbleItem7)
package {
import flash.display.*;
public dynamic class BubbleItem7 extends MovieClip {
public function BubbleItem7(){
addFrameScript(89, frame90);
}
function frame90(){
stop();
}
}
}//package
Section 230
//BubbleItem8 (BubbleItem8)
package {
import flash.display.*;
public dynamic class BubbleItem8 extends MovieClip {
public function BubbleItem8(){
addFrameScript(89, frame90);
}
function frame90(){
stop();
}
}
}//package
Section 231
//BubbleItem9 (BubbleItem9)
package {
import flash.display.*;
public dynamic class BubbleItem9 extends MovieClip {
public function BubbleItem9(){
addFrameScript(89, frame90);
}
function frame90(){
stop();
}
}
}//package
Section 232
//Chair (Chair)
package {
import flash.display.*;
import flash.events.*;
public class Chair extends MovieClip {
public var chairIndex:int;// = -1
public var customerLeg:MovieClip;// = null
private var tablename:String;// = null
public var customerBody:MovieClip;// = null
private var tableIndex:int;// = -1
private var customer:Customer;// = null
public function Chair(){
customer = null;
tableIndex = -1;
chairIndex = -1;
tablename = null;
customerBody = null;
customerLeg = null;
super();
}
public function init(_arg1:int, _arg2:int){
if (customerBody == null){
customerBody = new MovieClip();
};
if (customerLeg == null){
customerLeg = new MovieClip();
};
this.tableIndex = _arg1;
this.chairIndex = _arg2;
tablename = new String(("table" + this.tableIndex));
customer = null;
}
public function getCustomer():Customer{
return (customer);
}
public function getTableIndex():int{
return (tableIndex);
}
public function addCustomer(_arg1:Customer){
customerBody.addChild(_arg1.body);
customerBody.name = (_arg1.customerIndex.toString() + (chairIndex % 2).toString());
customerLeg.addChild(_arg1.leg);
this.customer = _arg1;
customer.setChairIndex(chairIndex, this);
}
public function reinit(){
customer = null;
}
public function getTableName():String{
return (tablename);
}
public function onClickCustomer(_arg1:MouseEvent){
if (MainClass.bg.assistant1.isActive){
return;
};
if (customer.currentAction == Customer.STILL){
if (MainClass.bg.assistant1.mcItem == null){
if (customer.getCurrentOrder() == -1){
MainClass.bg.assistant1.setCurrentTableIndex = tableIndex;
MainClass.bg.assistant1.setCurrentTableName(tablename);
MainClass.bg.assistant1.setCustomer(customer);
MainClass.bg.assistant1.gotoMenu();
} else {
customer.showbubble = true;
};
} else {
MainClass.bg.assistant1.setCurrentTableIndex = tableIndex;
MainClass.bg.assistant1.setCurrentTableName(tablename);
MainClass.bg.assistant1.setCustomer(customer);
MainClass.bg.assistant1.isValidServing = customer.validateServing();
MainClass.bg.assistant1.gotoPickOrder();
};
};
}
}
}//package
Section 233
//Chair0 (Chair0)
package {
public dynamic class Chair0 extends Chair {
}
}//package
Section 234
//Chair1 (Chair1)
package {
public dynamic class Chair1 extends Chair {
}
}//package
Section 235
//Chair2 (Chair2)
package {
public dynamic class Chair2 extends Chair {
}
}//package
Section 236
//Chair3 (Chair3)
package {
public dynamic class Chair3 extends Chair {
}
}//package
Section 237
//Chair4 (Chair4)
package {
public dynamic class Chair4 extends Chair {
}
}//package
Section 238
//Chair5 (Chair5)
package {
public dynamic class Chair5 extends Chair {
}
}//package
Section 239
//Chair6 (Chair6)
package {
public dynamic class Chair6 extends Chair {
}
}//package
Section 240
//Chair7 (Chair7)
package {
public dynamic class Chair7 extends Chair {
}
}//package
Section 241
//Chair8 (Chair8)
package {
public dynamic class Chair8 extends Chair {
}
}//package
Section 242
//Chair9 (Chair9)
package {
public dynamic class Chair9 extends Chair {
}
}//package
Section 243
//Chef (Chef)
package {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
public class Chef extends MovieClip {
private var lastSelectedItem:Item;// = null
public var prepare1:MovieClip;
public var prepare2:MovieClip;
public var prepare3:MovieClip;
public var prepare4:MovieClip;
public var prepare5:MovieClip;
public var prepare6:MovieClip;
public var prepare7:MovieClip;
public var prepare9:MovieClip;
public var prepare8:MovieClip;
private var preperationContainers:Array;
public var bank:MovieClip;
private var preperationPoints:Array;
private var deliveryProgresCountMax:uint;// = 200
private var loanProcessingCount:uint;// = 0
private var nextPreperationIndex:int;// = 0
private var loanProcessingCountMax:uint;// = 200
private var deliveryProgressCount:uint;// = 0
public var prepare10:MovieClip;
public var phone:MovieClip;
private var currentItemsQueue:Array;
private var isDeliveryProgress:Boolean;// = false
private var childName:String;// = null
private var isLoanProcessing:Boolean;// = false
private var preperationIndex:uint;// = 0
public var isPreparing:Boolean;// = false
private static var item10Index:int = -1;
private static var itemArrayLength:uint = 10;
private static var item10Array:Array = new Array(itemArrayLength);
private static var item6Index:int = -1;
private static var item2Index:int = -1;
private static var item6Array:Array = new Array(itemArrayLength);
private static var item2Array:Array = new Array(itemArrayLength);
private static var item7Index:int = -1;
private static var item3Index:int = -1;
private static var item7Array:Array = new Array(itemArrayLength);
private static var item3Array:Array = new Array(itemArrayLength);
private static var item8Index:int = -1;
private static var item4Index:int = -1;
private static var item8Array:Array = new Array(itemArrayLength);
private static var item4Array:Array = new Array(itemArrayLength);
private static var item9Index:int = -1;
private static var item5Index:int = -1;
private static var item9Array:Array = new Array(itemArrayLength);
private static var item1Index:int = -1;
private static var item5Array:Array = new Array(itemArrayLength);
private static var item1Array:Array = new Array(itemArrayLength);
public function Chef(){
var _local1:uint;
isPreparing = false;
childName = null;
preperationIndex = 0;
preperationContainers = new Array(4);
preperationPoints = new Array(new Point(80, 5), new Point(40, 20), new Point(-50, 20), new Point(-90, 5));
nextPreperationIndex = 0;
currentItemsQueue = new Array();
lastSelectedItem = null;
deliveryProgressCount = 0;
deliveryProgresCountMax = 200;
isDeliveryProgress = false;
loanProcessingCount = 0;
loanProcessingCountMax = 200;
isLoanProcessing = false;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13);
_local1 = 0;
while (_local1 < preperationContainers.length) {
preperationContainers[_local1] = new PreparationContainer();
preperationContainers[_local1].init(preperationPoints[_local1]);
_local1++;
};
}
public function reduceQuantity():Boolean{
var _local1:MovieClip;
var _local2:int;
if (preperationIndex <= 10){
_local1 = (MainClass.bg.getChildByName(("item" + preperationIndex)) as MovieClip);
if (_local1 != null){
_local2 = (_local1.currentFrame + 1);
if (_local2 == _local1.totalFrames){
return (false);
};
_local1.gotoAndStop(_local2);
};
};
return (true);
}
private function getEmptySlot():int{
var _local1:uint;
nextPreperationIndex = ((nextPreperationIndex + 1) % preperationContainers.length);
if (preperationContainers[nextPreperationIndex].isAlloted == false){
preperationContainers[nextPreperationIndex].isAlloted = true;
return (nextPreperationIndex);
};
_local1 = 0;
while (_local1 < preperationContainers.length) {
if (preperationContainers[_local1].isAlloted == false){
preperationContainers[_local1].isAlloted = true;
return (_local1);
};
_local1++;
};
return (-1);
}
function frame10(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame5(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame11(){
stop();
}
function frame13(){
stop();
}
function frame9(){
stop();
}
function frame2(){
stop();
}
function frame8(){
stop();
}
public function onEnterFrame(_arg1:Event){
var _local2:MovieClip;
var _local3:int;
var _local4:Item;
if (childName != null){
_local2 = (this.getChildByName(childName) as MovieClip);
if (_local2 != null){
if (currentFrame < 12){
if (_local2.currentFrame == Math.floor((_local2.totalFrames / 2))){
if (reduceQuantity() == false){
_local2.gotoAndStop(1);
gotoAndStop("still");
isPreparing = false;
childName = null;
return;
};
};
};
if (_local2.currentFrame == _local2.totalFrames){
isPreparing = false;
childName = null;
if (currentFrame == 12){
isLoanProcessing = true;
_local2.gotoAndStop(1);
gotoAndStop("still");
return;
};
if (currentFrame == 13){
isDeliveryProgress = true;
gotoAndStop("still");
_local2.gotoAndStop(1);
return;
};
gotoAndStop("still");
_local2.gotoAndStop(1);
_local3 = getEmptySlot();
_local4 = getPreparedItem(preperationIndex);
currentItemsQueue.push(_local4);
if (_local3 != -1){
addOnTray(_local3, _local4);
} else {
trace(" Error!! slot is not free. Cannot add the item");
};
};
};
};
if (isDeliveryProgress){
deliveryProgressCount = (deliveryProgressCount + 1);
if (deliveryProgressCount == deliveryProgresCountMax){
isDeliveryProgress = false;
deliveryProgressCount = 0;
fillItems();
};
};
if (isLoanProcessing){
loanProcessingCount = (loanProcessingCount + 1);
if (loanProcessingCount == loanProcessingCountMax){
isLoanProcessing = false;
loanProcessingCount = 0;
addLoanAmount();
};
};
manageItems();
}
public function addLoanAmount(){
MainClass.loanTakenAmount = (MainClass.loanTakenAmount + GParams.loanAmount);
MainClass.loanInHand = (MainClass.loanInHand + GParams.loanAmount);
MainClass.bg.stats.loantaken.text = MainClass.loanTakenAmount.toString();
MainClass.bg.stats.unusedloan.text = MainClass.loanInHand.toString();
}
public function emptySlot(_arg1:int){
if (_arg1 == -1){
return;
};
preperationContainers[_arg1].isAlloted = false;
}
public function init(){
gotoAndStop(1);
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
public function onMouseClick(_arg1:MouseEvent){
var _local2:Item;
var _local3:String;
_arg1.stopImmediatePropagation();
if (MainClass.bg.assistant1.isActive){
return;
};
_local2 = (_arg1.target as Item);
_local3 = ("order" + _local2.slotIndex);
MainClass.bg.assistant1.setCurrentOrderIndex = _local2.itemIndex;
MainClass.bg.assistant1.setSlotIndex(_local2.slotIndex);
MainClass.bg.assistant1.mcItem = _local2;
}
private function manageItems(){
var _local1:uint;
var _local2:int;
var _local3:Item;
var _local4:Array;
_local1 = 0;
while (_local1 < currentItemsQueue.length) {
if (currentItemsQueue[_local1].currentStatus == Item.UNCOOKED_STATE){
_local2 = getEmptySlot();
if (_local2 != -1){
addOnTray(_local2, currentItemsQueue[_local1]);
};
} else {
if (currentItemsQueue[_local1].currentStatus == Item.PREPARED_STATE){
} else {
if (currentItemsQueue[_local1].currentStatus == Item.SERVED_STATE){
if (currentItemsQueue[_local1].disappear != null){
if (currentItemsQueue[_local1].disappear.currentFrame == currentItemsQueue[_local1].disappear.totalFrames){
if (MainClass.bg.contains(currentItemsQueue[_local1])){
MainClass.bg.removeChild(currentItemsQueue[_local1]);
currentItemsQueue[_local1].disappear.gotoAndStop(1);
currentItemsQueue[_local1].currentStatus = Item.UNCOOKED_STATE;
currentItemsQueue.splice(_local1, 1);
};
};
} else {
trace(" Error !! disappeear state of current item is null");
};
} else {
if (currentItemsQueue[_local1].currentStatus == Item.DUSTBIN_STATE){
if (currentItemsQueue[_local1].dustbin != null){
if (currentItemsQueue[_local1].dustbin.currentFrame == currentItemsQueue[_local1].dustbin.totalFrames){
if (MainClass.bg.contains(currentItemsQueue[_local1])){
MainClass.bg.removeChild(currentItemsQueue[_local1]);
_local3 = currentItemsQueue[_local1];
_local4 = currentItemsQueue.splice(_local1, 1);
_local3.dustbin.gotoAndStop(1);
_local3.gotoAndStop(1);
};
};
};
};
};
};
};
_local1++;
};
}
private function getPreparedItem(_arg1:uint):Item{
switch (_arg1){
case 1:
return (getItem1());
case 2:
return (getItem2());
case 3:
return (getItem3());
case 4:
return (getItem4());
case 5:
return (getItem5());
case 6:
return (getItem6());
case 7:
return (getItem7());
case 8:
return (getItem8());
case 9:
return (getItem9());
case 10:
return (getItem10());
};
return (null);
}
public function set preparedItemIndex(_arg1:uint){
this.preperationIndex = _arg1;
}
public function removeItemListener(_arg1:Item){
_arg1.removeEventListener(MouseEvent.CLICK, onMouseClick);
_arg1.buttonMode = false;
}
public function set preperationName(_arg1:String){
this.childName = _arg1;
}
public function resetChef(){
var _local1:int;
_local1 = currentItemsQueue.length;
for (;_local1 >= 0;_local1--) {
if (currentItemsQueue[_local1] == null){
trace(" Error!! ");
} else {
if (currentItemsQueue[_local1].currentStatus == Item.UNCOOKED_STATE){
currentItemsQueue.splice(_local1, 1);
continue;
} else {
if (MainClass.bg.tray.contains(currentItemsQueue[_local1])){
MainClass.bg.tray.removeChild(currentItemsQueue[_local1]);
} else {
if (currentItemsQueue[_local1].parent != null){
currentItemsQueue[_local1].parent.removeChild(currentItemsQueue[_local1]);
currentItemsQueue.splice(_local1, 1);
};
continue;
};
};
};
};
_local1 = 0;
while (_local1 < preperationContainers.length) {
preperationContainers[_local1].isAlloted = false;
_local1++;
};
nextPreperationIndex = -1;
lastSelectedItem = null;
isPreparing = false;
childName = null;
preperationIndex = 0;
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function addOnTray(_arg1:int, _arg2:Item){
(MainClass.bg.tray.addChild(_arg2) as Item);
_arg2.x = preperationContainers[_arg1].position.x;
_arg2.y = preperationContainers[_arg1].position.y;
_arg2.itemIndex = preperationIndex;
_arg2.addEventListener(MouseEvent.CLICK, onMouseClick, false, 0, true);
_arg2.buttonMode = true;
_arg2.slotIndex = _arg1;
_arg2.currentStatus = Item.PREPARED_STATE;
}
public function fillItems(){
var _local1:uint;
var _local2:MovieClip;
_local1 = 1;
while (_local1 <= 10) {
_local2 = (MainClass.bg.getChildByName(("item" + _local1)) as MovieClip);
if (_local2 != null){
_local2.gotoAndStop(1);
} else {
trace(" Error. movieclip is null");
};
_local1++;
};
}
public static function getItem1():Item1{
item1Index = ((item1Index + 1) % item1Array.length);
if (item1Array[item1Index] == null){
item1Array[item1Index] = new Item1();
};
item1Array[item1Index].itemIndex = 1;
item1Array[item1Index].currentStatus = Item.UNCOOKED_STATE;
return (item1Array[item1Index]);
}
public static function getItem2():Item2{
item2Index = ((item2Index + 1) % item2Array.length);
if (item2Array[item2Index] == null){
item2Array[item2Index] = new Item2();
};
item2Array[item2Index].itemIndex = 1;
item2Array[item2Index].currentStatus = Item.UNCOOKED_STATE;
return (item2Array[item2Index]);
}
public static function getItem3():Item3{
item3Index = ((item3Index + 1) % item3Array.length);
if (item3Array[item3Index] == null){
item3Array[item3Index] = new Item3();
};
item3Array[item3Index].itemIndex = 3;
item3Array[item3Index].currentStatus = Item.UNCOOKED_STATE;
return (item3Array[item3Index]);
}
public static function getItem4():Item4{
item4Index = ((item4Index + 1) % item4Array.length);
if (item4Array[item4Index] == null){
item4Array[item4Index] = new Item4();
};
item4Array[item4Index].itemIndex = 4;
item4Array[item4Index].currentStatus = Item.UNCOOKED_STATE;
return (item4Array[item4Index]);
}
public static function getItem5():Item5{
item5Index = ((item5Index + 1) % item5Array.length);
if (item5Array[item5Index] == null){
item5Array[item5Index] = new Item5();
};
item5Array[item5Index].itemIndex = 5;
item5Array[item5Index].currentStatus = Item.UNCOOKED_STATE;
return (item5Array[item5Index]);
}
public static function getItem7():Item7{
item7Index = ((item7Index + 1) % item7Array.length);
if (item7Array[item7Index] == null){
item7Array[item7Index] = new Item7();
};
item7Array[item7Index].itemIndex = 7;
item7Array[item7Index].currentStatus = Item.UNCOOKED_STATE;
return (item7Array[item7Index]);
}
public static function getItem8():Item8{
item8Index = ((item8Index + 1) % item8Array.length);
if (item8Array[item8Index] == null){
item8Array[item8Index] = new Item8();
};
item8Array[item8Index].itemIndex = 8;
item8Array[item8Index].currentStatus = Item.UNCOOKED_STATE;
return (item8Array[item8Index]);
}
public static function getItem9():Item9{
item9Index = ((item9Index + 1) % item9Array.length);
if (item9Array[item9Index] == null){
item9Array[item9Index] = new Item9();
item9Array[item9Index].itemIndex = 9;
};
item9Array[item9Index].currentStatus = Item.UNCOOKED_STATE;
return (item9Array[item9Index]);
}
public static function getItem6():Item6{
item6Index = ((item6Index + 1) % item6Array.length);
if (item6Array[item6Index] == null){
item6Array[item6Index] = new Item6();
};
item6Array[item6Index].itemIndex = 6;
item6Array[item6Index].currentStatus = Item.UNCOOKED_STATE;
return (item6Array[item6Index]);
}
public static function getItem10():Item10{
item10Index = ((item10Index + 1) % item10Array.length);
if (item10Array[item10Index] == null){
item10Array[item10Index] = new Item10();
};
item10Array[item10Index].itemIndex = 10;
item10Array[item10Index].currentStatus = Item.UNCOOKED_STATE;
return (item10Array[item10Index]);
}
}
}//package
Section 244
//Customer (Customer)
package {
import flash.display.*;
public class Customer extends MovieClip {
private var chairIndex:int;// = -1
public var leg:MovieClip;
public var currentAction:uint;// = 0
private var currentOrderIndex:int;// = -1
private var currentBubble:MovieClip;// = null
public var body:MovieClip;
public var customerIndex:uint;// = 0
private var chairSide:int;// = 0
public var showbubble:Boolean;// = false
private var currentChair:Chair;// = null
private var isOccupied:Boolean;// = false
private var servedItem:Item;// = null
public static var ANGRY:uint = 4;
public static var MENU:uint = 2;
public static var STILL:uint = 1;
public static var SMILE:uint = 3;
public function Customer(){
isOccupied = false;
currentAction = 0;
chairIndex = -1;
customerIndex = 0;
chairSide = 0;
currentChair = null;
currentOrderIndex = -1;
servedItem = null;
showbubble = false;
currentBubble = null;
super();
}
public function gotoAngry(){
currentAction = ANGRY;
body.gotoAndStop("angry");
}
public function getChairSide():int{
return (chairSide);
}
public function init(_arg1:int){
this.customerIndex = _arg1;
}
public function getChairIndex():int{
return (chairIndex);
}
public function setCurrentBubble(_arg1:MovieClip){
showbubble = true;
this.currentBubble = _arg1;
}
public function validateServing():Boolean{
if (currentOrderIndex != -1){
if (currentOrderIndex == (MainClass.bg.assistant1.mcItem.itemIndex - 1)){
return (true);
};
};
return (false);
}
public function setChairIndex(_arg1:int, _arg2:Chair){
this.chairIndex = _arg1;
this.chairSide = (chairIndex % 2);
this.currentChair = _arg2;
}
public function gotoStill(){
body.gotoAndStop("still");
currentAction = STILL;
}
public function gotoMenu(){
body.gotoAndStop("read");
currentAction = MENU;
}
public function getCurrentAction():int{
return (currentAction);
}
public function get isDining():Boolean{
return (isOccupied);
}
public function removeCustomer(){
currentAction = STILL;
chairIndex = -1;
currentChair.reinit();
currentChair = null;
chairSide = -1;
this.body.gotoAndStop("still");
isOccupied = false;
this.body.parent.removeChild(this.body);
if (this.leg.parent != null){
this.leg.parent.removeChild(this.leg);
};
isOccupied = false;
}
public function getCurrentBubble():MovieClip{
return (currentBubble);
}
public function gotoSmile(){
body.gotoAndStop("smile");
currentAction = SMILE;
}
public function reinit(){
this.gotoAndStop("still");
chairSide = -1;
currentChair = null;
currentOrderIndex = -1;
servedItem = null;
currentAction = STILL;
chairIndex = -1;
isOccupied = true;
currentBubble = null;
showbubble = false;
}
public function getCurrentOrder():int{
return (currentOrderIndex);
}
public function getServedItem():Item{
return (servedItem);
}
public function setCurrentOrder(_arg1:int){
this.currentOrderIndex = _arg1;
}
public function removeLeg(){
if (this.leg.parent != null){
this.leg.parent.removeChild(this.leg);
};
}
public function setServedItem(_arg1:Item){
this.servedItem = _arg1;
}
}
}//package
Section 245
//CustomerFactory (CustomerFactory)
package {
import flash.display.*;
public class CustomerFactory {
public var customersLeftMainArray:Array;
private var bubble8Index:int;// = -1
private var bubble4Index:int;// = -1
public var bubble8Array:Array;
public var bubble4Array:Array;
public var customersRightMainArray:Array;
private var currentCustomerIndex:int;// = 0
private var bubble9Index:int;// = -1
private var bubble5Index:int;// = -1
public var bubble9Array:Array;
private var bubble1Index:int;// = -1
public var bubble5Array:Array;
public var bubble1Array:Array;
private var bubble6Index:int;// = -1
private var bubble2Index:int;// = -1
private var bubbleArraySize:uint;// = 4
public var bubble6Array:Array;
public var bubble2Array:Array;
private var bubble7Index:int;// = -1
private var bubble3Index:int;// = -1
private var currentCustomerRightIndex:int;// = 0
public var bubble7Array:Array;
public var bubble3Array:Array;
public var bubble10Array:Array;
private var bubble10Index:int;// = -1
public function CustomerFactory(){
var _local1:uint;
customersLeftMainArray = new Array(10);
customersRightMainArray = new Array(10);
currentCustomerIndex = 0;
currentCustomerRightIndex = 0;
bubbleArraySize = 4;
bubble1Array = new Array(bubbleArraySize);
bubble2Array = new Array(bubbleArraySize);
bubble3Array = new Array(bubbleArraySize);
bubble4Array = new Array(bubbleArraySize);
bubble5Array = new Array(bubbleArraySize);
bubble6Array = new Array(bubbleArraySize);
bubble7Array = new Array(bubbleArraySize);
bubble8Array = new Array(bubbleArraySize);
bubble9Array = new Array(bubbleArraySize);
bubble10Array = new Array(bubbleArraySize);
bubble1Index = -1;
bubble2Index = -1;
bubble3Index = -1;
bubble4Index = -1;
bubble5Index = -1;
bubble6Index = -1;
bubble7Index = -1;
bubble8Index = -1;
bubble9Index = -1;
bubble10Index = -1;
super();
customersLeftMainArray[0] = new MaleOfficerLeft();
customersLeftMainArray[1] = new FemaleOfficerLeft();
customersLeftMainArray[2] = new MalePoliceLeft();
customersLeftMainArray[3] = new FemalePoliceLeft();
customersLeftMainArray[4] = new MaleStudentLeft();
customersLeftMainArray[5] = new FemaleStudentLeft();
customersLeftMainArray[6] = new MaleKidLeft();
customersLeftMainArray[7] = new FemaleKidLeft();
customersLeftMainArray[8] = new OldManLeft();
customersLeftMainArray[9] = new OldWomanLeft();
customersRightMainArray[0] = new MaleOfficerRight();
customersRightMainArray[1] = new FemaleOfficerRight();
customersRightMainArray[2] = new MalePoliceRight();
customersRightMainArray[3] = new FemalePoliceRight();
customersRightMainArray[4] = new MaleStudentRight();
customersRightMainArray[5] = new FemaleStudentRight();
customersRightMainArray[6] = new MaleKidRight();
customersRightMainArray[7] = new FemaleKidRight();
customersRightMainArray[8] = new OldManRight();
customersRightMainArray[9] = new OldWomanRight();
_local1 = 0;
while (_local1 < customersLeftMainArray.length) {
customersLeftMainArray[_local1].init(_local1);
customersRightMainArray[_local1].init(_local1);
_local1++;
};
_local1 = 0;
while (_local1 < bubbleArraySize) {
bubble1Array[_local1] = new BubbleItem1();
bubble2Array[_local1] = new BubbleItem2();
bubble3Array[_local1] = new BubbleItem3();
bubble4Array[_local1] = new BubbleItem4();
bubble5Array[_local1] = new BubbleItem5();
bubble6Array[_local1] = new BubbleItem6();
bubble7Array[_local1] = new BubbleItem7();
bubble8Array[_local1] = new BubbleItem8();
bubble9Array[_local1] = new BubbleItem9();
bubble10Array[_local1] = new BubbleItem10();
_local1++;
};
}
public function getBubble(_arg1:int):MovieClip{
_arg1 = (_arg1 + 1);
switch (_arg1){
case 1:
bubble1Index = ((bubble1Index + 1) % bubbleArraySize);
return (bubble1Array[bubble1Index]);
case 2:
bubble2Index = ((bubble2Index + 1) % bubbleArraySize);
return (bubble2Array[bubble2Index]);
case 3:
bubble3Index = ((bubble3Index + 1) % bubbleArraySize);
return (bubble3Array[bubble3Index]);
case 4:
bubble4Index = ((bubble4Index + 1) % bubbleArraySize);
return (bubble4Array[bubble4Index]);
case 5:
bubble5Index = ((bubble5Index + 1) % bubbleArraySize);
return (bubble5Array[bubble5Index]);
case 6:
bubble6Index = ((bubble6Index + 1) % bubbleArraySize);
return (bubble6Array[bubble6Index]);
case 7:
bubble7Index = ((bubble7Index + 1) % bubbleArraySize);
return (bubble7Array[bubble7Index]);
case 8:
bubble8Index = ((bubble8Index + 1) % bubbleArraySize);
return (bubble8Array[bubble8Index]);
case 9:
bubble9Index = ((bubble9Index + 1) % bubbleArraySize);
return (bubble9Array[bubble9Index]);
case 10:
bubble10Index = ((bubble10Index + 1) % bubbleArraySize);
return (bubble10Array[bubble10Index]);
default:
break;
};
return (null);
}
public function pickOrder():int{
var _local1:uint;
_local1 = 0;
return (Math.floor((Math.random() * 10)));
}
public function getCustomer(_arg1:uint):Customer{
var _local2:uint;
var _local3:uint;
if (_arg1 == 0){
_local2 = Math.ceil((Math.random() * 4));
currentCustomerIndex = ((currentCustomerIndex + _local2) % customersLeftMainArray.length);
if (customersLeftMainArray[currentCustomerIndex].isDining == false){
return (customersLeftMainArray[currentCustomerIndex]);
};
_local3 = 0;
_local2 = 1;
while (_local3 <= customersLeftMainArray.length) {
currentCustomerIndex = ((currentCustomerIndex + _local2) % customersLeftMainArray.length);
if (customersLeftMainArray[currentCustomerIndex].isDining == false){
return (customersLeftMainArray[currentCustomerIndex]);
};
_local3 = (_local3 + 1);
};
} else {
_local2 = Math.ceil((Math.random() * 4));
currentCustomerRightIndex = ((currentCustomerRightIndex + _local2) % customersRightMainArray.length);
if (customersRightMainArray[currentCustomerRightIndex].isDining == false){
return (customersRightMainArray[currentCustomerRightIndex]);
};
_local3 = 0;
_local2 = 1;
while (_local3 <= customersRightMainArray.length) {
currentCustomerRightIndex = ((currentCustomerRightIndex + _local2) % customersRightMainArray.length);
if (customersRightMainArray[currentCustomerRightIndex].isDining == false){
return (customersRightMainArray[currentCustomerRightIndex]);
};
_local3 = (_local3 + 1);
};
};
return (null);
}
}
}//package
Section 246
//CustomerHitArea (CustomerHitArea)
package {
import flash.display.*;
public class CustomerHitArea extends MovieClip {
private var currentCustomer:Customer;// = null
public function CustomerHitArea(){
currentCustomer = null;
super();
}
public function getCurrentCustomer():Customer{
return (currentCustomer);
}
public function setCurrentCustomer(_arg1:Customer){
this.currentCustomer = _arg1;
}
}
}//package
Section 247
//FemaleKidLeft (FemaleKidLeft)
package {
public dynamic class FemaleKidLeft extends Customer {
}
}//package
Section 248
//FemaleKidRight (FemaleKidRight)
package {
public dynamic class FemaleKidRight extends Customer {
public function FemaleKidRight(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 249
//FemaleOfficerLeft (FemaleOfficerLeft)
package {
public dynamic class FemaleOfficerLeft extends Customer {
}
}//package
Section 250
//FemaleOfficerRight (FemaleOfficerRight)
package {
public dynamic class FemaleOfficerRight extends Customer {
}
}//package
Section 251
//FemalePoliceLeft (FemalePoliceLeft)
package {
public dynamic class FemalePoliceLeft extends Customer {
}
}//package
Section 252
//FemalePoliceRight (FemalePoliceRight)
package {
public dynamic class FemalePoliceRight extends Customer {
}
}//package
Section 253
//FemaleStudentLeft (FemaleStudentLeft)
package {
public dynamic class FemaleStudentLeft extends Customer {
public function FemaleStudentLeft(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 254
//FemaleStudentRight (FemaleStudentRight)
package {
public dynamic class FemaleStudentRight extends Customer {
public function FemaleStudentRight(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 255
//GameOver (GameOver)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;
public class GameOver extends MovieClip {
public var errormesg:TextField;
var urlPlayMore:String;// = "http://www.flasharcade.com"
var requestPlayMore:URLRequest;// = null
public var submitScore:SimpleButton;
public var endFrame:Boolean;// = false
public var playMore:SimpleButton;
public var totalScore:TextField;
public var playAgain:SimpleButton;
public var player:TextField;
private static var gameOver:GameOver = null;
public function GameOver(){
urlPlayMore = "http://www.flasharcade.com";
requestPlayMore = null;
endFrame = false;
super();
}
public function getPlayerName():String{
var _local1:String;
_local1 = player.text;
if (_local1 == null){
return (null);
};
errormesg.text = "";
return (_local1);
}
public function init(){
gotoAndStop(1);
requestPlayMore = new URLRequest(urlPlayMore);
playMore.addEventListener(MouseEvent.CLICK, handleClick);
}
public function handleClick(_arg1:MouseEvent){
var event = _arg1;
try {
navigateToURL(requestPlayMore, "_blank");
} catch(e:Error) {
};
}
public function updateScores(){
totalScore.text = MainClass.gameScore.toString();
}
public function removeAllListener(){
playMore.removeEventListener(MouseEvent.CLICK, handleClick);
}
public function resetData(){
totalScore.text = " ";
player.text = "";
errormesg.text = " ";
}
public function setErrorMesg(_arg1:String){
errormesg.text = _arg1;
}
public static function getInstance():GameOver{
if (gameOver == null){
gameOver = new (GameOver);
};
gameOver.resetData();
return (gameOver);
}
}
}//package
Section 256
//GameOverSound (GameOverSound)
package {
import flash.media.*;
public dynamic class GameOverSound extends Sound {
}
}//package
Section 257
//GParams (GParams)
package {
import flash.geom.*;
public class GParams {
public static var totalEarnings:int = 0;
public static var loanAmount:uint = orderExpense;
public static var levelTargetTime = 210;
public static var orderExpense:uint = 50;
public static var levelTargetMoney = [50, 70, 80, 80, 90, 100, 110, 130, 150, 160, 180, 200, 230, 260, 300, 310, 330, 350, 370, 380];
public static var frameRate:uint = 30;
public static var orderFrequency:Array = new Array([60, 26], [60, 24], [60, 24], [60, 21], [60, 19], [60, 16], [60, 15], [60, 13], [60, 11], [60, 11], [60, 16], [60, 14], [60, 12], [60, 11], [60, 10], [60, 16], [60, 14], [60, 12], [60, 11], [60, 11]);
public static var stageDimension:Point = new Point(600, 550);
public static var currentLevel:uint = 5;
public static var totalLevels = 6;
public static var servingPoints:Array = new Array([new Point(40, 30), new Point(100, 30)], [new Point(40, 30), new Point(100, 30)], [new Point(40, 30), new Point(100, 30)], [new Point(40, 30), new Point(100, 30)], [new Point(40, 30), new Point(100, 30)]);
}
}//package
Section 258
//Item (Item)
package {
import flash.display.*;
public class Item extends MovieClip {
public var dustbin:MovieClip;
public var slotIndex:int;// = 0
public var itemIndex:int;// = 0
public var currentStatus:int;// = 0
public static var COST_ARRAY = new Array(COST_ITEM1, COST_ITEM2, COST_ITEM3, COST_ITEM4, COST_ITEM5, COST_ITEM6, COST_ITEM7, COST_ITEM8, COST_ITEM9, COST_ITEM10);
private static var COST_ITEM1:uint = 50;
private static var COST_ITEM2:uint = 90;
private static var COST_ITEM4:uint = 80;
private static var COST_ITEM5:uint = 65;
private static var COST_ITEM6:uint = 65;
private static var COST_ITEM7:uint = 75;
private static var COST_ITEM8:uint = 55;
private static var COST_ITEM9:uint = 60;
private static var COST_ITEM3:uint = 70;
public static var DUSTBIN_STATE:int = 4;
public static var SERVED_STATE:int = 3;
public static var PREPARED_STATE:int = 2;
public static var UNCOOKED_STATE:int = 0;
private static var COST_ITEM10:uint = 70;
public function Item(){
itemIndex = 0;
slotIndex = 0;
currentStatus = 0;
super();
}
}
}//package
Section 259
//Item1 (Item1)
package {
public dynamic class Item1 extends Item {
public function Item1(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 260
//Item10 (Item10)
package {
public dynamic class Item10 extends Item {
public function Item10(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 261
//Item2 (Item2)
package {
public dynamic class Item2 extends Item {
public function Item2(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 262
//Item3 (Item3)
package {
public dynamic class Item3 extends Item {
public function Item3(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 263
//Item4 (Item4)
package {
public dynamic class Item4 extends Item {
public function Item4(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 264
//Item5 (Item5)
package {
public dynamic class Item5 extends Item {
public function Item5(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 265
//Item6 (Item6)
package {
public dynamic class Item6 extends Item {
public function Item6(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 266
//Item7 (Item7)
package {
public dynamic class Item7 extends Item {
public function Item7(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 267
//Item8 (Item8)
package {
public dynamic class Item8 extends Item {
public function Item8(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 268
//Item9 (Item9)
package {
public dynamic class Item9 extends Item {
public function Item9(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 269
//Levels (Levels)
package {
import flash.display.*;
import flash.text.*;
public class Levels extends MovieClip {
public var pTarget:TextField;
var levelNum:Number;// = 1
public var levelnum:TextField;
public var nTarget:TextField;
public var levelMoney:TextField;
public var contBtn:SimpleButton;
private static var level:Levels = null;
public function Levels(){
levelNum = 1;
super();
}
public function init(){
pTarget.text = ("$ " + MainClass.prevTargetMoney.toString());
nTarget.text = ("$ " + MainClass.nextTargetMoney.toString());
levelMoney.text = ("$ " + MainClass.levelMoneyEarned.toString());
}
public static function getInstance():Levels{
if (level == null){
level = new (Levels);
};
return (level);
}
}
}//package
Section 270
//LevelStart (LevelStart)
package {
import flash.display.*;
public dynamic class LevelStart extends MovieClip {
public var startl1:SimpleButton;
}
}//package
Section 271
//LevelupSound (LevelupSound)
package {
import flash.media.*;
public dynamic class LevelupSound extends Sound {
}
}//package
Section 272
//MainClass (MainClass)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
public class MainClass extends Sprite {
private var lus:LevelupSound;// = null
private var randomCount:uint;// = 0
private var orderPlacementCount:uint;// = 0
private var levelPage:Levels;// = null
private var currentOrderFrequencyLevel:uint;// = 0
private var orderPlacementMaxCount:uint;// = 0
private var customerCreateEndTime:int;// = 0
private var gos:GameOverSound;// = null
private var chairsArray:Array;
private var bgs:BGSound;// = null
private var ws:WelcomeSound;// = null
private var welcomePage:Welcome;// = null
private var assistant1:Assistant;// = null
private var yws:YouWinSound;// = null
private var customerArray:Array;
private var levelTimeCount:int;// = 0
private var tableArray:Array;
private var youWin:YouWin;// = null
private var levelStart:LevelStart;// = null
private var totalAllocatedTime:uint;// = 0
private var deltaRotation:Number;// = 0
private var waitingBarArray:Array;
private var moneyArray:Array;
private var costPrice:int;// = 10
private var functionArray:Array;
private var currentOrderFrequency:uint;// = 0
private var currentLevel:int;// = 0
private var currentBubbles:Array;
private var utilisedTime:uint;// = 0
var _channel:SoundChannel;
private var targetLevelTime:int;// = 0
private var gameOver:GameOver;// = null
private var tableInitOrder:Array;
public static var gameScore:int = 0;
public static var prevTargetMoney:int = 0;
public static var loanInHand:int = 0;
public static var bg:BG = null;
public static var customerFactory:CustomerFactory = null;
public static var loanUsed:int = 0;
public static var loanTakenAmount:int = 0;
public static var levelMoneyEarned:int = 0;
public static var nextTargetMoney:int = 0;
public function MainClass(){
currentOrderFrequencyLevel = 0;
currentOrderFrequency = 0;
totalAllocatedTime = 0;
utilisedTime = 0;
assistant1 = null;
orderPlacementMaxCount = 0;
orderPlacementCount = 0;
currentLevel = 0;
targetLevelTime = 0;
customerCreateEndTime = 0;
levelTimeCount = 0;
costPrice = 10;
chairsArray = new Array(10);
waitingBarArray = new Array(10);
tableArray = new Array(5);
customerArray = new Array();
functionArray = new Array(10);
currentBubbles = new Array(10);
tableInitOrder = new Array(0, 4, 1, 3, 2);
levelStart = null;
ws = null;
yws = null;
gos = null;
bgs = null;
lus = null;
welcomePage = null;
gameOver = null;
youWin = null;
levelPage = null;
moneyArray = new Array(10);
deltaRotation = 0;
randomCount = 0;
super();
ws = new WelcomeSound();
yws = new YouWinSound();
gos = new GameOverSound();
bgs = new BGSound();
lus = new LevelupSound();
createWelcome();
}
public function onClickPhone(_arg1:MouseEvent){
var _local2:*;
if (bg.chef.isPreparing == false){
if ((((GParams.totalEarnings >= GParams.orderExpense)) || ((loanInHand >= GParams.orderExpense)))){
bg.chef.gotoAndStop("phone");
bg.chef.preperationName = "phone";
bg.chef.preparedItemIndex = 12;
bg.chef.isPreparing = true;
if (GParams.totalEarnings < GParams.orderExpense){
if (loanInHand >= GParams.orderExpense){
loanUsed = (loanUsed + GParams.orderExpense);
loanInHand = (loanTakenAmount - loanUsed);
};
} else {
_local2 = (GParams.totalEarnings - GParams.orderExpense);
if (_local2 < levelMoneyEarned){
levelMoneyEarned = _local2;
};
GParams.totalEarnings = (GParams.totalEarnings - GParams.orderExpense);
};
updateStats();
};
};
}
public function onClickItem2(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.preperationName = "prepare2";
bg.chef.preparedItemIndex = 2;
bg.chef.isPreparing = true;
bg.chef.gotoAndStop("prepare2");
};
}
public function onClickItem3(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.preperationName = "prepare3";
bg.chef.preparedItemIndex = 3;
bg.chef.isPreparing = true;
bg.chef.gotoAndStop("prepare3");
};
}
public function onClickItem5(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.preperationName = "prepare5";
bg.chef.preparedItemIndex = 5;
bg.chef.isPreparing = true;
bg.chef.gotoAndStop("prepare5");
};
}
public function onClickItem6(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.gotoAndStop("prepare6");
bg.chef.preperationName = "prepare6";
bg.chef.preparedItemIndex = 6;
bg.chef.isPreparing = true;
};
}
public function onClickItem1(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.preperationName = "prepare1";
bg.chef.preparedItemIndex = 1;
bg.chef.isPreparing = true;
bg.chef.gotoAndStop("prepare1");
};
}
public function onClickItem9(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.gotoAndStop("prepare9");
bg.chef.preperationName = "prepare9";
bg.chef.preparedItemIndex = 9;
bg.chef.isPreparing = true;
};
}
public function onClickItem8(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.gotoAndStop("prepare8");
bg.chef.preperationName = "prepare8";
bg.chef.preparedItemIndex = 8;
bg.chef.isPreparing = true;
};
}
public function removeWelcome(){
if (welcomePage != null){
if (this.contains(welcomePage)){
welcomePage.ipwelcome.playGame.removeEventListener(MouseEvent.CLICK, gotoLEVEL1);
welcomePage.ipwelcome.intro.removeEventListener(MouseEvent.CLICK, instruction);
welcomePage.ipwelcome.highscore.removeEventListener(MouseEvent.CLICK, fetchHighScore);
welcomePage.hs.backhs.removeEventListener(MouseEvent.CLICK, playWelcome);
_channel.stop();
_channel.removeEventListener(Event.SOUND_COMPLETE, completeWSHandler);
removeChild(welcomePage);
};
};
}
public function onClickItem4(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.preperationName = "prepare4";
bg.chef.preparedItemIndex = 4;
bg.chef.isPreparing = true;
bg.chef.gotoAndStop("prepare4");
};
}
private function removeLevelUp(){
if (levelPage != null){
if (contains(levelPage)){
removeChild(levelPage);
};
};
}
public function completeGOSHandler(_arg1:Event){
_channel.removeEventListener(Event.SOUND_COMPLETE, completeGOSHandler);
_channel = gos.play();
_channel.addEventListener(Event.SOUND_COMPLETE, completeGOSHandler);
}
public function sendGameOverData(_arg1:String, _arg2:Number):Boolean{
var request:URLRequest;
var variables:URLVariables;
var playerName = _arg1;
var score = _arg2;
try {
request = new URLRequest("http://www.flasharcade.com/setscores.php");
request.method = URLRequestMethod.POST;
variables = new URLVariables();
variables.scoreName = playerName;
variables.scoreText = score;
variables.gameId = "ace026";
variables.gameName = "GetSetMars";
request.data = variables;
sendToURL(request);
} catch(e:Error) {
gameOver.setErrorMesg("Could not submit the score");
return (false);
} catch(e:SecurityError) {
gameOver.setErrorMesg("Security Error ");
return (false);
};
return (true);
}
public function onClickItem7(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.gotoAndStop("prepare7");
bg.chef.preperationName = "prepare7";
bg.chef.preparedItemIndex = 7;
bg.chef.isPreparing = true;
};
}
public function manageCustomer(){
var _local1:uint;
var _local2:Number;
var _local3:Number;
var _local4:int;
_local1 = 0;
while (_local1 < waitingBarArray.length) {
if (waitingBarArray[_local1].getStatus()){
if (waitingBarArray[_local1].currentFrame == waitingBarArray[_local1].totalFrames){
if (chairsArray[_local1].getCustomer() != null){
if (chairsArray[_local1].getCustomer().currentFrame == 1){
chairsArray[_local1].getCustomer().gotoAngry();
};
waitingBarArray[_local1].resetBar();
} else {
trace(" Error !! custome object is null in Chair class");
};
};
};
_local1++;
};
_local1 = 0;
while (_local1 < customerArray.length) {
if (customerArray[_local1].body.currentLabel == "angry"){
//unresolved if
if (customerArray[_local1].body.angry.currentFrame == 2){
waitingBarArray[customerArray[_local1].getChairIndex()].gotoAndPlay(waitingBarArray[customerArray[_local1].getChairIndex()].totalFrames);
};
if (customerArray[_local1].body.angry.currentFrame == 85){
customerArray[_local1].removeLeg();
};
//unresolved if
removeServedItem(_local1);
waitingBarArray[customerArray[_local1].getChairIndex()].resetBar();
customerArray[_local1].body.angry.gotoAndStop(1);
customerArray[_local1].removeCustomer();
customerArray.splice(_local1, 1);
_local1--;
} else {
if (customerArray[_local1].body.currentLabel == "smile"){
//unresolved if
if (customerArray[_local1].body.smile.currentFrame == 5){
_local2 = (waitingBarArray[customerArray[_local1].getChairIndex()].currentFrame / waitingBarArray[customerArray[_local1].getChairIndex()].totalFrames);
_local3 = 0;
_local4 = customerArray[_local1].getCurrentOrder();
if (_local4 <= 0){
trace((" Error!! item index is : " + _local4));
};
if (_local2 < 0.35){
_local3 = (Item.COST_ARRAY[_local4] * 1.5);
} else {
if (_local2 < 0.7){
_local3 = (Item.COST_ARRAY[_local4] * 1.2);
} else {
_local3 = Item.COST_ARRAY[_local4];
};
};
waitingBarArray[customerArray[_local1].getChairIndex()].resetBar();
};
if (customerArray[_local1].body.smile.currentFrame == 85){
customerArray[_local1].removeLeg();
};
//unresolved if
//unresolved if
waitingBarArray[customerArray[_local1].getChairIndex()].resetBar();
moneyArray[customerArray[_local1].getChairIndex()].visible = true;
removeServedItem(_local1);
customerArray[_local1].removeCustomer();
customerArray.splice(_local1, 1);
_local1--;
} else {
if (customerArray[_local1].body.currentLabel == "read"){
if (customerArray[_local1].body.read != null){
if (waitingBarArray[customerArray[_local1].getChairIndex()] != null){
waitingBarArray[customerArray[_local1].getChairIndex()].gotoAndStop(1);
waitingBarArray[customerArray[_local1].getChairIndex()].visible = true;
} else {
trace((" Error!! could not set the waiting bar" + customerArray[_local1].getChairIndex()));
};
if (customerArray[_local1].body.read.currentFrame == customerArray[_local1].body.read.totalFrames){
customerArray[_local1].body.read.gotoAndStop(1);
showBubble(customerArray[_local1]);
if (waitingBarArray[customerArray[_local1].getChairIndex()] != null){
waitingBarArray[customerArray[_local1].getChairIndex()].init();
} else {
trace((" Error!! could not set the waiting bar" + customerArray[_local1].getChairIndex()));
};
customerArray[_local1].gotoStill();
};
};
};
};
};
_local1++;
};
}
private function managebubbles(){
var _local1:uint;
var _local2:MovieClip;
_local1 = 0;
while (_local1 < customerArray.length) {
_local2 = customerArray[_local1].getCurrentBubble();
if (_local2 == null){
} else {
if (customerArray[_local1].showbubble){
_local2.visible = true;
if (_local2.currentFrame == _local2.totalFrames){
if (_local2.parent != null){
_local2.gotoAndStop(1);
_local2.visible = false;
customerArray[_local1].showbubble = false;
};
};
};
};
_local1++;
};
}
private function createChairs(){
var _local1:uint;
var _local2:uint;
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:MovieClip;
var _local8:uint;
var _local9:uint;
var _local10:uint;
var _local11:uint;
chairsArray[0] = bg.chair0;
chairsArray[0].init(0, 0);
chairsArray[1] = bg.chair1;
chairsArray[1].init(0, 1);
chairsArray[2] = bg.chair2;
chairsArray[2].init(1, 2);
chairsArray[3] = bg.chair3;
chairsArray[3].init(1, 3);
chairsArray[4] = bg.chair4;
chairsArray[4].init(2, 4);
chairsArray[5] = bg.chair5;
chairsArray[5].init(2, 5);
chairsArray[6] = bg.chair6;
chairsArray[6].init(3, 6);
chairsArray[7] = bg.chair7;
chairsArray[7].init(3, 7);
chairsArray[8] = bg.chair8;
chairsArray[8].init(4, 8);
chairsArray[9] = bg.chair9;
chairsArray[9].init(4, 9);
tableArray[0] = bg.table0;
tableArray[0].init(0, chairsArray[0], chairsArray[1]);
tableArray[1] = bg.table1;
tableArray[1].init(1, chairsArray[2], chairsArray[3]);
tableArray[2] = bg.table2;
tableArray[2].init(2, chairsArray[4], chairsArray[5]);
tableArray[3] = bg.table3;
tableArray[3].init(3, chairsArray[6], chairsArray[7]);
tableArray[4] = bg.table4;
tableArray[4].init(4, chairsArray[8], chairsArray[9]);
_local1 = 0;
while (_local1 < moneyArray.length) {
_local5 = Math.floor((_local1 / 2));
_local6 = (_local1 % 2);
_local7 = (tableArray[_local5].getChildByName(("money" + _local6)) as MovieClip);
moneyArray[_local1] = _local7;
moneyArray[_local1].addEventListener(MouseEvent.CLICK, onClickMoney);
moneyArray[_local1].visible = false;
moneyArray[_local1].buttonMode = true;
_local1++;
};
waitingBarArray[0] = bg.wait0;
waitingBarArray[0].visible = false;
waitingBarArray[1] = bg.wait1;
waitingBarArray[1].visible = false;
waitingBarArray[2] = bg.wait2;
waitingBarArray[2].visible = false;
waitingBarArray[3] = bg.wait3;
waitingBarArray[3].visible = false;
waitingBarArray[4] = bg.wait4;
waitingBarArray[4].visible = false;
waitingBarArray[5] = bg.wait5;
waitingBarArray[5].visible = false;
waitingBarArray[6] = bg.wait6;
waitingBarArray[6].visible = false;
waitingBarArray[7] = bg.wait7;
waitingBarArray[7].visible = false;
waitingBarArray[8] = bg.wait8;
waitingBarArray[8].visible = false;
waitingBarArray[9] = bg.wait9;
waitingBarArray[9].visible = false;
_local2 = 0;
_local3 = 0;
_local4 = 0;
while (_local4 < tableArray.length) {
_local3 = tableInitOrder[_local4];
_local2 = (((_local3 + 1) * 2) - 2);
_local8 = 0;
while (_local8 < 2) {
_local9 = bg.getChildIndex(tableArray[_local3]);
_local10 = bg.getChildIndex(chairsArray[(_local2 + _local8)]);
MainClass.bg.addChildAt(chairsArray[(_local2 + _local8)].customerLeg, _local9);
_local11 = bg.getChildIndex(chairsArray[(_local2 + _local8)].customerLeg);
chairsArray[(_local2 + _local8)].customerLeg.x = chairsArray[(_local2 + _local8)].x;
chairsArray[(_local2 + _local8)].customerLeg.y = chairsArray[(_local2 + _local8)].y;
_local8++;
};
_local8 = 0;
while (_local8 < 2) {
_local9 = bg.getChildIndex(tableArray[_local3]);
MainClass.bg.addChildAt(chairsArray[(_local2 + _local8)].customerBody, (_local9 + 1));
chairsArray[(_local2 + _local8)].customerBody.x = chairsArray[(_local2 + _local8)].x;
chairsArray[(_local2 + _local8)].customerBody.y = chairsArray[(_local2 + _local8)].y;
_local8++;
};
if (_local3 == 4){
bg.setChildIndex(bg.assistant1, (bg.getChildIndex(chairsArray[8].customerBody) + 1));
};
_local4++;
};
}
public function gotoLEVEL1(_arg1:MouseEvent){
removeWelcome();
currentLevel = 0;
if (levelStart == null){
levelStart = new LevelStart();
};
levelStart.startl1.addEventListener(MouseEvent.CLICK, startInit);
addChild(levelStart);
}
public function fetchHighScore(_arg1:MouseEvent){
var _local2:URLRequest;
var _local3:URLLoader;
var _local4:URLVariables;
welcomePage.setChildIndex(welcomePage.hs, 2);
welcomePage.emptyScores();
_local2 = new URLRequest("http://www.flasharcade.com/getscoresas3.php");
_local2.method = URLRequestMethod.POST;
_local3 = new URLLoader();
_local3.dataFormat = URLLoaderDataFormat.VARIABLES;
_local4 = new URLVariables();
_local4.gameId = "ace026";
_local2.data = _local4;
_local3.load(_local2);
_local3.addEventListener(Event.COMPLETE, completeHandler);
}
private function getEmptyTable():int{
var _local1:uint;
var _local2:int;
var _local3:int;
_local1 = Math.floor((Math.random() * 5));
_local2 = 0;
_local3 = -1;
while (_local2 < 5) {
if (tableArray[_local1].isTableEmpty() == false){
_local1 = ((_local1 + 1) % tableArray.length);
_local2 = (_local2 + 1);
continue;
} else {
_local3 = _local1;
break;
};
};
return (_local3);
}
private function getTargetMoney(_arg1:uint){
return (GParams.levelTargetMoney[_arg1]);
}
public function removeGameOver(){
if (gameOver != null){
if (this.contains(gameOver)){
gameOver.removeAllListener();
gameOver.playAgain.removeEventListener(MouseEvent.CLICK, clickPlayAgain);
gameOver.submitScore.removeEventListener(MouseEvent.CLICK, submitScoreGameOver);
_channel.stop();
_channel.removeEventListener(Event.SOUND_COMPLETE, completeGOSHandler);
removeChild(gameOver);
};
};
}
private function clearCustomers(){
var _local1:int;
if (customerArray != null){
_local1 = (customerArray.length - 1);
while (_local1 >= 0) {
if (customerArray[_local1] != null){
removeServedItem(_local1);
customerArray[_local1].removeCustomer();
customerArray[_local1].reinit();
customerArray.splice(_local1, 1);
};
_local1--;
};
};
if (chairsArray != null){
_local1 = 0;
while (_local1 < chairsArray.length) {
if (chairsArray[_local1] != null){
waitingBarArray[_local1].resetBar();
chairsArray[_local1].reinit();
};
_local1++;
};
};
if (bg != null){
bg.chef.resetChef();
bg.assistant1.resetAssistant();
};
}
public function completeYWSHandler(_arg1:Event){
_channel.removeEventListener(Event.SOUND_COMPLETE, completeYWSHandler);
_channel = yws.play();
_channel.addEventListener(Event.SOUND_COMPLETE, completeYWSHandler);
}
public function startInit(_arg1:MouseEvent){
if (contains(levelStart)){
removeChild(levelStart);
};
levelStart.startl1.removeEventListener(MouseEvent.CLICK, startInit);
addEventListener(Event.ENTER_FRAME, callInit);
}
public function callInit(_arg1:Event){
init();
removeEventListener(Event.ENTER_FRAME, callInit);
}
public function createLevelUp(){
_channel.stop();
_channel.removeEventListener(Event.SOUND_COMPLETE, completeBGSHandler);
_channel = lus.play();
_channel.addEventListener(Event.SOUND_COMPLETE, completeLevelupHandler);
clearGraphics();
GParams.currentLevel = (GParams.currentLevel + 1);
levelPage = Levels.getInstance();
levelPage.x = 0;
levelPage.y = 0;
levelPage.levelnum.text = ("Start Day " + (GParams.currentLevel + 1).toString());
addChild(levelPage);
levelPage.levelnum.mouseEnabled = false;
prevTargetMoney = getTargetMoney((GParams.currentLevel - 1));
nextTargetMoney = getTargetMoney(GParams.currentLevel);
levelPage.init();
levelPage.contBtn.addEventListener(MouseEvent.CLICK, goBack);
}
public function instruction(_arg1:MouseEvent){
welcomePage.setChildIndex(welcomePage.introframe, 2);
welcomePage.introframe.backintro.addEventListener(MouseEvent.CLICK, playWelcome);
}
public function completeBGSHandler(_arg1:Event){
_channel.removeEventListener(Event.SOUND_COMPLETE, completeBGSHandler);
_channel = bgs.play();
_channel.addEventListener(Event.SOUND_COMPLETE, completeBGSHandler);
}
public function onEnterFrame(_arg1:Event){
orderPlacementCount = (orderPlacementCount + 1);
levelTimeCount = (levelTimeCount + 1);
if (levelTimeCount >= targetLevelTime){
removeEventListener(Event.ENTER_FRAME, onEnterFrame);
checkLevelEnd();
return;
};
if ((levelTimeCount % GParams.frameRate) == 0){
bg.clock.arrow2.rotation = (bg.clock.arrow2.rotation + deltaRotation);
};
if (orderPlacementCount >= orderPlacementMaxCount){
if (levelTimeCount <= customerCreateEndTime){
createCustomer();
if ((((GParams.currentLevel > 9)) && ((GParams.currentLevel <= 11)))){
randomCount = ((randomCount + 1) % 3);
if (randomCount > 0){
createCustomer();
};
} else {
if ((((GParams.currentLevel > 11)) && ((GParams.currentLevel <= 14)))){
randomCount = ((randomCount + 1) % 4);
if (randomCount > 0){
createCustomer();
};
} else {
if ((((GParams.currentLevel > 14)) && ((GParams.currentLevel <= 17)))){
randomCount = ((randomCount + 1) % 5);
if ((((randomCount >= 0)) && ((randomCount < 3)))){
createCustomer();
createCustomer();
} else {
if (randomCount > 2){
createCustomer();
};
};
} else {
if (GParams.currentLevel > 17){
randomCount = ((randomCount + 1) % 5);
if (randomCount == 2){
createCustomer();
} else {
createCustomer();
createCustomer();
};
};
};
};
};
};
orderPlacementCount = 0;
};
manageCustomer();
managebubbles();
}
public function onMouseClickChair(_arg1:MouseEvent){
var _local2:Chair;
var _local3:Customer;
_local2 = (_arg1.target as Chair);
if (_local2 == null){
return;
};
_local3 = _local2.getCustomer();
if (_local3 == null){
return;
};
if (MainClass.bg.assistant1.mcItem != null){
if (MainClass.bg.assistant1.mcItem.itemIndex != -1){
MainClass.bg.assistant1.setCurrentTableIndex = _local2.getTableIndex();
MainClass.bg.assistant1.setCurrentTableName(_local2.getTableName());
MainClass.bg.assistant1.setCustomer(_local3);
MainClass.bg.assistant1.isValidServing = _local3.validateServing();
bg.assistant1.gotoAndStop(_local2.getTableName);
if (MainClass.bg.tray.contains(MainClass.bg.assistant1.mcItem)){
MainClass.bg.tray.removeChild(MainClass.bg.assistant1.mcItem);
};
} else {
bg.assistant1.gotoAndStop("menu1");
};
};
}
public function onClickBank(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.gotoAndStop("bank");
bg.chef.preperationName = "bank";
bg.chef.preparedItemIndex = 11;
bg.chef.isPreparing = true;
};
}
public function createWelcome(){
clearGraphics();
welcomePage = Welcome.getInstance();
welcomePage.setChildIndex(welcomePage.ipwelcome, 2);
addChild(welcomePage);
welcomePage.x = 0;
welcomePage.y = 0;
welcomePage.ipwelcome.playGame.addEventListener(MouseEvent.CLICK, gotoLEVEL1);
welcomePage.ipwelcome.intro.addEventListener(MouseEvent.CLICK, instruction);
welcomePage.ipwelcome.highscore.addEventListener(MouseEvent.CLICK, fetchHighScore);
welcomePage.hs.backhs.addEventListener(MouseEvent.CLICK, playWelcome);
_channel = ws.play();
_channel.addEventListener(Event.SOUND_COMPLETE, completeWSHandler);
}
public function onClickItem10(_arg1:MouseEvent){
if (bg.chef.isPreparing == false){
bg.chef.gotoAndStop("prepare10");
bg.chef.preperationName = "prepare10";
bg.chef.preparedItemIndex = 10;
bg.chef.isPreparing = true;
};
}
public function completeLevelupHandler(_arg1:Event){
_channel.removeEventListener(Event.SOUND_COMPLETE, completeLevelupHandler);
_channel = lus.play();
_channel.addEventListener(Event.SOUND_COMPLETE, completeLevelupHandler);
}
public function removeYouWin(){
if (youWin != null){
if (this.contains(youWin)){
youWin.playAgain.removeEventListener(MouseEvent.CLICK, clickPlayAgain);
youWin.submitScore.removeEventListener(MouseEvent.CLICK, submitScore);
_channel.stop();
_channel.removeEventListener(Event.SOUND_COMPLETE, completeYWSHandler);
removeChild(youWin);
};
};
}
public function createCustomer(){
var _local1:Chair;
var _local2:int;
var _local3:Customer;
_local1 = getEmptyChair();
if (_local1 == null){
trace(" Error!! Got a null chair");
return;
};
_local2 = (_local1.chairIndex % 2);
_local3 = (customerFactory.getCustomer(_local2) as Customer);
if (_local3 == null){
trace(" Error!! Customer is null");
return;
};
_local3.reinit();
waitingBarArray[_local1.chairIndex].init();
_local1.customerBody.buttonMode = true;
_local1.addCustomer(_local3);
_local1.customerBody.addEventListener(MouseEvent.CLICK, _local1.onClickCustomer, false, 0, true);
_local1.customerLeg.addEventListener(MouseEvent.CLICK, _local1.onClickCustomer, false, 0, true);
customerArray.push(_local3);
}
public function createGameOver(){
gameOver = GameOver.getInstance();
addChild(gameOver);
gameOver.init();
gameOver.updateScores();
gameOver.playAgain.addEventListener(MouseEvent.CLICK, clickPlayAgain);
gameOver.submitScore.addEventListener(MouseEvent.CLICK, submitScoreGameOver);
_channel.stop();
_channel.removeEventListener(Event.SOUND_COMPLETE, completeBGSHandler);
_channel = gos.play();
_channel.addEventListener(Event.SOUND_COMPLETE, completeGOSHandler);
}
private function checkMouseClick(_arg1:MouseEvent){
stage.stageFocusRect = false;
stage.focus = this;
}
public function init(){
var _local1:uint;
if (bg == null){
bg = new BG();
bg.hitareaitem1.addEventListener(MouseEvent.CLICK, onClickItem1);
bg.hitareaitem1.buttonMode = true;
bg.hitareaitem2.addEventListener(MouseEvent.CLICK, onClickItem2);
bg.hitareaitem2.buttonMode = true;
bg.hitareaitem3.addEventListener(MouseEvent.CLICK, onClickItem3);
bg.hitareaitem3.buttonMode = true;
bg.hitareaitem4.addEventListener(MouseEvent.CLICK, onClickItem4);
bg.hitareaitem4.buttonMode = true;
bg.hitareaitem5.addEventListener(MouseEvent.CLICK, onClickItem5);
bg.hitareaitem5.buttonMode = true;
bg.hitareaitem6.addEventListener(MouseEvent.CLICK, onClickItem6);
bg.hitareaitem6.buttonMode = true;
bg.hitareaitem7.addEventListener(MouseEvent.CLICK, onClickItem7);
bg.hitareaitem7.buttonMode = true;
bg.hitareaitem8.addEventListener(MouseEvent.CLICK, onClickItem8);
bg.hitareaitem8.buttonMode = true;
bg.hitareaitem9.addEventListener(MouseEvent.CLICK, onClickItem9);
bg.hitareaitem9.buttonMode = true;
bg.hitareaitem10.addEventListener(MouseEvent.CLICK, onClickItem10);
bg.hitareaitem10.buttonMode = true;
bg.hitareaphone.addEventListener(MouseEvent.CLICK, onClickPhone);
bg.hitareaphone.buttonMode = true;
bg.dustbin.addEventListener(MouseEvent.CLICK, bg.assistant1.onClickDustbin);
bg.dustbin.buttonMode = true;
bg.x = (GParams.stageDimension.x / 2);
bg.y = (GParams.stageDimension.y / 2);
createChairs();
};
addChild(bg);
bg.chef.init();
if (customerFactory == null){
customerFactory = new CustomerFactory();
};
GParams.currentLevel = 0;
updateCustomerFrequency();
updateLevelParams();
_local1 = 0;
while (_local1 < currentBubbles.length) {
currentBubbles[_local1] = null;
_local1++;
};
bg.stats.dayCount.text = (GParams.currentLevel + 1).toString();
fillItems();
deltaRotation = (360 / GParams.levelTargetTime);
addEventListener(Event.ENTER_FRAME, onEnterFrame);
GParams.totalEarnings = 0;
loanTakenAmount = 0;
loanUsed = 0;
loanInHand = 0;
levelMoneyEarned = 0;
GParams.totalEarnings = 0;
updateStats();
gameScore = 0;
}
public function sendData(_arg1:String, _arg2:Number):Boolean{
var request:URLRequest;
var variables:URLVariables;
var playerName = _arg1;
var score = _arg2;
try {
request = new URLRequest("http://www.flasharcade.com/setscores.php");
request.method = URLRequestMethod.POST;
variables = new URLVariables();
variables.scoreName = playerName;
variables.scoreText = score;
variables.gameId = "ace026";
variables.gameName = "GetSetMars";
request.data = variables;
sendToURL(request);
} catch(e:Error) {
youWin.setErrorMesg("Could not submit the score");
return (false);
} catch(e:SecurityError) {
youWin.setErrorMesg("Security Error ");
return (false);
};
return (true);
}
public function updateCustomerFrequency(){
orderPlacementMaxCount = (GParams.orderFrequency[GParams.currentLevel][1] * GParams.frameRate);
orderPlacementCount = (orderPlacementMaxCount - 20);
}
public function onClickMoney(_arg1:MouseEvent){
if (_arg1.target.visible){
_arg1.target.visible = false;
levelMoneyEarned = (levelMoneyEarned + costPrice);
GParams.totalEarnings = (GParams.totalEarnings + costPrice);
bg.stats.dollars.text = levelMoneyEarned.toString();
bg.stats.totalMoney.text = GParams.totalEarnings.toString();
};
}
public function showAllCustomers(){
var _local1:uint;
var _local2:uint;
var _local3:uint;
var _local4:uint;
_local1 = 4;
_local2 = 4;
_local3 = 1;
while (_local3 < (chairsArray.length - 1)) {
_local4 = (_local3 % 2);
if (_local4 == 0){
chairsArray[_local3].addCustomer(customerFactory.customersLeftMainArray[_local1]);
_local1 = (_local1 + 1);
} else {
chairsArray[_local3].addCustomer(customerFactory.customersRightMainArray[_local2]);
_local2 = (_local2 + 1);
};
_local3++;
};
}
private function createYouWin(){
youWin = YouWin.getInstance();
youWin.init();
youWin.updateScores();
addChild(youWin);
youWin.playAgain.addEventListener(MouseEvent.CLICK, clickPlayAgain);
youWin.submitScore.addEventListener(MouseEvent.CLICK, submitScore);
_channel.stop();
_channel.removeEventListener(Event.SOUND_COMPLETE, completeBGSHandler);
_channel = yws.play();
_channel.addEventListener(Event.SOUND_COMPLETE, completeYWSHandler);
}
public function submitScore(_arg1:MouseEvent){
var _local2:String;
var _local3:Number;
youWin.setErrorMesg("");
_local2 = null;
_local2 = youWin.getPlayerName();
_local3 = gameScore;
if ((((_local2 == null)) || ((_local2 == "")))){
youWin.setErrorMesg("Please enter your name");
} else {
if (sendData(_local2, _local3) == false){
return;
};
displayHighScoreScreen();
};
}
private function updateStats(){
bg.stats.dollars.text = levelMoneyEarned.toString();
bg.stats.totalMoney.text = GParams.totalEarnings.toString();
}
public function submitScoreGameOver(_arg1:MouseEvent){
var _local2:String;
var _local3:Number;
gameOver.setErrorMesg("");
_local2 = null;
_local2 = gameOver.getPlayerName();
_local3 = gameScore;
if ((((_local2 == null)) || ((_local2 == "")))){
gameOver.setErrorMesg("Please enter your name");
} else {
if (sendGameOverData(_local2, _local3) == false){
return;
};
displayHighScoreScreen();
};
}
private function getEmptyChair():Chair{
var _local1:uint;
var _local2:Chair;
var _local3:uint;
_local1 = Math.floor((Math.random() * 5));
_local2 = tableArray[_local1].getEmptyChair();
if (_local2 != null){
return (_local2);
};
_local3 = 0;
while (_local3 < tableArray.length) {
_local3 = (_local3 + 1);
_local1 = ((_local1 + Math.floor((Math.random() * 5))) % tableArray.length);
_local2 = tableArray[_local1].getEmptyChair();
if (_local2 != null){
return (_local2);
};
};
return (null);
}
public function displayHighScoreScreen(){
createWelcome();
fetchHighScore(null);
welcomePage.setChildIndex(welcomePage.hs, 2);
}
public function playWelcome(_arg1:MouseEvent){
welcomePage.setChildIndex(welcomePage.ipwelcome, 2);
}
public function removeServedItem(_arg1:uint){
var _local2:uint;
_local2 = chairsArray[customerArray[_arg1].getChairIndex()].getTableIndex();
if (customerArray[_arg1].getServedItem() != null){
if (tableArray[_local2].contains(customerArray[_arg1].getServedItem())){
tableArray[_local2].removeChild(customerArray[_arg1].getServedItem());
};
};
if (customerArray[_arg1].getCurrentBubble() != null){
if (tableArray[_local2].contains(customerArray[_arg1].getCurrentBubble())){
tableArray[_local2].removeChild(customerArray[_arg1].getCurrentBubble());
};
};
}
public function updateLevelParams(){
var _local1:uint;
levelTimeCount = 0;
levelMoneyEarned = 0;
bg.stats.dollars.text = levelMoneyEarned.toString();
bg.stats.totalMoney.text = GParams.totalEarnings.toString();
nextTargetMoney = getTargetMoney(GParams.currentLevel);
targetLevelTime = (GParams.levelTargetTime * GParams.frameRate);
customerCreateEndTime = (targetLevelTime - (15 * GParams.frameRate));
updateCustomerFrequency();
_local1 = 0;
while (_local1 < currentBubbles.length) {
currentBubbles[_local1] = null;
_local1++;
};
deltaRotation = (360 / GParams.levelTargetTime);
bg.stats.dayCount.text = (GParams.currentLevel + 1).toString();
bg.clock.arrow2.rotation = -90;
updateCustomerFrequency();
_local1 = 0;
while (_local1 < moneyArray.length) {
moneyArray[_local1].visible = false;
_local1++;
};
}
public function completeWSHandler(_arg1:Event){
_channel.removeEventListener(Event.SOUND_COMPLETE, completeWSHandler);
_channel = ws.play();
_channel.addEventListener(Event.SOUND_COMPLETE, completeWSHandler);
}
public function reinit(_arg1:Event){
var _local2:uint;
removeLevelUp();
_channel.stop();
_channel.removeEventListener(Event.SOUND_COMPLETE, completeLevelupHandler);
removeEventListener(Event.ENTER_FRAME, reinit);
updateLevelParams();
_local2 = 0;
while (_local2 < currentBubbles.length) {
currentBubbles[_local2] = null;
_local2++;
};
bg.stats.dayCount.text = (GParams.currentLevel + 1).toString();
bg.chef.init();
deltaRotation = (360 / GParams.levelTargetTime);
bg.stats.dayCount.text = (GParams.currentLevel + 1).toString();
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function completeHandler(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:URLLoader;
var _local5:String;
var _local6:Array;
_local3 = 0;
_local4 = URLLoader(_arg1.target);
_local5 = "";
_local6 = null;
if (_local4.data.data0 != undefined){
_local6 = _local4.data.data0.split("|", 3);
welcomePage.hs.player1.text = _local6[0];
welcomePage.hs.score1.text = _local6[1];
welcomePage.hs.date1.text = _local6[2];
};
if (_local4.data.data1 != undefined){
_local6 = _local4.data.data1.split("|", 3);
welcomePage.hs.player2.text = _local6[0];
welcomePage.hs.score2.text = _local6[1];
welcomePage.hs.date2.text = _local6[2];
};
if (_local4.data.data2 != undefined){
_local6 = _local4.data.data2.split("|", 3);
welcomePage.hs.player3.text = _local6[0];
welcomePage.hs.score3.text = _local6[1];
welcomePage.hs.date3.text = _local6[2];
};
if (_local4.data.data3 != undefined){
_local6 = _local4.data.data3.split("|", 3);
welcomePage.hs.player4.text = _local6[0];
welcomePage.hs.score4.text = _local6[1];
welcomePage.hs.date4.text = _local6[2];
};
if (_local4.data.data4 != undefined){
_local6 = _local4.data.data4.split("|", 3);
welcomePage.hs.player5.text = _local6[0];
welcomePage.hs.score5.text = _local6[1];
welcomePage.hs.date5.text = _local6[2];
};
if (_local4.data.data5 != undefined){
_local6 = _local4.data.data5.split("|", 3);
welcomePage.hs.player6.text = _local6[0];
welcomePage.hs.score6.text = _local6[1];
welcomePage.hs.date6.text = _local6[2];
};
if (_local4.data.data6 != undefined){
_local6 = _local4.data.data6.split("|", 3);
welcomePage.hs.player7.text = _local6[0];
welcomePage.hs.score7.text = _local6[1];
welcomePage.hs.date7.text = _local6[2];
};
if (_local4.data.data7 != undefined){
_local6 = _local4.data.data7.split("|", 3);
welcomePage.hs.player8.text = _local6[0];
welcomePage.hs.score8.text = _local6[1];
welcomePage.hs.date8.text = _local6[2];
};
if (_local4.data.data8 != undefined){
_local6 = _local4.data.data8.split("|", 3);
welcomePage.hs.player9.text = _local6[0];
welcomePage.hs.score9.text = _local6[1];
welcomePage.hs.date9.text = _local6[2];
};
if (_local4.data.data9 != undefined){
_local6 = _local4.data.data9.split("|", 3);
welcomePage.hs.player10.text = _local6[0];
welcomePage.hs.score10.text = _local6[1];
welcomePage.hs.date10.text = _local6[2];
};
}
public function clickPlayAgain(_arg1:MouseEvent){
clearGraphics();
createWelcome();
}
private function showBubble(_arg1:Customer){
var _local2:uint;
var _local3:uint;
var _local4:int;
var _local5:MovieClip;
_local2 = customerFactory.pickOrder();
if (_local2 == -1){
return;
};
_local3 = chairsArray[_arg1.getChairIndex()].getTableIndex();
_local4 = _arg1.getChairSide();
_local5 = customerFactory.getBubble(_local2);
_local5.x = 40;
_local5.y = -20;
tableArray[_local3].addChild(_local5);
if (_local4 == 1){
_local5.scaleX = -0.6;
_local5.scaleY = 0.6;
} else {
_local5.scaleX = 0.6;
_local5.scaleY = 0.6;
};
_local5.gotoAndPlay(2);
_local5.visible = true;
_arg1.setCurrentBubble(_local5);
_arg1.setCurrentOrder(_local2);
}
public function checkLevelEnd(){
clearCustomers();
gameScore = (gameScore + levelMoneyEarned);
if (levelMoneyEarned < nextTargetMoney){
createGameOver();
} else {
if (GParams.currentLevel == (GParams.levelTargetMoney.length - 1)){
createYouWin();
} else {
createLevelUp();
};
};
}
public function goBack(_arg1:MouseEvent){
levelPage.contBtn.removeEventListener(MouseEvent.CLICK, goBack);
addEventListener(Event.ENTER_FRAME, reinit);
}
public function clearGraphics(){
removeWelcome();
removeGameOver();
removeYouWin();
clearCustomers();
}
public function fillItems(){
var _local1:uint;
var _local2:MovieClip;
_local1 = 1;
while (_local1 <= 10) {
_local2 = (MainClass.bg.getChildByName(("item" + _local1)) as MovieClip);
if (_local2 != null){
_local2.gotoAndStop(1);
} else {
trace(" Error. movieclip is null");
};
_local1++;
};
}
}
}//package
Section 273
//MaleKidLeft (MaleKidLeft)
package {
public dynamic class MaleKidLeft extends Customer {
}
}//package
Section 274
//MaleKidRight (MaleKidRight)
package {
public dynamic class MaleKidRight extends Customer {
public function MaleKidRight(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 275
//MaleOfficerLeft (MaleOfficerLeft)
package {
public dynamic class MaleOfficerLeft extends Customer {
}
}//package
Section 276
//MaleOfficerRight (MaleOfficerRight)
package {
public dynamic class MaleOfficerRight extends Customer {
}
}//package
Section 277
//MalePoliceLeft (MalePoliceLeft)
package {
public dynamic class MalePoliceLeft extends Customer {
}
}//package
Section 278
//MalePoliceRight (MalePoliceRight)
package {
public dynamic class MalePoliceRight extends Customer {
}
}//package
Section 279
//MaleStudentLeft (MaleStudentLeft)
package {
public dynamic class MaleStudentLeft extends Customer {
}
}//package
Section 280
//MaleStudentRight (MaleStudentRight)
package {
public dynamic class MaleStudentRight extends Customer {
}
}//package
Section 281
//Money (Money)
package {
import flash.display.*;
public dynamic class Money extends MovieClip {
}
}//package
Section 282
//OldManLeft (OldManLeft)
package {
public dynamic class OldManLeft extends Customer {
}
}//package
Section 283
//OldManLegLeft (OldManLegLeft)
package {
import flash.display.*;
public dynamic class OldManLegLeft extends MovieClip {
public function OldManLegLeft(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 284
//OldManRight (OldManRight)
package {
import flash.accessibility.*;
public dynamic class OldManRight extends Customer {
public function OldManRight(){
addFrameScript(0, frame1);
}
function frame1(){
body.accessibilityProperties = new AccessibilityProperties();
body.accessibilityProperties.name = "oldman";
}
}
}//package
Section 285
//OldWomanLeft (OldWomanLeft)
package {
public dynamic class OldWomanLeft extends Customer {
public function OldWomanLeft(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 286
//OldWomanRight (OldWomanRight)
package {
public dynamic class OldWomanRight extends Customer {
public function OldWomanRight(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 287
//Preloader (Preloader)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
public class Preloader extends MovieClip {
private var percentText:TextField;
var urlPlayMore:String;// = "http://www.flasharcade.com"
public var percent:TextField;
var requestPlayMore:URLRequest;// = null
var timer:Timer;
private var progressBar:Sprite;
public var percentbar:MovieClip;
public var logo:MovieClip;
public static const startFrame:Number = 3;
public static const mainClass:String = "MainClass";
public function Preloader(){
requestPlayMore = null;
urlPlayMore = "http://www.flasharcade.com";
addFrameScript(2, frame3);
stop();
super();
requestPlayMore = new URLRequest(urlPlayMore);
progressBar = (getChildByName("percentbar") as Sprite);
progressBar.scaleX = 0;
percentText = (getChildByName("percent") as TextField);
percentText.text = "0";
timer = new Timer(100, 0);
timer.addEventListener(TimerEvent.TIMER, afterSecond);
timer.start();
logo.buttonMode = true;
logo.useHandCursor = true;
logo.addEventListener(MouseEvent.CLICK, handleClick);
}
private function enterFrameHandler(_arg1:Event):void{
trace(" loading complete");
if (currentFrame >= _slot1.startFrame){
removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
stop();
initApp();
};
}
private function onComplete(_arg1:Event):void{
play();
addEventListener(Event.ENTER_FRAME, enterFrameHandler);
}
function frame3(){
stop();
}
public function handleClick(_arg1:MouseEvent){
var event = _arg1;
try {
navigateToURL(requestPlayMore, "_blank");
} catch(e:Error) {
};
}
public function afterSecond(_arg1:TimerEvent){
var _local2:uint;
var _local3:uint;
var _local4:Number;
_local2 = loaderInfo.bytesLoaded;
_local3 = loaderInfo.bytesTotal;
_local4 = (_local2 / _local3);
progressBar.scaleX = ((_local2 / _local3) * 4);
percentText.text = (Math.round((_local4 * 100)).toString() + "%");
if (_local2 >= _local3){
timer.stop();
play();
addEventListener(Event.ENTER_FRAME, enterFrameHandler);
};
}
private function showProgress(_arg1:ProgressEvent):void{
var _local2:uint;
var _local3:uint;
var _local4:Number;
_local2 = _arg1.bytesLoaded;
_local3 = _arg1.bytesTotal;
_local4 = (_local2 / _local3);
progressBar.scaleX = ((_local2 / _local3) * 4);
percentText.text = (Math.round((_local4 * 100)).toString() + "%");
}
private function initApp():void{
var _local1:Boolean;
var _local2:Class;
var _local3:Sprite;
_local1 = loaderInfo.applicationDomain.hasDefinition(_slot1.mainClass);
trace((" definition : " + _local1));
_local2 = (loaderInfo.applicationDomain.getDefinition(_slot1.mainClass) as Class);
_local3 = (new (_local2) as Sprite);
addChild(_local3);
}
}
}//package
Section 288
//PreparationContainer (PreparationContainer)
package {
import flash.geom.*;
public class PreparationContainer {
public var position:Point;
public var isAlloted:Boolean;// = false
public function PreparationContainer(){
isAlloted = false;
position = new Point();
super();
}
public function init(_arg1:Point){
position.x = _arg1.x;
position.y = _arg1.y;
isAlloted = false;
}
}
}//package
Section 289
//Table (Table)
package {
import flash.display.*;
public class Table extends MovieClip {
private var tableRightCustomer:Customer;// = null
private var rightChair:Chair;// = null
private var tableLeftCustomer:Customer;// = null
private var leftChair:Chair;// = null
public var money0:Money;
public var money1:Money;
private var tableRightOrders:Array;
private var tableLeftOrders:Array;
private var tableIndex:uint;// = 0
public function Table(){
tableLeftOrders = new Array();
tableLeftCustomer = null;
tableRightOrders = new Array();
tableRightCustomer = null;
tableIndex = 0;
leftChair = null;
rightChair = null;
super();
}
public function isTableEmpty():Boolean{
if ((((this.rightChair.getCustomer() == null)) && ((this.leftChair.getCustomer() == null)))){
return (true);
};
return (false);
}
public function init(_arg1:int, _arg2:Chair, _arg3:Chair){
this.tableIndex = _arg1;
this.leftChair = _arg2;
this.rightChair = _arg3;
}
public function getEmptyChair():Chair{
var _local1:Number;
_local1 = Math.random();
if (_local1 < 0.7){
if (this.leftChair.getCustomer() == null){
return (this.leftChair);
};
if (this.rightChair.getCustomer() == null){
return (this.rightChair);
};
} else {
if (this.rightChair.getCustomer() == null){
return (this.rightChair);
};
if (this.leftChair.getCustomer() == null){
return (this.leftChair);
};
};
return (null);
}
}
}//package
Section 290
//WaitingBar (WaitingBar)
package {
import flash.display.*;
public class WaitingBar extends MovieClip {
private var isActive:Boolean;// = false
public function WaitingBar(){
isActive = false;
super();
addFrameScript(0, frame1, 655, frame656);
}
public function init(){
isActive = true;
this.visible = true;
gotoAndPlay(2);
}
public function setStatus(_arg1:Boolean){
isActive = _arg1;
}
public function resetBar(){
isActive = false;
this.visible = false;
}
function frame1(){
stop();
}
function frame656(){
stop();
}
public function getStatus():Boolean{
return (isActive);
}
}
}//package
Section 291
//Welcome (Welcome)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class Welcome extends MovieClip {
public var hs:MovieClip;
var requestAddMore:URLRequest;// = null
var urlPlayMore:String;// = "http://www.flasharcade.com"
public var ipwelcome:MovieClip;
var requestPlayMore:URLRequest;// = null
public var introframe:MovieClip;
var urlAddMoreGames:String;// = "http://www.flasharcade.com/flash-games/"
private static var welcome:Welcome = null;
public function Welcome(){
urlPlayMore = "http://www.flasharcade.com";
requestPlayMore = null;
urlAddMoreGames = "http://www.flasharcade.com/flash-games/";
requestAddMore = null;
super();
requestPlayMore = new URLRequest(urlPlayMore);
requestAddMore = new URLRequest(urlAddMoreGames);
ipwelcome.playmore.addEventListener(MouseEvent.CLICK, handleClick);
ipwelcome.addMore.addEventListener(MouseEvent.CLICK, handleClickAddMore);
introframe.playmore.addEventListener(MouseEvent.CLICK, handleClick);
hs.playmorehs.addEventListener(MouseEvent.CLICK, handleClick);
}
public function handleClickAddMore(_arg1:MouseEvent){
var event = _arg1;
try {
navigateToURL(requestAddMore, "_blank");
} catch(e:Error) {
};
}
public function handleClick(_arg1:MouseEvent){
var event = _arg1;
try {
navigateToURL(requestPlayMore, "_blank");
} catch(e:Error) {
};
}
public function emptyScores(){
var _local1:String;
_local1 = "";
hs.player1.text = _local1;
hs.score1.text = _local1;
hs.date1.text = _local1;
hs.player2.text = _local1;
hs.score2.text = _local1;
hs.date2.text = _local1;
hs.player3.text = _local1;
hs.score3.text = _local1;
hs.date3.text = _local1;
hs.player4.text = _local1;
hs.score4.text = _local1;
hs.date4.text = _local1;
hs.player5.text = _local1;
hs.score5.text = _local1;
hs.date5.text = _local1;
hs.player6.text = _local1;
hs.score6.text = _local1;
hs.date6.text = _local1;
hs.player7.text = _local1;
hs.score7.text = _local1;
hs.date7.text = _local1;
hs.player8.text = _local1;
hs.score8.text = _local1;
hs.date8.text = _local1;
hs.player9.text = _local1;
hs.score9.text = _local1;
hs.date9.text = _local1;
hs.player10.text = _local1;
hs.score10.text = _local1;
hs.date10.text = _local1;
}
public static function getInstance():Welcome{
if (welcome == null){
welcome = new (Welcome);
};
return (welcome);
}
}
}//package
Section 292
//WelcomeSound (WelcomeSound)
package {
import flash.media.*;
public class WelcomeSound extends Sound {
}
}//package
Section 293
//YouWin (YouWin)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;
public class YouWin extends MovieClip {
public var errormesg:TextField;
var urlPlayMore:String;// = "http://www.flasharcade.com"
var requestPlayMore:URLRequest;// = null
public var submitScore:SimpleButton;
public var playMore:SimpleButton;
public var totalScore:TextField;
public var playAgain:SimpleButton;
public var player:TextField;
private static var youWin:YouWin = null;
public function YouWin(){
urlPlayMore = "http://www.flasharcade.com";
requestPlayMore = null;
super();
requestPlayMore = new URLRequest(urlPlayMore);
}
public function getPlayerName():String{
var _local1:String;
_local1 = this.player.text;
if (_local1 == null){
return (null);
};
this.errormesg.text = "";
return (_local1);
}
public function init(){
gotoAndStop(1);
requestPlayMore = new URLRequest(urlPlayMore);
playMore.addEventListener(MouseEvent.CLICK, handleClick);
}
public function handleClick(_arg1:MouseEvent){
var event = _arg1;
try {
navigateToURL(requestPlayMore, "_blank");
} catch(e:Error) {
};
}
public function updateScores(){
this.totalScore.text = MainClass.gameScore.toString();
}
public function resetData(){
this.totalScore.text = " ";
this.player.text = "";
this.errormesg.text = " ";
}
public function setErrorMesg(_arg1:String){
this.errormesg.text = _arg1;
}
public static function getInstance():YouWin{
if (youWin == null){
youWin = new (YouWin);
};
youWin.resetData();
return (youWin);
}
}
}//package
Section 294
//YouWinSound (YouWinSound)
package {
import flash.media.*;
public dynamic class YouWinSound extends Sound {
}
}//package