STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228086
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/11932354?noj=FRM11932354-2DC" width="1" height="1"></div>

Coffee Shop.swf

This is the info page for
Flash #29315

(Click the ID number above for more basic data on this flash file.)


Text
<p align="center"><font face="Calibri" size="16" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>asdf</b></font></p>

Coffee Shop

developed by Armor Games Inc.

© Copyright 2007 Armor Games Inc.

loading...

Coffee Shop

requires Flash Player
version 9.0.45.0

<p align="center"><font face="Calibri" size="20" color="#000000" letterSpacing="0.000000" kerning="1">You have version 01.23.45.67 </font></p>

<p align="center"><font face="Calibri" size="20" color="#0000ff" letterSpacing="0.000000" kerning="1"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target = "_blank"><b>Get the latest version of Flash,</b></a></font></p><p align="center"><font face="Calibri" size="20" color="#000000" letterSpacing="0.000000" kerning="1"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target = "_blank">then come back and play Coffee Shop!</a></font></p>

Abort Game?

Do you want to abort the game?
Choosing "Yes" will abort the current game and return
you to the main menu. Any progress you have made in
this game will be lost.
Choosing "No" will resume the current game.

WWWWWWW

<p align="center"><font face="Calibri" size="14" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>freezing</b></font></p>

<p align="right"><font face="Calibri" size="28" color="#e68900" letterSpacing="0.000000" kerning="1"><b>99</b></font></p>

<p align="left"><font face="Calibri" size="28" color="#e68900" letterSpacing="0.000000" kerning="1"><b>°</b></font></p>

temp

<p align="center"><font face="Calibri" size="14" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>00:00 PM</b></font></p>

<p align="center"><font face="Calibri" size="24" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>DAY 20</b></font></p>

time

<p align="left"><font face="Calibri" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>freezing</b></font></p>

<p align="right"><font face="Calibri" size="16" color="#e68900" letterSpacing="0.000000" kerning="1"><b>99</b></font></p>

<p align="left"><font face="Calibri" size="16" color="#e68900" letterSpacing="0.000000" kerning="1"><b>°</b></font></p>

<p align="center"><font face="Calibri" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>00:00 PM</b></font></p>

<p align="center"><font face="Calibri" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>DAY 20</b></font></p>

<p align="center"><font face="Calibri" size="14" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>freezing</b></font></p>

<p align="right"><font face="Calibri" size="28" color="#e68900" letterSpacing="0.000000" kerning="1"><b>99</b></font></p>

<p align="left"><font face="Calibri" size="28" color="#e68900" letterSpacing="0.000000" kerning="1"><b>°</b></font></p>

<p align="center"><font face="Calibri" size="14" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>00:00 PM</b></font></p>

<p align="center"><font face="Calibri" size="24" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>DAY 20</b></font></p>

Reputation

<p align="right"><font face="Engravers MT" size="30" color="#51c898" letterSpacing="0.000000" kerning="1"><b>99,999.99</b></font></p>

<p align="right"><font face="Engravers MT" size="14" color="#666666" letterSpacing="0.000000" kerning="1"><a href="http://www.armorgames.com" target = "_self"><b>ArmorGames.com</b></a></font></p>

<p align="center"><font face="Calibri" size="19" color="#999999" letterSpacing="0.000000" kerning="1"><b>Start the Day</b></font></p>

<p align="center"><font face="Calibri" size="18" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Days</b></font></p>

<p align="center"><font face="Calibri" size="12" color="#ffff00" letterSpacing="0.000000" kerning="1"><b>No Data Available (Yet)</b></font></p>

99.99

99.99

bittersw

bittersw

$19.99

Price

BUY

units

99999

tsp

99999

cups

99999

99999

99.9

tsp

99.9

cups

99.9

1

unit

99.99

99.99

bittersw

bittersw

9.99

Cups

Coffee

Milk

Sugar

Servings:

99999

Inventory

Recipe

Limited by:

Coffee

WWWWWWW

WWWWWWW

Cups

Inventory

Coffee

Milk

Sugar

9999

9999

9999

9999

<p align="left"><font face="Calibri" size="18" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>$10.00</b></font></p>

Price

<p align="center"><font face="Calibri" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>hours</b></font></p>

Tomorrow's Forecast:

99° freezing

<p align="center"><font face="Calibri" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>asdfasdfqwerhpqwerhpasdff</b></font></p><p align="center"><font face="Calibri" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>asdfasd</b></font></p><p align="center"><font face="Calibri" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>asdasdfasdfasdfasdf</b></font></p>

<p align="center"><font face="Calibri" size="14" color="#ffff00" letterSpacing="0.000000" kerning="1"><b>asdfasdfqwerhpqwerhpasdff</b></font></p><p align="center"><font face="Calibri" size="14" color="#ffff00" letterSpacing="0.000000" kerning="1"><b>asdfasd</b></font></p><p align="center"><font face="Calibri" size="14" color="#ffff00" letterSpacing="0.000000" kerning="1"><b>asdf</b></font></p>

<p align="center"><font face="Curlz MT" size="22" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>End of Day 20</b></font></p>

WWWWWWW

<p align="center"><font face="Curlz MT" size="16" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>WWWWWW</b></font></p>

Rank

Player

Score

testeraesrasert

ERROR

12345

WWWWWWWWWWWW

$012345.67

Enter Your High Score!

Your Name:

Your Score:

<p align="left"><font face="Calibri" size="36" color="#666666" letterSpacing="0.000000" kerning="1"><b>$99999.99</b></font></p>

<p align="left"></p>

High Scores

<p align="center"><font face="Trebuchet MS" size="23" color="#666666" letterSpacing="0.000000" kerning="1">Weekly</font></p>

All-Time

Sold

Out

<p align="center"><font face="Curlz MT" size="20" color="#ffba1a" letterSpacing="0.000000" kerning="1"><b>WWWWWWW</b></font></p>

v

Credits

Developed by Armor Games

<p align="center"><font face="Trebuchet MS" size="20" color="#666666" letterSpacing="0.000000" kerning="1">Produced by . . . . . <font size="24">Daniel McNeely </font>&amp;<font size="24"> <a href="http://www.jeffwofford.com" target = "_blank">Jeff Wofford</a></font></font></p><p align="center"></p><p align="center"><font face="Trebuchet MS" size="20" color="#666666" letterSpacing="0.000000" kerning="1">Programming . . . . . . . . . . . . . . . . . . . <font size="24">Jeff Wofford</font></font></p><p align="center"></p><p align="center"><font face="Trebuchet MS" size="20" color="#666666" letterSpacing="0.000000" kerning="1">Graphics . . . . . . . . . . . . . . . . . . . . . . <font size="24">James Dalby</font></font></p><p align="center"></p><p align="center"><font face="Trebuchet MS" size="20" color="#666666" letterSpacing="0.000000" kerning="1">Music . . . . . . . . . . . . . . . . . . . . . <font size="24">Chris Branscome</font></font></p><p align="center"></p><p align="center"><font face="Trebuchet MS" size="20" color="#666666" letterSpacing="0.000000" kerning="1">Sound Effects . . . <font size="24">Chris Branscome </font>&amp;<font size="24"> Jeff Wofford</font></font></p>

WWWWW

Coffee Shop

© Copyright 2007 Armor Games Inc.

<p align="center"><font face="Curlz MT" size="20" color="#cc3300" letterSpacing="0.000000" kerning="0"><b>Developed by</b><font color="#0066ff"><b> </b><font color="#993300"><a href="http://www.armorgames.com" target = "_self"><b>Armor Games Inc</b></a><b>.</b></font></font></font></p>

Start New Game

You're about to open your own streetside coffee shop.
How much cash can you make in 14 days?

<p align="center"><font face="Curlz MT" size="54" color="#666666" letterSpacing="0.000000" kerning="1"><b>WWWWWWWWW</b></font></p>

What do you want to call your shop?

WWWWWWW

<p align="left"><font face="Trebuchet MS" size="16" color="#666666" letterSpacing="0.000000" kerning="1">Show tutorial</font></p>

Back

Next

<p align="left"><font face="Curlz MT" size="18" color="#999999" letterSpacing="0.000000" kerning="1"><b>10/10</b></font></p>

<p align="left"><font face="Calibri" size="18" color="#000000" letterSpacing="0.000000" kerning="1">Testingasdfawerq</font></p>

<p align="left"><font face="Calibri" size="18" color="#000000" letterSpacing="0.000000" kerning="1">Testingasdfawerq</font></p>

<p align="left"><font face="Curlz MT" size="24" color="#333333" letterSpacing="0.000000" kerning="1"><b>WWWWWWWWWWWWWWW</b></font></p>

999

cost: $99.99

$1.99/unit

<p align="left"><font face="Calibri" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>Inventory - Coffee</b></font></p>

<p align="left"><font face="Calibri" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>Inventory - Coffee</b></font></p>

<p align="right"></p>

<p align="center"><font face="Calibri" size="20" color="#000000" letterSpacing="0.000000" kerning="1">is currently available</font></p><p align="center"><font face="Calibri" size="20" color="#000000" letterSpacing="0.000000" kerning="1">only at </font></p><p align="center"><font face="Calibri" size="20" color="#000000" letterSpacing="0.000000" kerning="1"><a href="http://www.armorgames.com" target = "_blank"><b>ArmorGames.com</b></a></font></p>

ActionScript [AS3]

Section 1
//allbackgrounds_197 (coffeeshop_fla.allbackgrounds_197) package coffeeshop_fla { import flash.display.*; public dynamic class allbackgrounds_197 extends MovieClip { public function allbackgrounds_197(){ addFrameScript(0, frame1, 8, frame9, 18, frame19, 29, frame30); } function frame1(){ stop(); } function frame19(){ stop(); } function frame9(){ stop(); } function frame30(){ stop(); } } }//package coffeeshop_fla
Section 2
//Customer_102 (coffeeshop_fla.Customer_102) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_102 extends MovieClip { public function Customer_102(){ addFrameScript(81, frame82); } function frame82(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 3
//Customer_104 (coffeeshop_fla.Customer_104) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_104 extends MovieClip { public function Customer_104(){ addFrameScript(47, frame48); } function frame48(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 4
//Customer_106 (coffeeshop_fla.Customer_106) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_106 extends MovieClip { public function Customer_106(){ addFrameScript(76, frame77); } function frame77(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 5
//Customer_108 (coffeeshop_fla.Customer_108) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_108 extends MovieClip { public function Customer_108(){ addFrameScript(114, frame115); } function frame115(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 6
//Customer_112 (coffeeshop_fla.Customer_112) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_112 extends MovieClip { public function Customer_112(){ addFrameScript(39, frame40); } function frame40(){ CCustomer(parent).OnConsideringDone(); } } }//package coffeeshop_fla
Section 7
//Customer_114 (coffeeshop_fla.Customer_114) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_114 extends MovieClip { public function Customer_114(){ addFrameScript(27, frame28, 74, frame75, 105, frame106, 159, frame160); } function frame75(){ CCustomer(parent).OnDonePurchasing(); } function frame160(){ CCustomer(parent).OnConsumptionDone(); } function frame106(){ CCustomer(parent).OnWalkDownDone(); } function frame28(){ CCustomer(parent).OnPurchasing(); } } }//package coffeeshop_fla
Section 8
//Customer_119 (coffeeshop_fla.Customer_119) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_119 extends MovieClip { public function Customer_119(){ addFrameScript(66, frame67); } function frame67(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 9
//Customer_121 (coffeeshop_fla.Customer_121) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_121 extends MovieClip { public function Customer_121(){ addFrameScript(53, frame54); } function frame54(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 10
//Customer_123 (coffeeshop_fla.Customer_123) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_123 extends MovieClip { public function Customer_123(){ addFrameScript(61, frame62); } function frame62(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 11
//Customer_125 (coffeeshop_fla.Customer_125) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_125 extends MovieClip { public function Customer_125(){ addFrameScript(88, frame89); } function frame89(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 12
//Customer_129 (coffeeshop_fla.Customer_129) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_129 extends MovieClip { public function Customer_129(){ addFrameScript(39, frame40); } function frame40(){ CCustomer(parent).OnConsideringDone(); } } }//package coffeeshop_fla
Section 13
//Customer_131 (coffeeshop_fla.Customer_131) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_131 extends MovieClip { public function Customer_131(){ addFrameScript(27, frame28, 56, frame57, 87, frame88, 172, frame173); } function frame88(){ CCustomer(parent).OnWalkDownDone(); } function frame173(){ CCustomer(parent).OnConsumptionDone(); } function frame28(){ CCustomer(parent).OnPurchasing(); } function frame57(){ CCustomer(parent).OnDonePurchasing(); } } }//package coffeeshop_fla
Section 14
//Customer_136 (coffeeshop_fla.Customer_136) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_136 extends MovieClip { public function Customer_136(){ addFrameScript(38, frame39); } function frame39(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 15
//Customer_138 (coffeeshop_fla.Customer_138) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_138 extends MovieClip { public function Customer_138(){ addFrameScript(43, frame44); } function frame44(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 16
//Customer_140 (coffeeshop_fla.Customer_140) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_140 extends MovieClip { public function Customer_140(){ addFrameScript(46, frame47); } function frame47(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 17
//Customer_142 (coffeeshop_fla.Customer_142) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_142 extends MovieClip { public function Customer_142(){ addFrameScript(57, frame58); } function frame58(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 18
//Customer_147 (coffeeshop_fla.Customer_147) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_147 extends MovieClip { public function Customer_147(){ addFrameScript(39, frame40); } function frame40(){ CCustomer(parent).OnConsideringDone(); } } }//package coffeeshop_fla
Section 19
//Customer_149 (coffeeshop_fla.Customer_149) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_149 extends MovieClip { public function Customer_149(){ addFrameScript(27, frame28, 56, frame57, 87, frame88, 141, frame142); } function frame88(){ CCustomer(parent).OnWalkDownDone(); } function frame28(){ CCustomer(parent).OnPurchasing(); } function frame57(){ CCustomer(parent).OnDonePurchasing(); } function frame142(){ CCustomer(parent).OnConsumptionDone(); } } }//package coffeeshop_fla
Section 20
//Customer_156 (coffeeshop_fla.Customer_156) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_156 extends MovieClip { public function Customer_156(){ addFrameScript(38, frame39); } function frame39(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 21
//Customer_158 (coffeeshop_fla.Customer_158) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_158 extends MovieClip { public function Customer_158(){ addFrameScript(43, frame44); } function frame44(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 22
//Customer_160 (coffeeshop_fla.Customer_160) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_160 extends MovieClip { public function Customer_160(){ addFrameScript(53, frame54); } function frame54(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 23
//Customer_162 (coffeeshop_fla.Customer_162) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_162 extends MovieClip { public function Customer_162(){ addFrameScript(69, frame70); } function frame70(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 24
//Customer_167 (coffeeshop_fla.Customer_167) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_167 extends MovieClip { public function Customer_167(){ addFrameScript(39, frame40); } function frame40(){ CCustomer(parent).OnConsideringDone(); } } }//package coffeeshop_fla
Section 25
//Customer_169 (coffeeshop_fla.Customer_169) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_169 extends MovieClip { public function Customer_169(){ addFrameScript(27, frame28, 56, frame57, 87, frame88, 141, frame142); } function frame88(){ CCustomer(parent).OnWalkDownDone(); } function frame28(){ CCustomer(parent).OnPurchasing(); } function frame57(){ CCustomer(parent).OnDonePurchasing(); } function frame142(){ CCustomer(parent).OnConsumptionDone(); } } }//package coffeeshop_fla
Section 26
//Customer_174 (coffeeshop_fla.Customer_174) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_174 extends MovieClip { public function Customer_174(){ addFrameScript(66, frame67); } function frame67(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 27
//Customer_176 (coffeeshop_fla.Customer_176) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_176 extends MovieClip { public function Customer_176(){ addFrameScript(53, frame54); } function frame54(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 28
//Customer_178 (coffeeshop_fla.Customer_178) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_178 extends MovieClip { public function Customer_178(){ addFrameScript(61, frame62); } function frame62(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 29
//Customer_180 (coffeeshop_fla.Customer_180) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_180 extends MovieClip { public function Customer_180(){ addFrameScript(88, frame89); } function frame89(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 30
//Customer_59 (coffeeshop_fla.Customer_59) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_59 extends MovieClip { public function Customer_59(){ addFrameScript(39, frame40); } function frame40(){ CCustomer(parent).OnConsideringDone(); } } }//package coffeeshop_fla
Section 31
//Customer_61 (coffeeshop_fla.Customer_61) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_61 extends MovieClip { public function Customer_61(){ addFrameScript(27, frame28, 59, frame60, 87, frame88, 202, frame203); } function frame88(){ CCustomer(parent).OnWalkDownDone(); } function frame203(){ CCustomer(parent).OnConsumptionDone(); } function frame28(){ CCustomer(parent).OnPurchasing(); } function frame60(){ CCustomer(parent).OnDonePurchasing(); } } }//package coffeeshop_fla
Section 32
//Customer_67 (coffeeshop_fla.Customer_67) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_67 extends MovieClip { public function Customer_67(){ addFrameScript(50, frame51); } function frame51(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 33
//Customer_69 (coffeeshop_fla.Customer_69) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_69 extends MovieClip { public function Customer_69(){ addFrameScript(41, frame42); } function frame42(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 34
//Customer_71 (coffeeshop_fla.Customer_71) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_71 extends MovieClip { public function Customer_71(){ addFrameScript(49, frame50); } function frame50(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 35
//Customer_73 (coffeeshop_fla.Customer_73) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_73 extends MovieClip { public function Customer_73(){ addFrameScript(86, frame87); } function frame87(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 36
//Customer_77 (coffeeshop_fla.Customer_77) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_77 extends MovieClip { public function Customer_77(){ addFrameScript(39, frame40); } function frame40(){ CCustomer(parent).OnConsideringDone(); } } }//package coffeeshop_fla
Section 37
//Customer_79 (coffeeshop_fla.Customer_79) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_79 extends MovieClip { public function Customer_79(){ addFrameScript(27, frame28, 48, frame49, 79, frame80, 194, frame195); } function frame80(){ CCustomer(parent).OnWalkDownDone(); } function frame195(){ CCustomer(parent).OnConsumptionDone(); } function frame28(){ CCustomer(parent).OnPurchasing(); } function frame49(){ CCustomer(parent).OnDonePurchasing(); } } }//package coffeeshop_fla
Section 38
//Customer_84 (coffeeshop_fla.Customer_84) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_84 extends MovieClip { public function Customer_84(){ addFrameScript(56, frame57); } function frame57(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 39
//Customer_86 (coffeeshop_fla.Customer_86) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_86 extends MovieClip { public function Customer_86(){ addFrameScript(103, frame104); } function frame104(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 40
//Customer_88 (coffeeshop_fla.Customer_88) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_88 extends MovieClip { public function Customer_88(){ addFrameScript(49, frame50); } function frame50(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 41
//Customer_90 (coffeeshop_fla.Customer_90) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_90 extends MovieClip { public function Customer_90(){ addFrameScript(101, frame102); } function frame102(){ CCustomer(parent).OnReactionDone(); } } }//package coffeeshop_fla
Section 42
//Customer_95 (coffeeshop_fla.Customer_95) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_95 extends MovieClip { public function Customer_95(){ addFrameScript(39, frame40); } function frame40(){ CCustomer(parent).OnConsideringDone(); } } }//package coffeeshop_fla
Section 43
//Customer_97 (coffeeshop_fla.Customer_97) package coffeeshop_fla { import flash.display.*; public dynamic class Customer_97 extends MovieClip { public function Customer_97(){ addFrameScript(27, frame28, 70, frame71, 101, frame102, 201, frame202); } function frame71(){ CCustomer(parent).OnDonePurchasing(); } function frame202(){ CCustomer(parent).OnConsumptionDone(); } function frame102(){ CCustomer(parent).OnWalkDownDone(); } function frame28(){ CCustomer(parent).OnPurchasing(); } } }//package coffeeshop_fla
Section 44
//Logo_221 (coffeeshop_fla.Logo_221) package coffeeshop_fla { import flash.display.*; public dynamic class Logo_221 extends MovieClip { public var _scrolling:MovieClip; public var _maskA:MovieClip; } }//package coffeeshop_fla
Section 45
//Precacher_13 (coffeeshop_fla.Precacher_13) package coffeeshop_fla { import flash.display.*; public dynamic class Precacher_13 extends MovieClip { public function Precacher_13(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package coffeeshop_fla
Section 46
//Color (fl.motion.Color) package fl.motion { import flash.display.*; import flash.geom.*; public class Color extends ColorTransform { private var _tintMultiplier:Number;// = 0 private var _tintColor:Number;// = 0 public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){ _tintColor = 0; _tintMultiplier = 0; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } public function setTint(_arg1:uint, _arg2:Number):void{ var _local3:uint; var _local4:uint; var _local5:uint; this._tintColor = _arg1; this._tintMultiplier = _arg2; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2))); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); this.redOffset = Math.round((_local3 * _arg2)); this.greenOffset = Math.round((_local4 * _arg2)); this.blueOffset = Math.round((_local5 * _arg2)); } public function set tintColor(_arg1:uint):void{ this.setTint(_arg1, this.tintMultiplier); } public function get brightness():Number{ return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1)); } private function deriveTintColor():uint{ var _local1:Number; var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; _local1 = (1 / this.tintMultiplier); _local2 = Math.round((this.redOffset * _local1)); _local3 = Math.round((this.greenOffset * _local1)); _local4 = Math.round((this.blueOffset * _local1)); _local5 = (((_local2 << 16) | (_local3 << 8)) | _local4); return (_local5); } public function get tintMultiplier():Number{ return (this._tintMultiplier); } public function get tintColor():uint{ return (this._tintColor); } public function set brightness(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < -1){ _arg1 = -1; }; }; _local2 = (1 - Math.abs(_arg1)); _local3 = 0; if (_arg1 > 0){ _local3 = (_arg1 * 0xFF); }; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2)); this.redOffset = (this.greenOffset = (this.blueOffset = _local3)); } public function set tintMultiplier(_arg1:Number):void{ this.setTint(this.tintColor, _arg1); } private function parseXML(_arg1:XML=null):Color{ var _local2:XML; var _local3:XML; var _local4:String; var _local5:uint; if (!_arg1){ return (this); }; _local2 = _arg1.elements()[0]; if (!_local2){ return (this); }; for each (_local3 in _local2.attributes()) { _local4 = _local3.localName(); if (_local4 == "tintColor"){ _local5 = (Number(_local3.toString()) as uint); this.tintColor = _local5; } else { this[_local4] = Number(_local3.toString()); }; }; return (this); } public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{ var _local4:Number; var _local5:uint; var _local6:uint; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:uint; var _local14:uint; var _local15:uint; var _local16:uint; var _local17:uint; _local4 = (1 - _arg3); _local5 = ((_arg1 >> 24) & 0xFF); _local6 = ((_arg1 >> 16) & 0xFF); _local7 = ((_arg1 >> 8) & 0xFF); _local8 = (_arg1 & 0xFF); _local9 = ((_arg2 >> 24) & 0xFF); _local10 = ((_arg2 >> 16) & 0xFF); _local11 = ((_arg2 >> 8) & 0xFF); _local12 = (_arg2 & 0xFF); _local13 = ((_local5 * _local4) + (_local9 * _arg3)); _local14 = ((_local6 * _local4) + (_local10 * _arg3)); _local15 = ((_local7 * _local4) + (_local11 * _arg3)); _local16 = ((_local8 * _local4) + (_local12 * _arg3)); _local17 = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16); return (_local17); } public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{ var _local4:Number; var _local5:ColorTransform; _local4 = (1 - _arg3); _local5 = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3))); return (_local5); } public static function fromXML(_arg1:XML):Color{ return (Color(new (Color).parseXML(_arg1))); } } }//package fl.motion
Section 47
//ambient_cold (ambient_cold) package { import flash.media.*; public dynamic class ambient_cold extends Sound { } }//package
Section 48
//ambient_fair (ambient_fair) package { import flash.media.*; public dynamic class ambient_fair extends Sound { } }//package
Section 49
//ambient_rainy (ambient_rainy) package { import flash.media.*; public dynamic class ambient_rainy extends Sound { } }//package
Section 50
//audio_gain (audio_gain) package { import flash.media.*; public dynamic class audio_gain extends Sound { } }//package
Section 51
//audio_pay (audio_pay) package { import flash.media.*; public dynamic class audio_pay extends Sound { } }//package
Section 52
//CButton (CButton) package { import flash.events.*; import flash.display.*; import flash.text.*; public class CButton extends MovieClip { private var _soundOver:String; private var _soundClicked:String; private var _textColorOut:uint;// = 0x666666 private var _textColorOver:uint;// = 0x333333 protected var _buttonID:String; public var _myText:TextField; private var _isEnabled:Boolean;// = true private var _isOver:Boolean;// = false protected var _fnCallOnClicked:Function; private var _textColorDisabled:uint;// = 0xCCCCCC private var _textColorDown:uint;// = 0x333333 public function CButton(){ _isEnabled = true; _textColorDisabled = 0xCCCCCC; _textColorOut = 0x666666; _textColorOver = 0x333333; _textColorDown = 0x333333; _isOver = false; super(); } public function onMouseOver(_arg1:Event):void{ if (((_isEnabled) && (!(_isOver)))){ _isOver = true; gotoAndStop("over"); if (_myText != null){ _myText.textColor = _textColorOver; }; if (_soundOver != null){ CCoffeeSound._instance.PlaySound(_soundOver); }; }; } public function SetSounds(_arg1:String, _arg2:String){ _soundOver = _arg1; _soundClicked = _arg2; } public function onMouseUp(_arg1:Event):void{ if (_isEnabled){ if (_soundClicked != null){ CCoffeeSound._instance.PlaySound(_soundClicked); }; if (_buttonID){ CMetaStatsCollector._instance.AddButtonClick(_buttonID); }; if (_fnCallOnClicked != null){ _fnCallOnClicked(); }; onMouseOver(_arg1); }; } public function onMouseOut(_arg1:Event):void{ if (_isEnabled){ _isOver = false; gotoAndStop("out"); if (_myText != null){ _myText.textColor = _textColorOut; }; }; } public function IsEnabled():Boolean{ return (_isEnabled); } public function SetEnabled(_arg1:Boolean):void{ if (_isEnabled == _arg1){ return; }; _isEnabled = _arg1; if (_isEnabled){ gotoAndStop("out"); _isOver = false; if (_myText != null){ _myText.textColor = _textColorOut; }; } else { gotoAndStop("disabled"); if (_myText != null){ _myText.textColor = _textColorDisabled; }; }; } public function Initialize(_arg1:String, _arg2:Function, _arg3:String){ if (_myText != null){ _myText.text = _arg1; _myText.textColor = _textColorOut; }; _buttonID = _arg3; _fnCallOnClicked = _arg2; addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); addEventListener(MouseEvent.MOUSE_UP, onMouseUp); gotoAndStop("out"); } public function onMouseDown(_arg1:Event):void{ if (_isEnabled){ gotoAndStop("down"); if (_myText != null){ _myText.textColor = _textColorDown; }; }; } public function SetTextColors(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint):void{ _textColorDisabled = _arg1; _textColorOut = _arg2; _textColorOver = _arg3; _textColorDown = _arg4; } } }//package
Section 53
//CButtonBack (CButtonBack) package { public class CButtonBack extends CButton { public function CButtonBack(){ SetSounds("menu_button_beep2", "menu_button_beep1"); } } }//package
Section 54
//CButtonBuy (CButtonBuy) package { import flash.events.*; import flash.text.*; public class CButtonBuy extends CButton { public var _textCostPerUnit:TextField; private var _amount:Number; private var _unitName:String; private var _cost:int; private var _commodity:String; public var _textCost:TextField; public function CButtonBuy(_arg1:String, _arg2:String, _arg3:Number, _arg4:int, _arg5:Function, _arg6:String){ var _local7:int; super(); Initialize("", _arg5, _arg6); SetTextColors(0x666666, 0x333333, 0xFFFFFF, 0xFFFFFF); _commodity = _arg1; _unitName = _arg2; _amount = _arg3; _cost = _arg4; _myText.text = String(_amount); _textCost.text = ("cost: " + CCoffeeShopApp.ConvertUnitToString("Cash", _cost)); _local7 = (_cost / _amount); _textCostPerUnit.text = ((CCoffeeShopApp.ConvertUnitToString("Cash", _local7) + "/") + _unitName); onMouseOut(null); } public function get _costPerPurchase():int{ return (_cost); } override public function onMouseUp(_arg1:Event):void{ if (IsEnabled()){ if (_buttonID){ CMetaStatsCollector._instance.AddButtonClick(_buttonID); }; if (_fnCallOnClicked != null){ _fnCallOnClicked(_commodity, _amount, _cost); }; onMouseOver(_arg1); }; } override public function onMouseOut(_arg1:Event):void{ _textCost.visible = false; _textCostPerUnit.visible = false; super.onMouseOut(_arg1); } override public function onMouseOver(_arg1:Event):void{ _textCost.visible = true; _textCostPerUnit.visible = true; super.onMouseOver(_arg1); } } }//package
Section 55
//CButtonGraphStatToggle (CButtonGraphStatToggle) package { import flash.events.*; import flash.display.*; public class CButtonGraphStatToggle extends CButton { protected var m_isSelected:Boolean;// = false private var m_parentButton:CButtonStatFolder; private var m_doHideWhenReachDestination:Boolean;// = false private var m_restoreY:Number; private var m_nextSibling:CButtonGraphStatToggle; private var m_hierarchicalLoc:Vector2D; private var m_destinationY:Number; private var m_displayName:String; protected var m_controller:CGraphControl; public var _background:MovieClip; public function CButtonGraphStatToggle(_arg1:CGraphControl, _arg2:String, _arg3:uint, _arg4:String, _arg5:CButtonStatFolder=null, _arg6:Number=0){ m_isSelected = false; m_doHideWhenReachDestination = false; m_hierarchicalLoc = new Vector2D(0, 0); super(); addEventListener(Event.ENTER_FRAME, onEnterFrame); m_controller = _arg1; m_displayName = _arg2; m_parentButton = _arg5; SetTextColors(0x999999, 0xCCCCCC, 0xFFFFFF, 0xFFFFFF); Initialize(_arg2, null, _arg4); _background.gotoAndStop("unselected"); DrawLineColorBar(_arg3); } public function IsSelected():Boolean{ return (m_isSelected); } public function get _buttonX():Number{ return (m_hierarchicalLoc.x); } public function UpdateEnabled():Boolean{ var _local1:Array; var _local2:Boolean; _local1 = CCoffeeShopGame._instance._shop.GetStatsAllTime(_statName); _local2 = ((_local1) && ((_local1.length > 1))); SetEnabled(_local2); return (_local2); } override public function onMouseUp(_arg1:Event):void{ super.onMouseUp(_arg1); if (IsEnabled()){ ToggleSelection(); }; } public function set _buttonY(_arg1:Number):void{ m_hierarchicalLoc.y = _arg1; } protected function DrawLineColorBar(_arg1:uint):void{ var _local2:MovieClip; _local2 = new MovieClip(); _local2.graphics.lineStyle(5, _arg1, 1, true, LineScaleMode.NORMAL, CapsStyle.NONE); _local2.graphics.moveTo(109, (height / 2)); _local2.graphics.lineTo((109 + 20), (height / 2)); addChild(_local2); } public function set _buttonX(_arg1:Number):void{ m_hierarchicalLoc.x = _arg1; } public function SetY(_arg1:Number):void{ _buttonY = _arg1; m_restoreY = _buttonY; m_destinationY = _buttonY; m_doHideWhenReachDestination = false; } public function get _parentButton():CButtonStatFolder{ return (m_parentButton); } public function get _statName():String{ return (m_displayName); } override public function onMouseOut(_arg1:Event):void{ super.onMouseOut(_arg1); if (IsEnabled()){ m_controller.OnButtonOut(m_displayName); }; } public function get _nestleHeight():Number{ return (height); } public function ExpandFromParent(_arg1:Boolean):void{ visible = true; m_destinationY = m_restoreY; m_doHideWhenReachDestination = false; if (_arg1){ _buttonY = m_restoreY; }; } public function get _buttonY():Number{ return (m_hierarchicalLoc.y); } public function ToggleSelection():void{ SetSelected(!(m_isSelected)); } public function get _nextSibling():CButtonGraphStatToggle{ return (m_nextSibling); } public function AdjustNestle(_arg1:CButtonGraphStatToggle, _arg2:Boolean=false):void{ if (_arg1){ m_destinationY = ((_arg1._destinationY + _arg1._nestleHeight) + 4); m_doHideWhenReachDestination = false; if (_arg2){ _buttonY = m_destinationY; }; }; if (m_nextSibling){ m_nextSibling.AdjustNestle(this, _arg2); }; } public function SetNextSibling(_arg1:CButtonGraphStatToggle):void{ m_nextSibling = _arg1; } public function onEnterFrame(_arg1:Event):void{ if (Math.abs((_buttonY - m_destinationY)) > 2){ _buttonY = MathUtil.Lerp(_buttonY, m_destinationY, 0.4); } else { if (m_doHideWhenReachDestination){ visible = false; }; }; if (m_parentButton){ x = (m_parentButton.x + _buttonX); y = (m_parentButton.y + _buttonY); } else { x = _buttonX; y = _buttonY; }; } public function CollapseIntoParent(_arg1:Boolean):void{ if (_parentButton){ m_destinationY = 0; m_doHideWhenReachDestination = true; if (_arg1){ _buttonY = m_destinationY; visible = false; }; }; } public function get _destinationY():Number{ return (m_destinationY); } override public function onMouseOver(_arg1:Event):void{ super.onMouseOver(_arg1); if (IsEnabled()){ m_controller.OnButtonOver(m_displayName); }; } public function SetSelected(_arg1:Boolean):void{ m_isSelected = _arg1; if (m_isSelected){ _background.gotoAndStop("selected"); m_controller.OnButtonSelected(m_displayName); } else { _background.gotoAndStop("unselected"); m_controller.OnButtonUnselected(m_displayName); }; } } }//package
Section 56
//CButtonLeaderboard (CButtonLeaderboard) package { import flash.events.*; import flash.display.*; public class CButtonLeaderboard extends MovieClip { protected var _fnCallOnClicked:Function; public function OnMouseUp(_arg1:MouseEvent):void{ if (_fnCallOnClicked != null){ _fnCallOnClicked(); }; OnMouseOver(_arg1); } public function OnMouseOut(_arg1:MouseEvent):void{ gotoAndStop("out"); } public function OnMouseDown(_arg1:MouseEvent):void{ gotoAndStop("down"); } public function Initialize(_arg1:Function){ _fnCallOnClicked = _arg1; addEventListener(MouseEvent.MOUSE_OVER, OnMouseOver); addEventListener(MouseEvent.MOUSE_OUT, OnMouseOut); addEventListener(MouseEvent.MOUSE_DOWN, OnMouseDown); addEventListener(MouseEvent.MOUSE_UP, OnMouseUp); gotoAndStop("out"); } public function OnMouseOver(_arg1:MouseEvent):void{ gotoAndStop("over"); } } }//package
Section 57
//CButtonLeaderboardClose (CButtonLeaderboardClose) package { public class CButtonLeaderboardClose extends CButtonLeaderboard { } }//package
Section 58
//CButtonLeaderboardExtreme (CButtonLeaderboardExtreme) package { public class CButtonLeaderboardExtreme extends CButtonLeaderboard { } }//package
Section 59
//CButtonLeaderboardStar (CButtonLeaderboardStar) package { public class CButtonLeaderboardStar extends CButtonLeaderboard { } }//package
Section 60
//CButtonLeaveEndOfDay (CButtonLeaveEndOfDay) package { public class CButtonLeaveEndOfDay extends CButton { public function CButtonLeaveEndOfDay(){ SetTextColors(0x1E1E1E, 0x999999, 0xCCCCCC, 0xFFFFFF); } } }//package
Section 61
//CButtonMenu (CButtonMenu) package { import flash.display.*; public class CButtonMenu extends CButton { public var _waftingBackground:MovieClip; public function CButtonMenu(){ _waftingBackground.y = (_waftingBackground.y - y); SetTextColors(15322031, 0x666666, 0x333333, 0x333333); SetSounds("menu_button_beep2", "menu_button_beep1"); } } }//package
Section 62
//CButtonPlay (CButtonPlay) package { public class CButtonPlay extends CButton { public function CButtonPlay(){ SetSounds("menu_button_beep2", "menu_button_beep1"); } } }//package
Section 63
//CButtonPlayCommit (CButtonPlayCommit) package { public class CButtonPlayCommit extends CButtonMenu { } }//package
Section 64
//CButtonQuit (CButtonQuit) package { public class CButtonQuit extends CButton { public function CButtonQuit(){ SetTextColors(0x1E1E1E, 0x999999, 0xCCCCCC, 0xFFFFFF); } } }//package
Section 65
//CButtonStartTheDay (CButtonStartTheDay) package { public class CButtonStartTheDay extends CButton { public function CButtonStartTheDay(){ SetTextColors(0x1E1E1E, 0x999999, 0xCCCCCC, 0xFFFFFF); } } }//package
Section 66
//CButtonStatFolder (CButtonStatFolder) package { public class CButtonStatFolder extends CButtonGraphStatToggle { private var m_childButtons:Array; private var m_initialHeight:Number; public function CButtonStatFolder(_arg1:CGraphControl, _arg2:String, _arg3:uint, _arg4:String, _arg5:CButtonStatFolder=null, _arg6:Number=0){ m_childButtons = new Array(); super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); m_initialHeight = height; } override public function UpdateEnabled():Boolean{ SetEnabled(true); return (false); } public function AddChildButton(_arg1:CButtonGraphStatToggle, _arg2:Number){ if (m_childButtons.length > 0){ m_childButtons[(m_childButtons.length - 1)].SetNextSibling(_arg1); }; m_childButtons.push(_arg1); parent.addChild(_arg1); _arg1._buttonX = 18; _arg1.SetY(_arg2); } override protected function DrawLineColorBar(_arg1:uint):void{ } override public function get _nestleHeight():Number{ var _local1:Number; var _local2:uint; var _local3:CButtonGraphStatToggle; if (m_isSelected){ _local1 = 0; _local2 = 0; while (_local2 < m_childButtons.length) { _local3 = m_childButtons[_local2]; _local1 = (_local1 + (_local3._nestleHeight + 4)); _local2++; }; return ((m_initialHeight + _local1)); //unresolved jump }; return (m_initialHeight); } public function FixupChildren():void{ var _local1:uint; var _local2:CButtonGraphStatToggle; _local1 = 0; while (_local1 < m_childButtons.length) { _local2 = m_childButtons[_local1]; if (parent.getChildIndex(_local2) > parent.getChildIndex(this)){ parent.swapChildren(_local2, this); }; _local1++; }; } public function CollapseExpand(_arg1:Boolean, _arg2:Boolean=false):void{ var _local3:uint; m_isSelected = !(_arg1); _local3 = 0; while (_local3 < m_childButtons.length) { if (_arg1){ m_childButtons[_local3].CollapseIntoParent(_arg2); } else { m_childButtons[_local3].ExpandFromParent(_arg2); }; _local3++; }; if (_nextSibling){ _nextSibling.AdjustNestle(this, _arg2); }; } override public function SetSelected(_arg1:Boolean):void{ m_isSelected = _arg1; if (m_isSelected){ _background.gotoAndStop("selected"); m_controller.UnselectAllOtherFolders(this); } else { _background.gotoAndStop("unselected"); }; CollapseExpand(!(m_isSelected)); } } }//package
Section 67
//CButtonTutorialBack (CButtonTutorialBack) package { public class CButtonTutorialBack extends CButton { } }//package
Section 68
//CButtonTutorialNext (CButtonTutorialNext) package { public class CButtonTutorialNext extends CButton { } }//package
Section 69
//CButtonUndoLastPurchase (CButtonUndoLastPurchase) package { public class CButtonUndoLastPurchase extends CButton { public function CButtonUndoLastPurchase(){ SetTextColors(0x1E1E1E, 0x999999, 0xCCCCCC, 0xFFFFFF); } } }//package
Section 70
//CCheckbox (CCheckbox) package { import flash.events.*; import flash.display.*; import flash.text.*; public class CCheckbox extends MovieClip { public var _myText:TextField; public var _myCheck:MovieClip; private var _checked:Boolean;// = false public var _myHighlight:MovieClip; public function CCheckbox(){ _checked = false; super(); } public function onMouseOver(_arg1:Event):void{ _myHighlight.gotoAndStop("over"); } public function set _isChecked(_arg1:Boolean):void{ if (_checked != _arg1){ _checked = _arg1; }; _myCheck.visible = _checked; } public function onMouseUp(_arg1:Event):void{ _isChecked = !(_isChecked); _myHighlight.gotoAndStop("over"); } public function onMouseOut(_arg1:Event):void{ _myHighlight.gotoAndStop("out"); } public function get _isChecked():Boolean{ return (_checked); } public function Initialize(_arg1:String, _arg2:Boolean){ _myText.text = _arg1; addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); addEventListener(MouseEvent.MOUSE_UP, onMouseUp); _myHighlight.gotoAndStop("out"); _isChecked = _arg2; } public function onMouseDown(_arg1:Event):void{ _myHighlight.gotoAndStop("down"); } } }//package
Section 71
//CCoffeeLoader (CCoffeeLoader) package { import flash.events.*; import flash.display.*; public class CCoffeeLoader extends MovieClip { public var _cup:MovieClip; public var _attractMode:MovieClip; public function CCoffeeLoader(){ addFrameScript(20, frame21); stop(); ConfigureListeners(parent.loaderInfo); } private function OnDisappearDone():void{ stop(); CCoffeeShopApp(parent).OnLoadDone(); } private function initHandler(_arg1:Event):void{ } private function ConfigureListeners(_arg1:IEventDispatcher):void{ _arg1.addEventListener(Event.COMPLETE, completeHandler); _arg1.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler); _arg1.addEventListener(Event.INIT, initHandler); _arg1.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); _arg1.addEventListener(Event.OPEN, openHandler); _arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler); } private function httpStatusHandler(_arg1:HTTPStatusEvent):void{ } private function progressHandler(_arg1:ProgressEvent):void{ _cup.gotoAndStop(int(((100 * _arg1.bytesLoaded) / _arg1.bytesTotal))); } private function ioErrorHandler(_arg1:IOErrorEvent):void{ } function frame21(){ OnDisappearDone(); } private function openHandler(_arg1:Event):void{ } private function completeHandler(_arg1:Event):void{ MovieClip(parent).stop(); gotoAndPlay("disappear"); } } }//package
Section 72
//CCoffeeLogo (CCoffeeLogo) package { import flash.display.*; public class CCoffeeLogo extends MovieClip { public var _steamA:MovieClip; public var _steamC:MovieClip; public var _steamB:MovieClip; public function CCoffeeLogo(){ _steamA._scrolling.gotoAndPlay(0); _steamA._maskA.gotoAndPlay(0); _steamB._scrolling.gotoAndPlay(50); _steamB._maskA.gotoAndPlay(50); _steamC._scrolling.gotoAndPlay(111); _steamC._maskA.gotoAndPlay(111); } } }//package
Section 73
//CCoffeeShopApp (CCoffeeShopApp) package { import flash.events.*; import flash.net.*; import flash.display.*; import flash.text.*; import flash.ui.*; import flash.system.*; public class CCoffeeShopApp extends MovieClip implements IMovieClipFreshHost { private var m_mainLeaderboardSystem; private var _gameOverFinalCash:int; public var _textVersion:TextField; private var _isGameAborted:Boolean;// = false private var _gameOverDaysPlayed:Number; public var _gameLoader:CCoffeeLoader; public var _mode:String;// = "loading" private var m_submittedPlayerName:String; public var _submitHighScore:CLeaderboardScoreSubmitDisplay; public var _errorAndWaitDisplay:CLeaderboardErrorWaitDisplay; private var _isConsideredWin:Boolean; private var _theShopName:String;// = "" private var _doShowTutorial:Boolean;// = true public var _menuIntro:CMenuIntro; private var _isGameOver:Boolean;// = false public var _game:CCoffeeShopGame; private var m_weeklyFetchLeaderboardSystem; private static var s_instance:CCoffeeShopApp; public function CCoffeeShopApp(){ var _local1:Boolean; var _local2:int; _mode = "loading"; _theShopName = ""; _doShowTutorial = true; _isGameOver = false; _isGameAborted = false; m_mainLeaderboardSystem = new CLeaderboardSystem("coffee"); m_weeklyFetchLeaderboardSystem = new CLeaderboardSystem("coffee"); super(); addFrameScript(8, frame9, 33, frame34, 48, frame49, 60, frame61, 70, frame71); s_instance = this; _local1 = !(HandlePlayerVersionIssues()); if (_local1){ return; }; new CRandom(new Date().getMilliseconds()); new CCoffeeSound(this); new CMetaStatsCollector(); _local2 = 0; if (((!((_cookie == null))) && (_cookie.nVisits))){ _local2 = _cookie.nVisits; }; _local2++; CMetaStatsCollector._instance.RecordVisit(_local2, root.loaderInfo.url); _cookie.nVisits = _local2; if (((!((_cookie == null))) && (!((_cookie.lastLeaderboardName == null))))){ m_submittedPlayerName = _cookie.lastLeaderboardName; }; gotoAndPlay("loaderwait"); stage.addEventListener(KeyboardEvent.KEY_UP, OnKeyUp); } public function get _shopName():String{ return (_theShopName); } public function OnGameOver(_arg1:Boolean, _arg2:int, _arg3:uint):void{ _isGameOver = true; _isGameAborted = false; _isConsideredWin = _arg1; _gameOverFinalCash = _arg2; _gameOverDaysPlayed = _arg3; gotoAndPlay("game disappear"); } function frame71(){ OnDoneHidingEnterHighScores(); } public function OnAbortGame():void{ CMetaStatsCollector._instance.RecordGameAbort(); CCoffeeSound._instance.FadeAllAmbients(); _isGameOver = true; _isGameAborted = true; gotoAndPlay("game disappear"); } public function GotoGame(_arg1:String, _arg2:Boolean):void{ _theShopName = _arg1; _doShowTutorial = _arg2; _isGameOver = false; _mode = "game"; CMetaStatsCollector._instance.RecordGameStart(); gotoAndPlay("game"); } function frame61(){ stop(); } public function OnIntroMenuFrame():void{ stop(); } public function OnChildConstructed(_arg1:CMovieClipFresh):void{ if (_arg1 == _submitHighScore){ _submitHighScore.Initialize(m_mainLeaderboardSystem, DoneEnteringHighScore, _errorAndWaitDisplay); }; } public function OnMenuIntroDoneInitializing(_arg1:CMenuIntro):void{ if (_isGameOver){ if (!_isGameAborted){ _arg1.JumpToHighScores(); }; _isGameOver = false; }; } public function get _mainLeaderboardSystem():CLeaderboardSystem{ return (m_mainLeaderboardSystem); } public function OnDoneHidingEnterHighScores():void{ _mode = "menu"; OnGameOverGotoHighScores(); } public function get _showTutorial():Boolean{ return (_doShowTutorial); } public function get _leaderboardPlayerName():String{ return (m_submittedPlayerName); } public function get _weeklyFetchLeaderboardSystem():CLeaderboardSystem{ return (m_weeklyFetchLeaderboardSystem); } function frame9(){ OnIntroMenuFrame(); } public function OnGameOverGotoHighScores():void{ _mode = "menu"; gotoAndStop("intromenu"); } function frame34(){ OnGameDoneAppearing(); } public function OnLoadDone():void{ CMetaStatsCollector._instance.RecordLoaded(); _mode = "menu"; gotoAndStop("intromenu"); } private function OnKeyUp(_arg1:KeyboardEvent):void{ if (((((_arg1.ctrlKey) && (_arg1.shiftKey))) && ((_arg1.keyCode == Keyboard.END)))){ _textVersion.text = ("ver " + GetGameVersionString()); }; } public function OnGameDoneDisappearing():void{ stop(); _mode = "menu"; if (((!(_isGameAborted)) && (_isConsideredWin))){ gotoAndPlay("enter high score"); } else { OnGameOverGotoHighScores(); }; } public function OnGameDoneAppearing():void{ stop(); _game.OnDoneAppearing(); } public function GetGameOverScore():int{ return (_gameOverFinalCash); } function frame49(){ OnGameDoneDisappearing(); } public function DoneEnteringHighScore(_arg1:int):void{ m_submittedPlayerName = _submitHighScore.GetSubmittedPlayerName(); if (m_submittedPlayerName){ _cookie.lastLeaderboardName = m_submittedPlayerName; }; CCoffeeSound._instance.FadeAllAmbients(); gotoAndPlay("hideEnterHighScore"); } protected function HandlePlayerVersionIssues():Boolean{ var _local1:Array; var _local2:String; var _local3:int; var _local4:int; _local1 = Capabilities.version.split(" ").join(",").split(","); _local2 = _local1[0]; _local3 = _local1[1]; _local4 = _local1[3]; if ((((_local3 < 9)) || ((_local4 < 45)))){ _textVersion.text = (((("You have version " + _local3) + ".0.") + _local4) + ".0."); stop(); return (false); }; return (true); } protected static function GetNumberString(_arg1:Number, _arg2:int=1):String{ var _local3:Number; _local3 = Math.pow(10, _arg2); return (String((int((_arg1 * _local3)) / _local3))); } public static function GetGameVersionString():String{ return ("1.7"); } public static function get _cookie():Object{ if (SharedObject.getLocal("CoffeeShop") != null){ return (SharedObject.getLocal("CoffeeShop").data); }; return (null); } public static function get _instance():CCoffeeShopApp{ return (s_instance); } protected static function CashAmountToString(_arg1:int):String{ var _local2:String; var _local3:Number; var _local4:int; var _local5:uint; var _local6:Boolean; var _local7:Number; var _local8:int; _local3 = MathUtil.Sign(_arg1); _arg1 = Math.abs(_arg1); _local4 = (_arg1 % 100); _arg1 = (_arg1 / 100); _local2 = ("." + ToStringPadZerosLeft(_local4, 2)); _local5 = uint(_arg1); if (_local5 == 0){ _local2 = ("0" + _local2); }; _local6 = true; while (_local5 > 0) { _local7 = (_local5 % 1000); _local5 = (_local5 / 1000); if (!_local6){ _local2 = ("," + _local2); }; _local8 = 3; if (_local5 == 0){ _local8 = 0; }; _local2 = (ToStringPadZerosLeft(_local7, _local8) + _local2); _local6 = false; }; if (_local3 < 0){ _local2 = ("-" + _local2); }; return (_local2); } public static function ConvertUnitToString(_arg1:String, _arg2:Number):String{ var _local3:int; var _local4:Number; var _local5:int; var _local6:Number; var _local7:String; var _local8:String; var _local9:String; if (_arg1 == "Cash"){ return (("$" + CashAmountToString(_arg2))); }; if ((((_arg1 == "Days")) || ((_arg1 == "degrees")))){ return (String(int(_arg2))); }; if ((((((_arg1 == "tsp")) || ((_arg1 == "cups")))) || ((_arg1 == "Inventory")))){ return (GetNumberString(_arg2, 1)); }; if (_arg1 == "Reputation"){ return ((String(int((_arg2 * 100))) + "%")); }; if (_arg1 == "Hours"){ _arg2 = (_arg2 + 6); _local3 = int(_arg2); if (_local3 > 12){ _local3 = (_local3 - 12); }; return (String(_local3)); //unresolved jump }; if (_arg1 == "TimeOfDay"){ _local4 = (7 + (_arg2 * 12)); _local5 = _local4; _local6 = (60 * (_local4 - _local5)); _local6 = (Math.floor((_local6 / 15)) * 15); _local7 = String(_local5); if (_local5 > 12){ _local7 = String((_local5 - 12)); }; if (_local5 == 0){ _local7 = "12"; }; while (_local7.length < 2) { _local7 = ("0" + _local7); }; _local8 = ToStringPadZerosLeft(_local6, 2); _local9 = "AM"; if (_local5 > 11){ _local9 = "PM"; }; return (((((_local7 + ":") + _local8) + " ") + _local9)); //unresolved jump }; return (String(_arg2)); } public static function ToStringPadZerosLeft(_arg1:uint, _arg2:uint):String{ var _local3:String; _local3 = ""; while ((((_local3.length < _arg2)) || ((_arg1 > 0)))) { if (_arg1 > 0){ _local3 = (String((_arg1 % 10)) + _local3); _arg1 = (_arg1 / 10); } else { _local3 = ("0" + _local3); }; }; return (_local3); } public static function PickFromWeightedArray(_arg1:Array):int{ var _local2:Number; var _local3:int; var _local4:Number; var _local5:int; _local2 = Math.random(); if (CRandom._instance != null){ _local2 = CRandom._instance.GetRandom(); }; _local3 = _arg1.length; _local4 = 0; _local5 = 0; while (_local5 < _local3) { _local4 = (_local4 + _arg1[_local5]._weight); _local5++; }; _local2 = (_local2 * _local4); _local4 = 0; _local5 = 0; while (_local5 < _local3) { _local4 = (_local4 + _arg1[_local5]._weight); if (_local4 >= _local2){ return (_local5); }; _local5++; }; return (-1); } public static function get _stage():Stage{ return (_instance.stage); } } }//package
Section 74
//CCoffeeShopGame (CCoffeeShopGame) package { import flash.events.*; import fl.motion.*; import flash.utils.*; import flash.ui.*; public class CCoffeeShopGame extends CMovieClipFresh { private var _zoomServing:Number;// = 1.25 private var _flashFramesPerDay:Number; private var _hasBegunApproachingEndOfDay:Boolean;// = false public var _hud:CHUD; private var _numCustomersPerDay:uint;// = 24 private var _gamePhase:String;// = "initial" private var _tomorrowsTemperature:int; private var _zoomPreparing:Number;// = 1 private var _realWorldSecondsPerDay:Number;// = 40 private var _theTime:Number;// = 0 public var _scene:CScene; private var _temperature:int;// = 51 public var _tutorial:CTutorial; private var _maxDays:uint;// = 14 private var _mapOneTimeAlertMarkers:Array; private var _skippingToEndOfDay:Boolean;// = false private var _temperatureWaveFrequency:Number;// = -2 private var _myShop:CShop; private var _random:CRandom; private static var s_instance:CCoffeeShopGame; public function CCoffeeShopGame(){ _temperature = 51; _temperatureWaveFrequency = -2; _theTime = 0; _hasBegunApproachingEndOfDay = false; _gamePhase = "initial"; _realWorldSecondsPerDay = 40; _flashFramesPerDay = (_realWorldSecondsPerDay * 30); _zoomServing = 1.25; _zoomPreparing = 1; _skippingToEndOfDay = false; _numCustomersPerDay = 24; _maxDays = 14; _mapOneTimeAlertMarkers = new Array(); super(); s_instance = this; _random = CRandom._instance; if (!_random){ _random = new CRandom(getTimer()); }; _temperatureWaveFrequency = _random.GetNumInRange(-2.2, -1.8); stop(); _myShop = new CShop(CCoffeeShopApp._instance._shopName); _hud.stop(); _hud._weatherDisplay.UpdateDisplay(); _scene.SetZoom(_zoomPreparing); addEventListener(Event.ENTER_FRAME, onEnterFrame); stage.addEventListener(KeyboardEvent.KEY_UP, OnKeyUp); } public function get _isTimePaused():Boolean{ return (!((_gamePhase == "serving"))); } public function get _initialCash():int{ return (3000); } public function EnterServingMode():void{ _hud.EnterServingMode(); _shop.OnStartOfDay(); _gamePhase = "serving"; _scene.SetTargetZoom(_zoomServing, 3); _scene.StartMakingCustomers(_numCustomersPerDay, (_flashFramesPerDay * 0.75)); CCoffeeSound._instance.PlaySound("morning"); CCoffeeSound._instance.PlayMusic("music_bold", 0.5, 3, int.MAX_VALUE, 5219); CCoffeeSound._instance.FadeOutMusic("music_calm", 2); } protected function GetProgressMessage():String{ if ((_maxDays - 2) == _dayNumber){ return ("One Day Left!\rTomorrow is your last day. Make as much money as you can!"); }; if ((((_myShop._cash >= 100000)) && ((_mapOneTimeAlertMarkers[0] == undefined)))){ _mapOneTimeAlertMarkers[0] = _theTime; return ("Bonanza!\rYou've Cleared a Grand!"); }; if ((((_myShop._cash >= 50000)) && ((_mapOneTimeAlertMarkers[1] == undefined)))){ _mapOneTimeAlertMarkers[1] = _theTime; return ("Wow! You've made more than\rFive Hundred Smackeroos!"); }; if ((((_myShop._cash >= (_initialCash * 10))) && ((_mapOneTimeAlertMarkers[2] == undefined)))){ _mapOneTimeAlertMarkers[2] = _theTime; return ("Congratulations!\rYou've made Ten Times the money you started with!"); }; if ((((_myShop._cash >= 10000)) && ((_mapOneTimeAlertMarkers[3] == undefined)))){ _mapOneTimeAlertMarkers[3] = _theTime; return ("Congratulations!\rYou broke the $100 mark!"); }; if (_myShop.GetDailyCupsSold() == 0){ return ("The Big Zilcher!\rYou sold no coffee today. Try lowering the price."); }; if ((((_myShop._reputation <= -0.5)) && ((_mapOneTimeAlertMarkers[10] == undefined)))){ _mapOneTimeAlertMarkers[11] = _theTime; return ("Your Reputation is Terrible!\rWord around town: You're a crook.\rLower the price or increase quality to improve your reputation."); }; if ((((_myShop._reputation <= -0.05)) && ((_mapOneTimeAlertMarkers[12] == undefined)))){ _mapOneTimeAlertMarkers[12] = _theTime; return ("Yuck Alert!\rCustomers say you charge too much for bad-tasting coffee.\rLower the price or increase quality to improve your reputation."); }; if ((((_myShop._reputation >= 0.1)) && ((_mapOneTimeAlertMarkers[13] == undefined)))){ _mapOneTimeAlertMarkers[13] = _theTime; return ("People Like You.\rCustomers say your coffee is priced just right.\rGood on ya!"); }; if ((((_myShop._reputation >= 0.5)) && ((_mapOneTimeAlertMarkers[14] == undefined)))){ _mapOneTimeAlertMarkers[14] = _theTime; return ("You're the Talk of the Town!\rCustomers love your coffee and your prices."); }; if (_myShop.GetNumServingsAvailable() == 0){ return ("You Ran Out of Stock.\rMake sure to buy enough inventory at the start of each day.\rOtherwise, you're just throwing away sales!"); }; if (_myShop.GetDailyProfitsLosses() >= 2000){ return ("Wow! Strong showing today."); }; if (_myShop.GetDailyProfitsLosses() >= 1000){ return ((("Great! You made " + CCoffeeShopApp.ConvertUnitToString("Cash", _myShop.GetDailyProfitsLosses())) + " today.")); }; if (_myShop.GetDailyProfitsLosses() >= 500){ return ((("Way to go! You made " + CCoffeeShopApp.ConvertUnitToString("Cash", _myShop.GetDailyProfitsLosses())) + " today.")); }; if (_myShop.GetDailyProfitsLosses() > 0){ return ("Not bad. You better than broke even today."); }; if (_myShop.GetDailyProfitsLosses() <= -2000){ return ((("Oh No! You lost " + CCoffeeShopApp.ConvertUnitToString("Cash", _myShop.GetDailyProfitsLosses())) + " today.\rTry to stay in the black tomorrow.")); }; if (_myShop.GetDailyProfitsLosses() <= -1000){ return ((("Rough day today. You lost " + CCoffeeShopApp.ConvertUnitToString("Cash", _myShop.GetDailyProfitsLosses())) + ".\rDon't worry - you'll turn it around.")); }; if (_myShop.GetDailyProfitsLosses() <= -500){ return ("Slow day today. Tomorrow'll be better."); }; if (_myShop.GetDailyProfitsLosses() <= 0){ return ("Bad news: You lost money today.\rGood news: You didn't lose much."); }; return ("You're doing great!"); } public function OnDoneAppearing():void{ stop(); } public function get _numDaysPerGame():uint{ return (_maxDays); } public function get _hour12():int{ if (_hour24 > 12){ return ((_hour24 - 12)); }; return (_hour24); } public function AbortGame():void{ CCoffeeSound._instance.FadeAllAmbients(); CCoffeeSound._instance.FadeOutMusic("music_bold", 3); CCoffeeSound._instance.FadeOutMusic("music_calm", 2); CCoffeeShopApp._instance.OnAbortGame(); } public function GetGameOverMessage():String{ var _local1:Number; if (IsGameWon()){ _local1 = (_myShop._cash - _initialCash); if (_local1 > 0){ return ((((("You Win!\rYou Made " + CCoffeeShopApp.ConvertUnitToString("Cash", _local1)) + " in ") + _maxDays) + " Days!\rClick Continue to post your high score.")); }; return ((((("Well, You Survived.\rYou ended up with " + CCoffeeShopApp.ConvertUnitToString("Cash", _myShop._cash)) + " after ") + _maxDays) + " days.\rClick Continue to post your score.")); } else { }; return (!NULL!); } override public function FirstFrameInitialize(_arg1:Event):void{ EnterPreparingMode(); super.FirstFrameInitialize(_arg1); } protected function BeginApproachingEndOfDay():void{ _scene.SetTargetZoom(_zoomPreparing, 4); _hasBegunApproachingEndOfDay = true; } public function get _gameTime():Number{ return (_theTime); } public function get _hour24():int{ return ((7 + int((_gameTime * 12)))); } public function IsGameOver():Boolean{ return (((IsGameWon()) || (IsGameLost()))); } protected function UpdateTime():void{ var _local1:int; if (!_isTimePaused){ _local1 = _hour24; _theTime = (_theTime + (1 / _flashFramesPerDay)); if (_timeOfDay > 0.99){ OnEndOfDay(); } else { if (_hour24 > _local1){ _shop.RecordHourlyStats(); }; if ((((_timeOfDay > 0.8)) && (!(_hasBegunApproachingEndOfDay)))){ BeginApproachingEndOfDay(); }; }; }; } protected function OnEndOfDay():void{ var _local1:String; var _local2:String; _hasBegunApproachingEndOfDay = false; _gamePhase = "end of day"; _tomorrowsTemperature = CRandom._instance.GetIntInRange(_minTemperature, _maxTemperature); CCoffeeShopGame._instance._shop.OnEndOfDay(); _local1 = GetProgressMessage(); _local2 = DoSpoilage(); if (IsGameOver()){ _local1 = GetGameOverMessage(); _local2 = ""; }; _hud.GoToEndOfDay((_dayNumber + 1), _local1, _local2, _tomorrowsTemperature, GetDescriptionForTemperature(_tomorrowsTemperature), GetColorForTemperature(_tomorrowsTemperature)); } protected function DoSpoilage():String{ return (_myShop.DoNightlySpoilage()); } protected function ForceSkipToEndOfDay():void{ _skippingToEndOfDay = true; while (_gamePhase == "serving") { UpdateTime(); _scene.MaybeMakeCustomer(); }; _skippingToEndOfDay = false; } public function GetColorForTemperature(_arg1:int):uint{ return (Color.interpolateColor(8684799, 0xE68900, ((_arg1 - CCoffeeShopGame._instance._minTemperature) / (CCoffeeShopGame._instance._maxTemperature - CCoffeeShopGame._instance._minTemperature)))); } public function get _phase():String{ return (_gamePhase); } public function get _dayNumber():int{ return (int(_gameTime)); } public function IsGameWon():Boolean{ return ((_dayNumber >= (_maxDays - 1))); } public function get _isAnteMeridian():Boolean{ return ((_hour24 < 12)); } public function get _maxTemperature():int{ return (80); } public function get _temperatureFarenheit():int{ return (_temperature); } public function GetDescriptionForTemperature(_arg1:int):String{ var _local2:String; _local2 = "freezing"; if (_arg1 > 32){ _local2 = "cold"; }; if (_arg1 > 50){ _local2 = "cool"; }; if (_arg1 > 65){ _local2 = "warm"; }; return (_local2); } public function onEnterFrame(_arg1:Event):void{ UpdateTime(); _hud._weatherDisplay.UpdateDisplay(); } public function IsGameLost():Boolean{ var _local1:Array; var _local2:Array; var _local3:Array; var _local4:Number; var _local5:uint; var _local6:Number; _local1 = _myShop.GetMinimalRecipe(); _local2 = new Array(); _local2[0] = Math.max(0, (1 - _myShop.GetInventoryAmount("Cups"))); _local2[1] = Math.max(0, (_local1["Coffee"] - _myShop.GetInventoryAmount("Coffee"))); _local2[2] = Math.max(0, (_local1["Milk"] - _myShop.GetInventoryAmount("Milk"))); _local2[3] = Math.max(0, (_local1["Sugar"] - _myShop.GetInventoryAmount("Sugar"))); _local3 = _myShop.GetBuyTiers(); _local4 = 0; _local5 = 0; while (_local5 < _local3.length) { _local6 = Math.ceil((_local2[_local5] / _local3[_local5][0]._amount)); _local4 = (_local4 + (_local6 * _local3[_local5][0]._cost)); _local5++; }; return ((_local4 > _myShop._cash)); } public function get _isSkippingToEndOfDay():Boolean{ return (_skippingToEndOfDay); } public function DoneWithEndOfDay():void{ CMetaStatsCollector._instance.RecordEndOfDay(_dayNumber); if (IsGameOver()){ CCoffeeSound._instance.FadeOutMusic("music_bold", 3); CCoffeeShopApp._instance.OnGameOver(IsGameWon(), _myShop._cash, _dayNumber); return; }; EnterPreparingMode(); _theTime = Math.ceil(_theTime); _temperature = _tomorrowsTemperature; _scene._realScene.SetWeather(GetWeatherTagForTemperature(_temperature)); } public function OnKeyUp(_arg1:KeyboardEvent):void{ if (((((_arg1.ctrlKey) && (_arg1.shiftKey))) && ((_arg1.keyCode == Keyboard.UP)))){ _theTime = (_theTime + 1); }; if (_phase == "serving"){ if (((((_arg1.ctrlKey) && (_arg1.shiftKey))) && ((_arg1.keyCode == Keyboard.SPACE)))){ ForceSkipToEndOfDay(); }; }; } public function get _shop():CShop{ return (_myShop); } public function get _minTemperature():int{ return (20); } public function GetWeatherTagForTemperature(_arg1:int):String{ var _local2:String; _local2 = "cold"; if (_arg1 > 32){ _local2 = "rainy"; }; if (_arg1 > 50){ _local2 = "fair"; }; if (_arg1 > 65){ _local2 = "hot"; }; return (_local2); } public function EnterPreparingMode():void{ _hud.EnterPreparingMode(); _gamePhase = "preparing"; CCoffeeSound._instance.PlayMusic("music_calm", 0.4, 5, int.MAX_VALUE); CCoffeeSound._instance.FadeOutMusic("music_bold", 3); } public function get _timeOfDay():Number{ return ((_gameTime - int(_gameTime))); } public static function get _instance():CCoffeeShopGame{ return (s_instance); } } }//package
Section 75
//CCoffeeSound (CCoffeeSound) package { import flash.events.*; import flash.media.*; import flash.utils.*; public class CCoffeeSound { private var m_arrQueuedSounds:Array; private var m_mapAmbientSounds:Array; private var m_mapExistingSounds:Array; private var m_mapMusicControllers:Array; private var m_strCurrentAmbient:String; private static var s_instance:CCoffeeSound; public function CCoffeeSound(_arg1:IEventDispatcher){ m_mapExistingSounds = new Array(); m_mapMusicControllers = new Array(); m_mapAmbientSounds = new Array(); m_arrQueuedSounds = new Array(); super(); s_instance = this; _arg1.addEventListener(Event.ENTER_FRAME, OnEnterFrame); } public function FadeAllAmbients():void{ var _local1:String; for (_local1 in m_mapAmbientSounds) { m_mapAmbientSounds[_local1].FadeOut(2); }; m_strCurrentAmbient = null; } public function OnSoundFinished(_arg1:Event):void{ var _local2:String; for (_local2 in m_mapExistingSounds) { if (m_mapExistingSounds[_local2].sound == _arg1.target){ m_mapExistingSounds[_local2] = undefined; break; }; }; } public function PlayAmbient(_arg1:String, _arg2:Number=0.5):void{ var sound:Sound; var soundClass:Class; var soundName = _arg1; var maxVolume = _arg2; if (m_strCurrentAmbient == soundName){ return; }; if (m_mapAmbientSounds[m_strCurrentAmbient]){ m_mapAmbientSounds[m_strCurrentAmbient].FadeOut(2); }; if (!m_mapAmbientSounds[soundName]){ try { soundClass = Class(getDefinitionByName(soundName)); } catch(e:ReferenceError) { return; }; sound = new (soundClass); m_mapAmbientSounds[soundName] = new CMusicController(sound, maxVolume, 2, int.MAX_VALUE); } else { m_mapAmbientSounds[soundName].Play(2, int.MAX_VALUE); }; m_strCurrentAmbient = soundName; } public function PlayMusic(_arg1:String, _arg2:Number, _arg3:Number=0, _arg4:uint=0, _arg5:uint=0):void{ var sound:Sound; var newMusicController:CMusicController; var soundClass:Class; var soundName = _arg1; var maxVolume = _arg2; var fadeInSeconds = _arg3; var loopCount = _arg4; var loopOffset = _arg5; if (m_mapMusicControllers[soundName]){ m_mapMusicControllers[soundName].SetMaxVolume(maxVolume); m_mapMusicControllers[soundName].Play(fadeInSeconds, loopCount, loopOffset); return; }; try { soundClass = Class(getDefinitionByName(soundName)); } catch(e:ReferenceError) { return; }; sound = new (soundClass); newMusicController = new CMusicController(sound, maxVolume, fadeInSeconds, loopCount, loopOffset); m_mapMusicControllers[soundName] = newMusicController; } public function FadeOutMusic(_arg1:String, _arg2:Number):void{ if (m_mapMusicControllers[_arg1]){ m_mapMusicControllers[_arg1].FadeOut(_arg2); }; } public function OnEnterFrame(_arg1:Event):void{ var _local2:Number; var _local3:uint; var _local4:Object; _local2 = (getTimer() / 1000); _local3 = 0; while (_local3 < m_arrQueuedSounds.length) { _local4 = m_arrQueuedSounds[_local3]; if (_local2 >= _local4.playTime){ m_arrQueuedSounds.splice(_local3, 1); _local3--; PlaySound(_local4.soundName, _local4.volume, 0, _local4.quashedByPrior, _local4.interruptPrior); }; _local3++; }; } public function PlaySound(_arg1:String, _arg2:Number=1, _arg3:Number=0, _arg4:Boolean=false, _arg5:Boolean=false):void{ var sound:Sound; var newSoundChannel:SoundChannel; var transform:SoundTransform; var soundClass:Class; var soundName = _arg1; var volume = _arg2; var leadingDelaySeconds = _arg3; var quashedByPrior = _arg4; var interruptPrior = _arg5; if (leadingDelaySeconds > 0){ m_arrQueuedSounds.push({soundName:soundName, volume:volume, playTime:((getTimer() / 1000) + leadingDelaySeconds), quashedByPrior:quashedByPrior, interruptPrior:interruptPrior}); return; }; if (quashedByPrior){ if (m_mapExistingSounds[soundName]){ return; }; }; if (interruptPrior){ if (m_mapExistingSounds[soundName]){ m_mapExistingSounds[soundName].channel.stop(); }; }; try { soundClass = Class(getDefinitionByName(soundName)); } catch(e:ReferenceError) { return; }; sound = new (soundClass); newSoundChannel = sound.play(); transform = newSoundChannel.soundTransform; transform.volume = volume; newSoundChannel.soundTransform = transform; newSoundChannel.addEventListener(Event.SOUND_COMPLETE, OnSoundFinished); m_mapExistingSounds[soundName] = {sound:sound, channel:newSoundChannel}; } public static function get _instance():CCoffeeSound{ return (s_instance); } } }//package
Section 76
//CCustomer (CCustomer) package { import flash.events.*; import flash.display.*; public class CCustomer extends MovieClip { private var _commitmentPrice:int; private var _walkRateVertical:Number;// = 0 private var _considerWindowX:Number; private var _kSatisfiedWithEquity:Number;// = 1 private var _state:String;// = "appearing" private var _walkRate:Number; private var _walkDirection:Number;// = 1 private static var s_idealRecipe:Array; public function CCustomer(_arg1:Number=1, _arg2:Number=182, _arg3:Number=205, _arg4:Number=300, _arg5:Number=356, _arg6:Number=-101, _arg7:Number=96){ _walkRate = -(_lateralWalkSpeed); _walkDirection = 1; _walkRateVertical = 0; _state = "appearing"; _kSatisfiedWithEquity = 1; super(); if (s_idealRecipe == null){ s_idealRecipe = new Array(); s_idealRecipe["Coffee"] = 4; s_idealRecipe["Milk"] = 2; s_idealRecipe["Sugar"] = 4; }; addEventListener(Event.ENTER_FRAME, onEnterFrame); _considerWindowX = CRandom._instance.GetNumInRange(_arg6, _arg7); gotoAndStop("walking"); _walkDirection = _arg1; _walkRate = (-(_lateralWalkSpeed) * _walkDirection); _walkRateVertical = 0; scaleX = (scaleX * _walkDirection); x = CRandom._instance.GetNumInRange((_walkDirection * _arg4), (_walkDirection * _arg5)); y = CRandom._instance.GetNumInRange(_arg2, _arg3); if (((!((CCoffeeShopGame._instance == null))) && (CCoffeeShopGame._instance._isSkippingToEndOfDay))){ OnConsideringDone(); if (_state == "consuming"){ OnPurchasing(); OnConsumptionDone(); }; Destroy(); }; } protected function GetDemand():Number{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = (1 - ((0.75 * (CCoffeeShopGame._instance._temperatureFarenheit - CCoffeeShopGame._instance._minTemperature)) / (CCoffeeShopGame._instance._maxTemperature - CCoffeeShopGame._instance._minTemperature))); _local2 = (1 - ((CCoffeeShopGame._instance._shop._pricePerServing / 100) / (10 / 0.9))); _local3 = CCoffeeShopGame._instance._shop._reputation; _local4 = 0.4; _local5 = ((_local1 * _local2) + (_local3 * _local4)); return (_local5); } public function NormalizePrice(_arg1:int):Number{ return (((_arg1 / 100) / 10)); } public function get _lateralWalkSpeed():Number{ return (5); } public function AssessRecipeQuality(_arg1:Array):Number{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = MathUtil.Clamp((_arg1["Coffee"] / s_idealRecipe["Coffee"]), 0, 1); _local3 = MathUtil.Clamp((_arg1["Milk"] / s_idealRecipe["Milk"]), 0, 1); _local4 = MathUtil.Clamp((_arg1["Sugar"] / s_idealRecipe["Sugar"]), 0, 1); _local5 = ((_local2 * _local3) * _local4); return (_local5); } protected function DecideWantToPurchase():Boolean{ var _local1:Number; var _local2:Boolean; var _local3:String; _local1 = GetDemand(); _local2 = (CRandom._instance.GetRandom() < _local1); _local3 = GetDominantReasonForDemand(_local2); CCoffeeShopGame._instance._scene.SpawnThoughtBubbleConsideration(this, _local3, _local2); return (_local2); } public function OnDonePurchasing():void{ _walkRateVertical = _verticalWalkSpeed; } public function get _verticalWalkSpeed():Number{ return (1); } public function OnConsideringDone():void{ if ((((((((CCoffeeShopApp._instance._mode == "game")) && (!((CCoffeeShopGame._instance == null))))) && ((CCoffeeShopGame._instance._shop.GetNumServingsAvailable() > 0)))) && (DecideWantToPurchase()))){ _commitmentPrice = CCoffeeShopGame._instance._shop._pricePerServing; _state = "consuming"; gotoAndStop("consuming"); _walkRateVertical = -(_verticalWalkSpeed); } else { _state = "exiting"; gotoAndStop("walking"); _walkRate = (-(_lateralWalkSpeed) * _walkDirection); }; } protected function GetDominantReasonForDemand(_arg1:Boolean):String{ var _local2:Array; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:int; _local2 = new Array(); _local3 = (1 - ((0.75 * (CCoffeeShopGame._instance._temperatureFarenheit - CCoffeeShopGame._instance._minTemperature)) / (CCoffeeShopGame._instance._maxTemperature - CCoffeeShopGame._instance._minTemperature))); _local4 = (1 - ((CCoffeeShopGame._instance._shop._pricePerServing / 100) / (10 / 0.9))); _local5 = CCoffeeShopGame._instance._shop._reputation; _local6 = 0.5; _local2[0] = {_weight:_local3, _reason:"Weather"}; _local2[1] = {_weight:_local4, _reason:"Price"}; _local2[2] = {_weight:Math.abs((_local5 * _local6)), _reason:"Reputation"}; if (!_arg1){ _local2[0]._weight = (1 - _local2[0]._weight); _local2[1]._weight = (1 - _local2[1]._weight); if (_local5 > 0){ _local2[2]._weight = 0; }; } else { if (_local5 < 0){ _local2[2]._weight = 0; }; }; _local7 = CCoffeeShopApp.PickFromWeightedArray(_local2); return (_local2[_local7]._reason); } public function onEnterFrame(_arg1:Event):void{ var _local2:Boolean; x = (x + _walkRate); y = (y + _walkRateVertical); if (_state == "appearing"){ _local2 = MathUtil.Equivalent(MathUtil.Sign((_considerWindowX - x)), _walkDirection); if ((((CCoffeeShopApp._instance._mode == "game")) && ((((CCoffeeShopGame._instance == null)) || ((((CCoffeeShopGame._instance._shop.GetNumServingsAvailable() > 0)) && (_local2))))))){ _state = "considering"; _walkRate = 0; gotoAndStop("considering"); }; }; if ((((((_walkRate < 0)) && ((x < -400)))) || ((((_walkRate > 0)) && ((x > 400)))))){ Destroy(); }; } public function OnConsumptionDone():void{ var _local1:Number; var _local2:String; var _local3:uint; _state = "reacting"; _walkRateVertical = 0; _local1 = DecideReaction(); CCoffeeShopGame._instance._shop.AddReputation(_local1); if (_local1 != 0){ _local2 = IdentifyChiefCommodityCausingReaction((_local1 < 0)); if (_local2 != ""){ CCoffeeShopGame._instance._scene.SpawnThoughtBubbleReaction(this, _local2, (_local1 > 0)); }; }; if (_local1 < -0.3){ gotoAndStop("reaction - vomiting"); _local3 = CRandom._instance.GetIntInRange(0, 4); CCoffeeSound._instance.PlaySound(("reaction_vomit" + _local3), 0.4, 1); } else { if (_local1 < -0.1){ gotoAndStop("reaction - displeased"); CCoffeeSound._instance.PlaySound("reaction_displeased", 0.4, 0.75); } else { if (_local1 < 0.1){ gotoAndStop("reaction - middling"); CCoffeeSound._instance.PlaySound("reaction_middling", 0.2); } else { gotoAndStop("reaction - pleased"); CCoffeeSound._instance.PlaySound("reaction_pleased", 0.5); }; }; }; } public function OnWalkDownDone():void{ _walkRateVertical = 0; } protected function DecideReaction():Number{ var _local1:Number; var _local2:Number; var _local3:Number; _local1 = AssessRecipeQuality(CCoffeeShopGame._instance._shop.GetRecipe()); _local2 = NormalizePrice(_commitmentPrice); _local3 = (_local1 - (_local2 * _kSatisfiedWithEquity)); return (_local3); } public function Destroy():void{ visible = false; _state = "dormant"; removeEventListener(Event.ENTER_FRAME, onEnterFrame); if (parent){ parent.removeChild(this); }; } protected function IdentifyChiefCommodityCausingReaction(_arg1:Boolean):String{ var _local2:Array; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _local2 = CCoffeeShopGame._instance._shop.GetRecipe(); _local3 = MathUtil.Clamp((_local2["Coffee"] / s_idealRecipe["Coffee"]), 0, 1); _local4 = MathUtil.Clamp((_local2["Milk"] / s_idealRecipe["Milk"]), 0, 1); _local5 = MathUtil.Clamp((_local2["Sugar"] / s_idealRecipe["Sugar"]), 0, 1); _local6 = 0.1; if (_arg1){ if (((((_local4 - _local3) > _local6)) && (((_local5 - _local3) > _local6)))){ return ("Coffee"); }; if (((((_local3 - _local4) > _local6)) && (((_local5 - _local4) > _local6)))){ return ("Milk"); }; if (((((_local3 - _local5) > _local6)) && (((_local4 - _local5) > _local6)))){ return ("Sugar"); }; return ("Price"); //unresolved jump }; if (((((_local3 - _local4) > _local6)) && (((_local3 - _local5) > _local6)))){ return ("Coffee"); }; if (((((_local4 - _local3) > _local6)) && (((_local4 - _local5) > _local6)))){ return ("Milk"); }; if (((((_local5 - _local3) > _local6)) && (((_local5 - _local4) > _local6)))){ return ("Sugar"); }; return ("Price"); } public function OnPurchasing():void{ if (CCoffeeShopGame._instance._shop.GetNumServingsAvailable() > 0){ CCoffeeShopGame._instance._shop.PurchaseServing(_commitmentPrice); }; _walkRateVertical = 0; } public function OnReactionDone():void{ _state = "exiting"; gotoAndStop("walking"); _walkRate = -(_lateralWalkSpeed); } } }//package
Section 77
//CCustomerBizGirl (CCustomerBizGirl) package { public class CCustomerBizGirl extends CCustomer { public function CCustomerBizGirl(_arg1:Number=1, _arg2:Number=182, _arg3:Number=205, _arg4:Number=300, _arg5:Number=356, _arg6:Number=-101, _arg7:Number=96){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7); } } }//package
Section 78
//CCustomerFat (CCustomerFat) package { public class CCustomerFat extends CCustomer { public function CCustomerFat(_arg1:Number=1, _arg2:Number=182, _arg3:Number=205, _arg4:Number=300, _arg5:Number=356, _arg6:Number=-101, _arg7:Number=96){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7); } override public function get _lateralWalkSpeed():Number{ return (4); } override public function get _verticalWalkSpeed():Number{ return (0.9); } } }//package
Section 79
//CCustomerGranny (CCustomerGranny) package { public class CCustomerGranny extends CCustomer { public function CCustomerGranny(_arg1:Number=1, _arg2:Number=182, _arg3:Number=205, _arg4:Number=300, _arg5:Number=356, _arg6:Number=-101, _arg7:Number=96){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7); } override public function get _lateralWalkSpeed():Number{ return (3.5); } override public function get _verticalWalkSpeed():Number{ return (0.8); } } }//package
Section 80
//CCustomerPope (CCustomerPope) package { public class CCustomerPope extends CCustomer { public function CCustomerPope(_arg1:Number=1, _arg2:Number=182, _arg3:Number=205, _arg4:Number=300, _arg5:Number=356, _arg6:Number=-101, _arg7:Number=96){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7); } override public function get _lateralWalkSpeed():Number{ return (3.5); } override public function get _verticalWalkSpeed():Number{ return (0.8); } } }//package
Section 81
//CCustomerPreppie (CCustomerPreppie) package { public class CCustomerPreppie extends CCustomer { public function CCustomerPreppie(_arg1:Number=1, _arg2:Number=182, _arg3:Number=205, _arg4:Number=300, _arg5:Number=356, _arg6:Number=-101, _arg7:Number=96){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7); } } }//package
Section 82
//CCustomerPurseDog (CCustomerPurseDog) package { public class CCustomerPurseDog extends CCustomer { public function CCustomerPurseDog(_arg1:Number=1, _arg2:Number=182, _arg3:Number=205, _arg4:Number=300, _arg5:Number=356, _arg6:Number=-101, _arg7:Number=96){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7); } } }//package
Section 83
//CFreshText (CFreshText) package { import flash.display.*; import flash.text.*; public class CFreshText extends MovieClip { public var _myText:TextField; public function CFreshText(_arg1:String, _arg2:uint=0xFFFFFF){ _myText.text = _arg1; _myText.textColor = _arg2; } } }//package
Section 84
//CGraph (CGraph) package { import flash.display.*; import flash.geom.*; public class CGraph extends MovieClip { private var m_originalWidth:Number; private var _marginsMin:Vector2D; private var _marginsMax:Vector2D; private var m_originalHeight:Number; private var _mcDrawContainer:MovieClip; private var _mcTextContainer:MovieClip; public function CGraph(){ var _local1:Rectangle; _marginsMin = new Vector2D(10, 10); _marginsMax = new Vector2D(10, 10); super(); _local1 = getRect(this); m_originalHeight = _local1.height; m_originalWidth = _local1.width; _mcDrawContainer = new MovieClip(); addChild(_mcDrawContainer); _mcTextContainer = new MovieClip(); addChild(_mcTextContainer); } public function Clear():void{ _mcDrawContainer.graphics.clear(); removeChild(_mcTextContainer); _mcTextContainer = new MovieClip(); addChild(_mcTextContainer); } public function DrawData(_arg1:Array, _arg2:uint, _arg3:Boolean, _arg4:Boolean, _arg5:Object, _arg6:String):void{ var _local7:int; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Vector2D; var _local13:Vector2D; var _local14:int; var _local15:Number; var _local16:Number; var _local17:CFreshText; _local7 = _arg1.length; if (_local7 < 2){ return; }; _local8 = ((m_originalWidth - (_marginsMin.x + _marginsMax.x)) / (_local7 - 1)); _local9 = 2; if (_arg4){ if (_arg3){ _local9 = 4; } else { _local9 = 0; }; }; _mcDrawContainer.graphics.lineStyle(_local9, _arg2); _local14 = 0; while (_local14 < _local7) { _local15 = (_marginsMin.x + (_local14 * _local8)); _local16 = GetYValue(_arg1[_local14], _arg5); if (_local14 == 0){ _mcDrawContainer.graphics.moveTo(_local15, _local16); } else { _mcDrawContainer.graphics.lineTo(_local15, _local16); }; if (((!(_local12)) || ((_arg1[_local14] < _local10)))){ _local10 = _arg1[_local14]; _local12 = new Vector2D(_local15, _local16); }; if (((!(_local13)) || ((_arg1[_local14] > _local11)))){ _local11 = _arg1[_local14]; _local13 = new Vector2D(_local15, _local16); }; _local14++; }; if (_arg4){ _local17 = new CFreshText(CCoffeeShopApp.ConvertUnitToString(_arg6, _local10), 0xFFFFFF); _local17.x = _local12.x; _local17.y = ((_local12.y - (_local17.height * 0.5)) + 5); _mcTextContainer.addChild(_local17); _local17 = new CFreshText(CCoffeeShopApp.ConvertUnitToString(_arg6, _local11), 0xFFFFFF); _local17.x = _local13.x; _local17.y = ((_local13.y + (_local17.height * 0.5)) + 5); _mcTextContainer.addChild(_local17); }; } protected function GetYValue(_arg1:Number, _arg2:Object):Number{ return (((m_originalHeight - _marginsMax.y) - ((m_originalHeight - (_marginsMin.y + _marginsMax.y)) * ((_arg1 - _arg2.min) / (_arg2.max - _arg2.min))))); } public function BeginDraw(_arg1:String, _arg2:uint, _arg3:Number, _arg4:Number):void{ var _local5:Number; var _local6:Number; var _local7:uint; var _local8:Number; var _local9:Number; var _local10:String; var _local11:CFreshText; Clear(); if (_arg2 > 1){ _local5 = (m_originalWidth - (_marginsMin.x + _marginsMax.x)); _local6 = (_local5 / (_arg2 - 1)); _local7 = 0; while (_local7 < _arg2) { _local8 = (_marginsMin.x + (_local7 * _local6)); _local9 = MathUtil.Lerp(_arg3, _arg4, (_local7 / Number((_arg2 - 1)))); _local10 = CCoffeeShopApp.ConvertUnitToString(_arg1, _local9); _local11 = new CFreshText(_local10); _local11.x = _local8; _local11.y = 265; _mcTextContainer.addChild(_local11); _mcDrawContainer.graphics.lineStyle(0, 0x555555); _mcDrawContainer.graphics.moveTo(_local8, 0); _mcDrawContainer.graphics.lineTo(_local8, 252.9); _local7++; }; }; } public function EndDraw():void{ } } }//package
Section 85
//CGraphControl (CGraphControl) package { import flash.display.*; import flash.text.*; public class CGraphControl { private var m_arrStatistics:Array; private var m_arrStatisticsNames:Array; private var m_useAllTimeScores:Boolean;// = false private var m_buttonFieldMin:Vector2D; private var m_horizontalLabel:String; private var m_noDataMessage:TextField; private var m_textHorizontalUnit:TextField; private var m_buttonFieldMax:Vector2D; private var m_arrRootButtons:Array; private var m_host:MovieClip; private var m_graph:CGraph; public function CGraphControl(){ m_useAllTimeScores = false; super(); } public function GetSettingsMemento():Object{ var _local1:Array; var _local2:int; var _local3:CButtonGraphStatToggle; _local1 = new Array(); _local2 = 0; while (_local2 < m_arrRootButtons.length) { _local3 = CButtonGraphStatToggle(m_arrRootButtons[_local2]); _local1[_local3._statName] = _local3.IsSelected(); _local2++; }; return (_local1); } public function Refresh():void{ var _local1:Boolean; var _local2:uint; var _local3:CButtonGraphStatToggle; _local1 = false; _local2 = 0; while (_local2 < m_host.numChildren) { _local3 = CButtonGraphStatToggle(m_host.getChildAt(_local2)); if (!_local3){ } else { _local1 = ((_local3.UpdateEnabled()) || (_local1)); }; _local2++; }; if (m_noDataMessage){ m_noDataMessage.visible = !(_local1); }; UpdateGraph(); } public function OnButtonOver(_arg1:String):void{ if (m_arrStatistics[_arg1]){ m_arrStatistics[_arg1].isHighlighted = true; UpdateGraph(); }; } protected function CreateButtons():void{ var _local1:Number; var _local2:uint; var _local3:uint; var _local4:String; var _local5:Object; var _local6:CButtonGraphStatToggle; var _local7:CButtonStatFolder; var _local8:Number; var _local9:CButtonStatFolder; _local1 = m_buttonFieldMin.y; m_arrRootButtons = new Array(); _local2 = 0; while (_local2 < m_arrStatisticsNames.length) { _local4 = m_arrStatisticsNames[_local2].name; _local5 = m_arrStatistics[_local4]; _local6 = null; _local7 = FindFolderButton(_local5.folderName); _local8 = 0; if (_local7){ _local8 = (_local1 - _local7.y); }; if (_local4.charAt(0) == "+"){ _local6 = new CButtonStatFolder(this, _local4.substr(1), _local5.color, ("stat" + _local4.substring(1)), _local7, _local8); } else { _local6 = new CButtonGraphStatToggle(this, _local4, _local5.color, ("stat" + _local4), _local7, _local8); }; if (_local7){ _local7.AddChildButton(_local6, (_local1 - _local7._buttonY)); } else { if (m_arrRootButtons.length > 0){ m_arrRootButtons[(m_arrRootButtons.length - 1)].SetNextSibling(_local6); }; m_arrRootButtons.push(_local6); m_host.addChild(_local6); _local6._buttonX = m_buttonFieldMin.x; _local6.SetY(_local1); }; _local6.SetSelected(_local5.isSelected); _local1 = (_local1 + (_local6.height + 4)); _local2++; }; _local3 = 0; while (_local3 < m_host.numChildren) { if ((m_host.getChildAt(_local3) is CButtonStatFolder)){ _local9 = CButtonStatFolder(m_host.getChildAt(_local3)); _local9.FixupChildren(); _local9.CollapseExpand(true, true); }; _local3++; }; } public function OnButtonSelected(_arg1:String):void{ if (m_arrStatistics[_arg1]){ m_arrStatistics[_arg1].isSelected = true; UpdateGraph(); }; } public function CalculateCashStatsRange():Object{ var _local1:Array; var _local2:Object; var _local3:Object; _local1 = CCoffeeShopGame._instance._shop.GetStats(m_useAllTimeScores, "Cash"); _local2 = GetRange(_local1); _local1 = CCoffeeShopGame._instance._shop.GetStats(m_useAllTimeScores, "Expenditures"); _local3 = null; if (_local1){ _local3 = GetRange(_local1); _local2.min = Math.min(_local2.min, _local3.min); _local2.max = Math.max(_local2.max, _local3.max); }; _local1 = CCoffeeShopGame._instance._shop.GetStats(m_useAllTimeScores, "Revenues"); if (_local1){ _local3 = GetRange(_local1); _local2.min = Math.min(_local2.min, _local3.min); _local2.max = Math.max(_local2.max, _local3.max); }; _local1 = CCoffeeShopGame._instance._shop.GetStats(m_useAllTimeScores, "Profits/Losses"); if (_local1){ _local3 = GetRange(_local1); _local2.min = Math.min(_local2.min, _local3.min); _local2.max = Math.max(_local2.max, _local3.max); }; _local1 = CCoffeeShopGame._instance._shop.GetStats(m_useAllTimeScores, "Price"); if (_local1){ _local3 = GetRange(_local1); _local2.min = Math.min(_local2.min, _local3.min); _local2.max = Math.max(_local2.max, _local3.max); }; return (_local2); } public function UnselectAllOtherFolders(_arg1:CButtonStatFolder):void{ var _local2:uint; var _local3:CButtonStatFolder; _local2 = 0; while (_local2 < m_host.numChildren) { if ((m_host.getChildAt(_local2) is CButtonStatFolder)){ _local3 = CButtonStatFolder(m_host.getChildAt(_local2)); if (_local3 != _arg1){ _local3.SetSelected(false); }; }; _local2++; }; } public function OnButtonUnselected(_arg1:String):void{ if (m_arrStatistics[_arg1]){ m_arrStatistics[_arg1].isSelected = false; UpdateGraph(); }; } public function GetRange(_arg1:Array):Object{ var _local2:Number; var _local3:Number; var _local4:int; _local2 = _arg1[0]; _local3 = _local2; _local4 = 0; while (_local4 < _arg1.length) { _local2 = Math.min(_local2, _arg1[_local4]); _local3 = Math.max(_local3, _arg1[_local4]); _local4++; }; return ({min:_local2, max:_local3}); } public function UpdateGraph():void{ var _local1:Object; var _local2:uint; var _local3:uint; var _local4:String; var _local5:Object; var _local6:Array; var _local7:Object; _local1 = CalculateCashStatsRange(); _local2 = CCoffeeShopGame._instance._shop.GetNumStats(m_useAllTimeScores); if (_local2 > 1){ m_textHorizontalUnit.text = m_horizontalLabel; } else { m_textHorizontalUnit.text = ""; }; _local3 = _local2; while (_local3 > 20) { _local3 = (_local3 / 2); }; m_graph.BeginDraw(m_horizontalLabel, _local3, 1, _local2); for (_local4 in m_arrStatistics) { _local5 = m_arrStatistics[_local4]; if (((_local5.isSelected) || (_local5.isHighlighted))){ _local6 = CCoffeeShopGame._instance._shop.GetStats(m_useAllTimeScores, _local4); if (!_local6){ }; _local7 = GetRange(_local6); if (_local5.unitName == "Cash"){ _local7 = _local1; }; m_graph.DrawData(_local6, _local5.color, _local5.isSelected, _local5.isHighlighted, _local7, _local5.unitName); }; }; m_graph.EndDraw(); } public function Initialize(_arg1:MovieClip, _arg2:TextField, _arg3:TextField, _arg4:CGraph, _arg5:String, _arg6:Array, _arg7:Vector2D, _arg8:Vector2D, _arg9:Boolean=true):void{ var _local10:uint; var _local11:Object; m_arrStatistics = new Array(); _local10 = 0; while (_local10 < _arg6.length) { _local11 = _arg6[_local10]; m_arrStatistics[_local11.name] = {folderName:_local11.folderName, color:_local11.color, isSelected:(((_local11.name == "Cash")) || ((_local11.name == "Reputation"))), isHighlighted:false, unitName:_local11.unitName}; _local10++; }; m_arrStatisticsNames = _arg6; m_host = _arg1; m_noDataMessage = _arg2; m_textHorizontalUnit = _arg3; m_useAllTimeScores = _arg9; m_graph = _arg4; m_horizontalLabel = _arg5; m_buttonFieldMin = _arg7.GetCopy(); m_buttonFieldMax = _arg8.GetCopy(); CreateButtons(); Refresh(); } public function SetSettingsMemento(_arg1:Object):void{ var _local2:int; var _local3:CButtonGraphStatToggle; _local2 = 0; while (_local2 < m_arrRootButtons.length) { _local3 = CButtonGraphStatToggle(m_arrRootButtons[_local2]); _local3.SetSelected(_arg1[_local3._statName]); _local2++; }; } public function FindFolderButton(_arg1:String):CButtonStatFolder{ var _local2:uint; var _local3:CButtonStatFolder; if ((((_arg1 == "")) || ((_arg1 == "root")))){ return (null); }; _local2 = 0; while (_local2 < m_host.numChildren) { if ((m_host.getChildAt(_local2) is CButtonStatFolder)){ _local3 = CButtonStatFolder(m_host.getChildAt(_local2)); if (((_local3) && ((_local3._statName == _arg1)))){ return (_local3); }; }; _local2++; }; return (null); } public function OnButtonOut(_arg1:String):void{ if (m_arrStatistics[_arg1]){ m_arrStatistics[_arg1].isHighlighted = false; UpdateGraph(); }; } } }//package
Section 86
//CHUD (CHUD) package { import flash.display.*; public class CHUD extends MovieClip { public var _modeServing:CHUDModeServing; public var _cashDisplay:CHUDCashDisplay; public var _reputationDisplay:CHUDReputationDisplay; public var _weatherDisplay:CHUDWeatherDisplay; public var _modePreparing:CHUDModePreparing; public var _modeEndOfDay:CHUDModeEndOfDay; public function CHUD(){ addFrameScript(14, frame15, 30, frame31, 59, frame60, 74, frame75, 90, frame91, 109, frame110); } public function OnDisappearDone():void{ stop(); } function frame75(){ OnEndOfDayAppeared(); } public function OnPreparingModeAppeared():void{ stop(); } public function OnAppearDone():void{ } public function EnterServingMode():void{ _weatherDisplay.Maximize(); _modeServing.Appear(); gotoAndPlay("preparing to serving"); } function frame91(){ gotoAndStop("preparing"); } public function OnEndOfDayAppeared():void{ stop(); } function frame15(){ OnAppearDone(); } public function OnServingModeAppeared():void{ stop(); } function frame110(){ OnDisappearDone(); } function frame31(){ OnPreparingModeAppeared(); } public function Appear():void{ gotoAndPlay("appear"); } public function OnReputationChanged(_arg1:Number, _arg2:Number):void{ _reputationDisplay.OnReputationChanged(_arg1, _arg2); } public function GoToEndOfDay(_arg1:int, _arg2:String, _arg3:String, _arg4:int, _arg5:String, _arg6:int):void{ _weatherDisplay.Minimize(); _modeEndOfDay.SetupDisplay(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); _modeServing.Disappear(); gotoAndPlay("serving to end of day"); } function frame60(){ OnServingModeAppeared(); } public function EnterPreparingMode():void{ _weatherDisplay.Minimize(); _modePreparing.EnterPreparingMode(); _modeServing.Disappear(); if (CCoffeeShopGame._instance._phase == "initial"){ gotoAndPlay("appear"); } else { if ((((CCoffeeShopGame._instance._phase == "serving")) || ((CCoffeeShopGame._instance._phase == "end of day")))){ gotoAndPlay("end of day to preparing"); }; }; } } }//package
Section 87
//CHUDCashDisplay (CHUDCashDisplay) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; public class CHUDCashDisplay extends MovieClip { public var _textCash:TextField; private var _amountCash:int;// = 0 public function CHUDCashDisplay(){ var _local1:Timer; _amountCash = 0; super(); _local1 = new Timer(100, 0); _local1.addEventListener("timer", onTimerUpdate); _local1.start(); } protected function OnAmountIncreased(_arg1:int):void{ } public function onTimerUpdate(_arg1:TimerEvent):void{ UpdateDisplay(); } protected function OnAmountDecreased(_arg1:int):void{ } public function UpdateDisplay():void{ var _local1:int; var _local2:int; if ((((CCoffeeShopGame._instance == null)) || ((CCoffeeShopGame._instance._shop == null)))){ return; }; _local1 = CCoffeeShopGame._instance._shop._cash; _local2 = (_local1 - _amountCash); if (_local2 > 0){ OnAmountIncreased(_local2); } else { if (_local2 < 0){ OnAmountDecreased(-(_local2)); } else { return; }; }; _amountCash = _local1; _textCash.text = CCoffeeShopApp.ConvertUnitToString("Cash", _amountCash); } } }//package
Section 88
//CHUDModeEndOfDay (CHUDModeEndOfDay) package { import flash.display.*; import flash.text.*; public class CHUDModeEndOfDay extends MovieClip { public var _textSummary:TextField; public var _buttonContinue:CButtonLeaveEndOfDay; public var _textHorizontalUnit:TextField; public var _graph:CGraph; public var _buttonHost:MovieClip; public var _textTitle:TextField; public var _textSpoilage:TextField; private var m_graphControl:CGraphControl; public var _textTemperature:TextField; private static var s_graphSettings:Object; public function CHUDModeEndOfDay(){ m_graphControl = new CGraphControl(); super(); _buttonContinue.Initialize("Continue", OnContinue, "eodContinue"); } public function OnContinue():void{ s_graphSettings = m_graphControl.GetSettingsMemento(); _buttonContinue.SetEnabled(false); CCoffeeShopGame._instance.DoneWithEndOfDay(); } public function SetupDisplay(_arg1:int, _arg2:String, _arg3:String, _arg4:int, _arg5:String, _arg6:int):void{ var _local7:Array; _textTitle.text = ("End of Day " + String(_arg1)); _textSummary.text = _arg2; _textSpoilage.text = _arg3; _textTemperature.text = ((String(_arg4) + "° ") + _arg5); _textTemperature.textColor = _arg6; _local7 = [{name:"Cash", color:0xFF00, unitName:"Cash", folderName:"root"}, {name:"Reputation", color:0xFF, unitName:"Reputation", folderName:"root"}, {name:"Cups Sold", color:0x9900, unitName:"units", folderName:"root"}, {name:"Price", color:3407701, unitName:"Cash", folderName:"root"}]; m_graphControl.Initialize(_buttonHost, null, _textHorizontalUnit, _graph, "Hours", _local7, new Vector2D(0, -2), new Vector2D((_graph.x - 20), height), false); if (s_graphSettings != null){ m_graphControl.SetSettingsMemento(s_graphSettings); }; _buttonContinue.SetEnabled(true); } } }//package
Section 89
//CHUDModePreparing (CHUDModePreparing) package { public class CHUDModePreparing extends CMovieClipFresh { public var _quitWarningBox:CQuitConfirm; public var _buttonStartTheDay:CButtonStartTheDay; public var _page:CHUDPreparingPage; public function CHUDModePreparing(){ _buttonStartTheDay.Initialize("Start the Day", OnStartTheDay, "startTheDay"); _buttonStartTheDay.SetEnabled(false); _quitWarningBox.Initialize(OnReallyQuit, OnQuitDenied); } public function OnQuitDenied():void{ _quitWarningBox.visible = false; } public function OnStartTheDay():void{ _buttonStartTheDay.SetEnabled(false); CCoffeeShopGame._instance.EnterServingMode(); } public function EnterPreparingMode():void{ _buttonStartTheDay.SetEnabled(false); _page.EnterPreparingMode(); } public function OnReallyQuit():void{ _quitWarningBox.visible = false; CCoffeeShopGame._instance.AbortGame(); } public function OnQuit():void{ _quitWarningBox.visible = true; } } }//package
Section 90
//CHUDModeServing (CHUDModeServing) package { import flash.display.*; public class CHUDModeServing extends MovieClip { public var _inventoryDisplay:CHUDServingInventory; public var _priceAdjustment:CHUDServingPrice; private var _hidden:Boolean;// = true public function CHUDModeServing(){ _hidden = true; super(); addFrameScript(14, frame15, 24, frame25); stop(); } function frame15(){ stop(); } function frame25(){ stop(); } public function Disappear():void{ if (!_hidden){ gotoAndPlay("disappear"); _hidden = true; _inventoryDisplay.SetAwake(false); }; } public function Appear():void{ if (_hidden){ gotoAndPlay("appear"); _hidden = false; _priceAdjustment.RefreshPrice(); _inventoryDisplay.SetAwake(true); }; } } }//package
Section 91
//CHUDPreparingAdjustments (CHUDPreparingAdjustments) package { import flash.events.*; import flash.display.*; import flash.text.*; public class CHUDPreparingAdjustments extends CMovieClipFresh { private var _arrPurchases:Array; public var _sliderPrice:CSlider; private var _isDividerTargetLocked:Boolean;// = false public var _buttonUndoLastPurchase:CButtonUndoLastPurchase; public var _adjustmentsInventory:CHUDPreparingAdjustmentsInventory; public var _maskRecipe:MovieClip; public var _buttonQuit:CButtonQuit; public var _adjustmentsRecipe:CHUDPreparingAdjustmentsRecipe; public var _textServingLimiter:TextField; private var _dividerHighlightArea:String; private var _dividerTargetX:Number;// = 191 public var _maskInventory:MovieClip; public var _divider:MovieClip; public var _textNumServingsAvailable:TextField; public function CHUDPreparingAdjustments(){ _dividerTargetX = 191; _isDividerTargetLocked = false; _arrPurchases = new Array(); super(); stop(); _buttonQuit.Initialize("Quit", CHUDModePreparing(parent.parent).OnQuit, "quit"); addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function SetDividerTargetLocked(_arg1:Boolean):void{ _isDividerTargetLocked = _arg1; } public function get _isRecipeHighlighted():Boolean{ return ((_dividerHighlightArea == "recipe")); } override public function FirstFrameInitialize(_arg1:Event):void{ _adjustmentsInventory.Initialize(); _adjustmentsRecipe.Initialize(); _sliderPrice.Initialize(5, 1000, CCoffeeShopGame._instance._shop._pricePerServing, "", "", OnPriceChanged, "Cash", "prepPrice"); _sliderPrice.SetNotifyChangeWhenMoved(OnPriceChanged); _buttonUndoLastPurchase.Initialize("Undo Purchase", OnUndoLastPurchase, "undo"); _buttonUndoLastPurchase.SetEnabled(false); EnterPreparingMode(); super.FirstFrameInitialize(_arg1); } public function OnInventoryPurchase(_arg1:String, _arg2:Number, _arg3:Number){ _arrPurchases.push({commodity:_arg1, amount:_arg2, cost:_arg3}); _buttonUndoLastPurchase.SetEnabled(((_arrPurchases) && ((_arrPurchases.length > 0)))); OnInventoryChanged(); } public function RefreshPrice():void{ if (CCoffeeShopGame._instance != null){ _sliderPrice._value = CCoffeeShopGame._instance._shop._pricePerServing; }; } public function OnInventoryOrRecipeChanged():void{ var _local1:int; if (CCoffeeShopGame._instance == null){ return; }; _local1 = CCoffeeShopGame._instance._shop.GetNumServingsAvailable(); _textNumServingsAvailable.text = String(_local1); _textServingLimiter.text = CCoffeeShopGame._instance._shop.GetNumServingsLimiter(); CHUDModePreparing(parent.parent)._buttonStartTheDay.SetEnabled((_local1 > 0)); } public function RefreshValuesFromShop():void{ RefreshPrice(); _adjustmentsInventory.UpdateValuesFromShop(); _adjustmentsRecipe.UpdateValuesFromShop(); OnInventoryOrRecipeChanged(); } public function OnRecipeChanged():void{ OnInventoryOrRecipeChanged(); } public function onEnterFrame(_arg1:Event):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; if (!_isDividerTargetLocked){ _local2 = (119 - -195); _local3 = (74 - 6); _local4 = (mouseX + _local2); _local5 = (mouseY + _local3); if ((((((((_local5 > 364)) || ((_local5 < 72)))) || ((_local4 < 119)))) || ((_local4 > 592)))){ } else { if (_local4 < 220){ _dividerHighlightArea = "inventory"; _dividerTargetX = 191; } else { if (_local4 > 510){ _dividerHighlightArea = "recipe"; _dividerTargetX = -86; }; }; }; }; _divider.x = MathUtil.Lerp(_divider.x, _dividerTargetX, 0.5); _maskInventory.x = ((_divider.x - (_divider.width * 0.5)) - _maskInventory.width); _maskRecipe.x = (_divider.x + (_divider.width * 0.5)); } public function OnPriceChanged():void{ CCoffeeShopGame._instance._shop._pricePerServing = _sliderPrice._value; } public function get _isInventoryHighlighted():Boolean{ return ((_dividerHighlightArea == "inventory")); } public function OnInventoryChanged():void{ OnInventoryOrRecipeChanged(); } public function OnUndoLastPurchase():void{ var _local1:Object; if (((_arrPurchases) && ((_arrPurchases.length > 0)))){ _local1 = _arrPurchases.pop(); _adjustmentsInventory.UndoPurchase(_local1.commodity, _local1.amount, _local1.cost); _buttonUndoLastPurchase.SetEnabled(((_arrPurchases) && ((_arrPurchases.length > 0)))); }; } public function EnterPreparingMode():void{ _arrPurchases.splice(0); _buttonUndoLastPurchase.SetEnabled(false); RefreshValuesFromShop(); OnInventoryOrRecipeChanged(); } } }//package
Section 92
//CHUDPreparingAdjustmentsInventory (CHUDPreparingAdjustmentsInventory) package { import flash.display.*; import flash.text.*; public class CHUDPreparingAdjustmentsInventory extends MovieClip { public var _textAmtCoffee:TextField; public var _textAmtCups:TextField; public var _textAmtMilk:TextField; public var _textAmtSugar:TextField; public function UndoPurchase(_arg1:String, _arg2:Number, _arg3:Number):void{ CCoffeeSound._instance.PlaySound("audio_gain", 0.5); CCoffeeShopGame._instance._shop.Gain(_arg3); UpdateBuyButtonEnablement(); CCoffeeShopGame._instance._shop.AddInventoryAmount(_arg1, -(_arg2)); CHUDPreparingAdjustments(parent).OnInventoryChanged(); TextField(this[("_textAmt" + _arg1)]).text = CCoffeeShopApp.ConvertUnitToString("Inventory", CCoffeeShopGame._instance._shop.GetInventoryAmount(_arg1)); } public function UpdateBuyButtonEnablement():void{ var _local1:int; var _local2:int; var _local3:DisplayObject; var _local4:CButtonBuy; _local1 = CCoffeeShopGame._instance._shop._cash; _local2 = 0; while (_local2 < numChildren) { _local3 = getChildAt(_local2); if ((_local3 is CButtonBuy)){ _local4 = CButtonBuy(_local3); _local4.SetEnabled((_local1 >= _local4._costPerPurchase)); }; _local2++; }; } public function UpdateValuesFromShop():void{ if (CCoffeeShopGame._instance == null){ return; }; _textAmtCups.text = CCoffeeShopApp.ConvertUnitToString("units", CCoffeeShopGame._instance._shop.GetInventoryAmount("Cups")); _textAmtCoffee.text = CCoffeeShopApp.ConvertUnitToString("tsp", CCoffeeShopGame._instance._shop.GetInventoryAmount("Coffee")); _textAmtMilk.text = CCoffeeShopApp.ConvertUnitToString("cups", CCoffeeShopGame._instance._shop.GetInventoryAmount("Milk")); _textAmtSugar.text = CCoffeeShopApp.ConvertUnitToString("tsp", CCoffeeShopGame._instance._shop.GetInventoryAmount("Sugar")); UpdateBuyButtonEnablement(); } public function Initialize():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Array; var _local6:Array; var _local7:Array; var _local8:int; var _local9:String; var _local10:String; var _local11:Number; var _local12:int; var _local13:Object; var _local14:CButtonBuy; _local1 = 146.1; _local2 = 24.4; _local3 = (221.1 - _local1); _local4 = (81.5 - _local2); _local5 = new Array(); _local5.push("Cups"); _local5.push("Coffee"); _local5.push("Milk"); _local5.push("Sugar"); _local6 = new Array(); _local6.push("unit"); _local6.push("tsp"); _local6.push("cup"); _local6.push("tsp"); _local7 = CCoffeeShopGame._instance._shop.GetBuyTiers(); _local8 = 0; while (_local8 < _local5.length) { _local9 = _local5[_local8]; _local10 = _local6[_local8]; _local11 = _local1; _local12 = 0; while (_local12 < 3) { _local13 = _local7[_local8][_local12]; _local14 = new CButtonBuy(_local9, _local10, _local13._amount, _local13._cost, OnBuyButtonClicked, (("buy" + _local9) + _local13._amount)); _local14.x = _local1; _local14.y = _local2; addChild(_local14); _local1 = (_local1 + _local3); _local12++; }; _local1 = _local11; _local2 = (_local2 + _local4); _local8++; }; UpdateValuesFromShop(); } public function OnBuyButtonClicked(_arg1:String, _arg2:Number, _arg3:int):void{ if (CCoffeeShopGame._instance._shop._cash >= _arg3){ CCoffeeShopGame._instance._shop.Pay(_arg3); UpdateBuyButtonEnablement(); CCoffeeShopGame._instance._shop.AddInventoryAmount(_arg1, _arg2); CHUDPreparingAdjustments(parent).OnInventoryPurchase(_arg1, _arg2, _arg3); TextField(this[("_textAmt" + _arg1)]).text = CCoffeeShopApp.ConvertUnitToString("Inventory", CCoffeeShopGame._instance._shop.GetInventoryAmount(_arg1)); }; } } }//package
Section 93
//CHUDPreparingAdjustmentsRecipe (CHUDPreparingAdjustmentsRecipe) package { import flash.display.*; import flash.text.*; public class CHUDPreparingAdjustmentsRecipe extends MovieClip { public var _sliderCoffee:CSlider; public var _textAmtCoffee:TextField; public var _sliderSugar:CSlider; public var _sliderMilk:CSlider; public var _textAmtMilk:TextField; public var _textAmtSugar:TextField; public function OnSugarChanged():void{ CCoffeeShopGame._instance._shop.SetRecipeAmount("Sugar", _sliderSugar._value); _textAmtSugar.text = CCoffeeShopApp.ConvertUnitToString("Inventory", _sliderSugar._value); CHUDPreparingAdjustments(parent).OnRecipeChanged(); } public function UpdateValuesFromShop():void{ if (CCoffeeShopGame._instance == null){ return; }; _sliderCoffee._value = CCoffeeShopGame._instance._shop.GetRecipeAmount("Coffee"); _sliderMilk._value = CCoffeeShopGame._instance._shop.GetRecipeAmount("Milk"); _sliderSugar._value = CCoffeeShopGame._instance._shop.GetRecipeAmount("Sugar"); _textAmtCoffee.text = CCoffeeShopApp.ConvertUnitToString("tsp", _sliderCoffee._value); _textAmtMilk.text = CCoffeeShopApp.ConvertUnitToString("cups", _sliderMilk._value); _textAmtSugar.text = CCoffeeShopApp.ConvertUnitToString("tsp", _sliderSugar._value); } public function OnCoffeeChanged():void{ CCoffeeShopGame._instance._shop.SetRecipeAmount("Coffee", _sliderCoffee._value); _textAmtCoffee.text = CCoffeeShopApp.ConvertUnitToString("Inventory", _sliderCoffee._value); CHUDPreparingAdjustments(parent).OnRecipeChanged(); } public function OnMilkChanged():void{ CCoffeeShopGame._instance._shop.SetRecipeAmount("Milk", _sliderMilk._value); _textAmtMilk.text = CCoffeeShopApp.ConvertUnitToString("Inventory", _sliderMilk._value); CHUDPreparingAdjustments(parent).OnRecipeChanged(); } public function Initialize():void{ var _local1:Number; var _local2:Number; var _local3:Number; _local1 = CCoffeeShopGame._instance._shop.GetRecipeAmount("Coffee"); _local2 = CCoffeeShopGame._instance._shop.GetRecipeAmount("Milk"); _local3 = CCoffeeShopGame._instance._shop.GetRecipeAmount("Sugar"); _textAmtCoffee.text = CCoffeeShopApp.ConvertUnitToString("Inventory", _local1); _textAmtMilk.text = CCoffeeShopApp.ConvertUnitToString("Inventory", _local2); _textAmtSugar.text = CCoffeeShopApp.ConvertUnitToString("Inventory", _local3); _sliderCoffee.Initialize(CCoffeeShopGame._instance._shop.GetMinRecipeAmount("Coffee"), CCoffeeShopGame._instance._shop.GetMaxRecipeAmount("Coffee"), _local1, "weak", "strong", OnCoffeeChanged, "Inventory", "recipCoffee"); _sliderMilk.Initialize(CCoffeeShopGame._instance._shop.GetMinRecipeAmount("Milk"), CCoffeeShopGame._instance._shop.GetMaxRecipeAmount("Milk"), _local2, "black", "creamy", OnMilkChanged, "Inventory", "recipMilk"); _sliderSugar.Initialize(CCoffeeShopGame._instance._shop.GetMinRecipeAmount("Sugar"), CCoffeeShopGame._instance._shop.GetMaxRecipeAmount("Sugar"), _local3, "bitter", "sweet", OnSugarChanged, "Inventory", "recipSugar"); } } }//package
Section 94
//CHUDPreparingPage (CHUDPreparingPage) package { import flash.events.*; public class CHUDPreparingPage extends CMovieClipFresh { public var _tabs:CPageTabs; public var _stats:CHUDPreparingStats; public var _adjustments:CHUDPreparingAdjustments; public function CHUDPreparingPage(){ stop(); } public function OnTabStats():void{ _tabs.BringForwardTab("Stats"); _adjustments.visible = false; _stats.visible = true; } override public function FirstFrameInitialize(_arg1:Event):void{ super.FirstFrameInitialize(_arg1); _tabs.AddTab("Adjustments", OnTabAdjustments); _tabs.BringForwardTab("Adjustments"); } public function OnTabAdjustments():void{ _tabs.BringForwardTab("Adjustments"); _adjustments.visible = true; _stats.visible = false; } public function EnterPreparingMode():void{ _adjustments.EnterPreparingMode(); if (CCoffeeShopGame._instance._dayNumber == 1){ _tabs.AddTab("Stats", OnTabStats); }; _stats.EnterPreparingMode(); OnTabAdjustments(); } } }//package
Section 95
//CHUDPreparingStats (CHUDPreparingStats) package { import flash.events.*; import flash.display.*; import flash.text.*; public class CHUDPreparingStats extends CMovieClipFresh { public var _textHorizontalUnit:TextField; public var _graph:CGraph; public var _noDataMessage:TextField; public var _buttonHost:MovieClip; private var m_graphControl:CGraphControl; public function CHUDPreparingStats(){ m_graphControl = new CGraphControl(); super(); } override public function FirstFrameInitialize(_arg1:Event):void{ var _local2:Array; super.FirstFrameInitialize(_arg1); _local2 = [{name:"Cash", color:0xFF00, unitName:"Cash", folderName:"root"}, {name:"Reputation", color:0xFF, unitName:"Reputation", folderName:"root"}, {name:"Weather", color:0xFFFFFF, unitName:"degrees", folderName:"root"}, {name:"+Finances", color:0xFF00, unitName:"", folderName:"root"}, {name:"Cups Sold", color:0x9900, unitName:"units", folderName:"Finances"}, {name:"Price", color:3407701, unitName:"Cash", folderName:"Finances"}, {name:"Expenditures", color:0x999900, unitName:"Cash", folderName:"Finances"}, {name:"Revenues", color:10092373, unitName:"Cash", folderName:"Finances"}, {name:"Profits/Losses", color:0xCC00, unitName:"Cash", folderName:"Finances"}, {name:"+Recipe", color:10066431, unitName:"", folderName:"root"}, {name:"Recipe - Coffee", color:85, unitName:"tsp", folderName:"Recipe"}, {name:"Recipe - Milk", color:10066431, unitName:"cups", folderName:"Recipe"}, {name:"Recipe - Sugar", color:11184895, unitName:"tsp", folderName:"Recipe"}, {name:"+Inventory", color:0xFF0099, unitName:"", folderName:"root"}, {name:"Inventory - Cups", color:0xFF0033, unitName:"units", folderName:"Inventory"}, {name:"Inventory - Coffee", color:0x550000, unitName:"tsp", folderName:"Inventory"}, {name:"Inventory - Milk", color:16724940, unitName:"cups", folderName:"Inventory"}, {name:"Inventory - Sugar", color:0xFF5500, unitName:"tsp", folderName:"Inventory"}]; m_graphControl.Initialize(_buttonHost, _noDataMessage, _textHorizontalUnit, _graph, "Days", _local2, new Vector2D(0, -2), new Vector2D((_graph.x - 20), height)); } public function EnterPreparingMode():void{ m_graphControl.Refresh(); } } }//package
Section 96
//CHUDReputationDisplay (CHUDReputationDisplay) package { import flash.display.*; import flash.geom.*; public class CHUDReputationDisplay extends MovieClip { public var _barReputation:MovieClip; public function OnReputationChanged(_arg1:Number, _arg2:Number):void{ var _local3:ColorTransform; _barReputation.x = 254.1; _barReputation.scaleX = (_arg2 * 0.8); _local3 = _barReputation.transform.colorTransform; if (_arg2 >= 0){ _local3.color = 0xFF00; } else { _local3.color = 0xFF0000; }; _barReputation.transform.colorTransform = _local3; } } }//package
Section 97
//CHUDServingInventory (CHUDServingInventory) package { import flash.events.*; import flash.display.*; import flash.text.*; import fl.motion.*; import flash.geom.*; public class CHUDServingInventory extends MovieClip { public var _textAmtCoffee:TextField; public var _textAmtCups:TextField; private var _mapInitialAmounts:Array; private var _isAwake:Boolean;// = false public var _textAmtMilk:TextField; public var _barCups:MovieClip; public var _barCoffee:MovieClip; public var _barSugar:MovieClip; private var _mapNominalValues:Array; public var _barMilk:MovieClip; public var _textAmtSugar:TextField; public function CHUDServingInventory(){ _isAwake = false; super(); _mapNominalValues = new Array(); _mapNominalValues["Cups"] = 10; _mapNominalValues["Coffee"] = 10; _mapNominalValues["Milk"] = 10; _mapNominalValues["Sugar"] = 10; } public function SetAwake(_arg1:Boolean):void{ var _local2:CShop; _isAwake = _arg1; if (_isAwake){ addEventListener(Event.ENTER_FRAME, onEnterFrame); _local2 = CCoffeeShopGame._instance._shop; _mapInitialAmounts = new Array(); _mapInitialAmounts["Cups"] = Math.max(_mapNominalValues["Cups"], _local2.GetInventoryAmount("Cups")); _mapInitialAmounts["Coffee"] = Math.max(_mapNominalValues["Coffee"], _local2.GetInventoryAmount("Coffee")); _mapInitialAmounts["Milk"] = Math.max(_mapNominalValues["Milk"], _local2.GetInventoryAmount("Milk")); _mapInitialAmounts["Sugar"] = Math.max(_mapNominalValues["Sugar"], _local2.GetInventoryAmount("Sugar")); } else { removeEventListener(Event.ENTER_FRAME, onEnterFrame); }; } public function onEnterFrame(_arg1:Event):void{ var _local2:CShop; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:ColorTransform; _local2 = CCoffeeShopGame._instance._shop; _local3 = _local2.GetInventoryAmount("Cups"); _local4 = _local2.GetInventoryAmount("Coffee"); _local5 = _local2.GetInventoryAmount("Milk"); _local6 = _local2.GetInventoryAmount("Sugar"); _textAmtCups.text = String(int(_local3)); _textAmtCoffee.text = String(int(_local4)); _textAmtMilk.text = String(int(_local5)); _textAmtSugar.text = String(int(_local6)); _local7 = Math.min(100, ((_local3 / _mapInitialAmounts["Cups"]) * 100)); _local8 = Math.min(100, ((_local4 / _mapInitialAmounts["Coffee"]) * 100)); _local9 = Math.min(100, ((_local5 / _mapInitialAmounts["Milk"]) * 100)); _local10 = Math.min(100, ((_local6 / _mapInitialAmounts["Sugar"]) * 100)); _barCups.width = _local7; _barCoffee.width = _local8; _barMilk.width = _local9; _barSugar.width = _local10; _textAmtCups.x = (_local7 - 139); _textAmtCoffee.x = (_local8 - 139); _textAmtMilk.x = (_local9 - 139); _textAmtSugar.x = (_local10 - 139); _local11 = MathUtil.Clamp((1 - (_local3 / _mapNominalValues["Cups"])), 0, 1); _local12 = MathUtil.Clamp((1 - (_local4 / _mapNominalValues["Coffee"])), 0, 1); _local13 = MathUtil.Clamp((1 - (_local5 / _mapNominalValues["Milk"])), 0, 1); _local14 = MathUtil.Clamp((1 - (_local6 / _mapNominalValues["Sugar"])), 0, 1); _textAmtCups.textColor = Color.interpolateColor(0xFFFFFF, 0xFF0000, _local11); _textAmtCoffee.textColor = Color.interpolateColor(0xFFFFFF, 0xFF0000, _local12); _textAmtMilk.textColor = Color.interpolateColor(0xFFFFFF, 0xFF0000, _local13); _textAmtSugar.textColor = Color.interpolateColor(0xFFFFFF, 0xFF0000, _local14); _local15 = _barCups.transform.colorTransform; _local15.color = _textAmtCups.textColor; _barCups.transform.colorTransform = _local15; _local15 = _barCoffee.transform.colorTransform; _local15.color = _textAmtCoffee.textColor; _barCoffee.transform.colorTransform = _local15; _local15 = _barMilk.transform.colorTransform; _local15.color = _textAmtMilk.textColor; _barMilk.transform.colorTransform = _local15; _local15 = _barSugar.transform.colorTransform; _local15.color = _textAmtSugar.textColor; _barSugar.transform.colorTransform = _local15; } } }//package
Section 98
//CHUDServingPrice (CHUDServingPrice) package { import flash.events.*; import flash.text.*; public class CHUDServingPrice extends CMovieClipFresh { public var _slider:CSliderPrice; public var _textPrice:TextField; override public function FirstFrameInitialize(_arg1:Event):void{ _slider.Initialize(5, 1000, CCoffeeShopGame._instance._shop._pricePerServing, "", "", OnPriceChanged, "Cash", "servPrice"); _textPrice.text = _slider.GetValueString(); _slider.SetNotifyChangeWhenMoved(OnPriceChanged); super.FirstFrameInitialize(_arg1); } public function RefreshPrice():void{ _slider._value = CCoffeeShopGame._instance._shop._pricePerServing; _textPrice.text = _slider.GetValueString(); } public function OnPriceChanged():void{ CCoffeeShopGame._instance._shop._pricePerServing = _slider._value; _textPrice.text = CCoffeeShopApp.ConvertUnitToString("Cash", CCoffeeShopGame._instance._shop._pricePerServing); } } }//package
Section 99
//CHUDTab (CHUDTab) package { public class CHUDTab extends CButton { public function CHUDTab(){ SetTextColors(0, 0x999999, 0xCCCCCC, 0xFFFFFF); } } }//package
Section 100
//CHUDWeatherDisplay (CHUDWeatherDisplay) package { import flash.display.*; import flash.text.*; public class CHUDWeatherDisplay extends MovieClip { public var _textDegreesSymbol:TextField; public var _textDescription:TextField; public var _textDayNumber:TextField; public var _textTemperature:TextField; public var _textTime:TextField; public function CHUDWeatherDisplay(){ addFrameScript(12, frame13, 24, frame25); gotoAndStop("minimized"); } public function Maximize():void{ gotoAndPlay("maximize"); } public function OnMinimized():void{ gotoAndStop("minimized"); } function frame25(){ OnMaximized(); } public function UpdateWeatherDisplay():void{ var _local1:int; var _local2:uint; if (CCoffeeShopGame._instance == null){ return; }; if ((((((_textTemperature == null)) || ((_textDescription == null)))) || ((_textDegreesSymbol == null)))){ return; }; _local1 = CCoffeeShopGame._instance._temperatureFarenheit; _textTemperature.text = (String(_local1) + "°"); _textDescription.text = CCoffeeShopGame._instance.GetDescriptionForTemperature(_local1); _local2 = CCoffeeShopGame._instance.GetColorForTemperature(_local1); _textTemperature.textColor = _local2; _textDegreesSymbol.textColor = _local2; } function frame13(){ OnMinimized(); } public function UpdateDisplay():void{ UpdateWeatherDisplay(); UpdateTimeDisplay(); } public function Minimize():void{ gotoAndPlay("minimize"); } public function UpdateTimeDisplay():void{ var _local1:int; var _local2:Number; if (CCoffeeShopGame._instance == null){ return; }; if ((((_textTime == null)) || ((_textDayNumber == null)))){ return; }; _local1 = CCoffeeShopGame._instance._dayNumber; _textDayNumber.text = ("DAY " + String((_local1 + 1))); _local2 = CCoffeeShopGame._instance._timeOfDay; _textTime.text = CCoffeeShopApp.ConvertUnitToString("TimeOfDay", _local2); } public function OnMaximized():void{ gotoAndStop("maximized"); } } }//package
Section 101
//CLeaderboardDisplay (CLeaderboardDisplay) package { import flash.display.*; public class CLeaderboardDisplay extends MovieClip { private var m_arrRows:Array; private var m_lastSubmittedPlayerName:String; public var btn_pageDown:CButtonLeaderboard; public var btn_me:CButtonLeaderboardStar; private var m_firstScoreToDisplay:int;// = 0 public var btn_end:CButtonLeaderboardExtreme; private var m_numScoresToDisplay:int;// = 10 private var m_leaderboardSystem:CLeaderboardSystem; public var btn_pageUp:CButtonLeaderboard; private var m_errorAndWaitDisplay:CLeaderboardErrorWaitDisplay; private var m_isWeekly:Boolean;// = false public var btn_home:CButtonLeaderboardExtreme; public var mc_scoreTableHost:MovieClip; private var m_nScoresInDatabase:int; public function CLeaderboardDisplay(){ m_isWeekly = false; m_firstScoreToDisplay = 0; m_numScoresToDisplay = 10; super(); btn_home.Initialize(GoToTop); btn_end.Initialize(GoToBottom); btn_pageUp.Initialize(PageUp); btn_pageDown.Initialize(PageDown); btn_me.Initialize(GoToLastSubmitted); btn_me.visible = false; } public function FetchScoresNearPlayer():void{ var _local1:int; var _local2:Boolean; if (!m_lastSubmittedPlayerName){ return; }; _local1 = ((-(m_numScoresToDisplay) / 2) + 1); _local2 = m_leaderboardSystem.FetchScoresFromServerByPlayerName(m_lastSubmittedPlayerName, m_numScoresToDisplay, _local1, OnFetchComplete, OnFetchError, m_isWeekly); if (!_local2){ m_errorAndWaitDisplay.ReportError("Could not access server for refresh"); } else { m_errorAndWaitDisplay.StartServerWait("Fetching scores"); }; } public function IsAtTop():Boolean{ return ((((m_firstScoreToDisplay == 0)) || (!(m_nScoresInDatabase)))); } public function GoToLastSubmitted():void{ if (m_lastSubmittedPlayerName){ FetchScoresNearPlayer(); }; } public function SetRow(_arg1:int, _arg2:int, _arg3:String, _arg4:String):void{ m_arrRows[_arg1].Set(_arg2, _arg3, ("$" + _arg4)); } public function FetchScoresFromServer():void{ var _local1:Boolean; _local1 = m_leaderboardSystem.FetchScoresFromServerByRank(m_firstScoreToDisplay, m_numScoresToDisplay, OnFetchComplete, OnFetchError, m_isWeekly); if (!_local1){ m_errorAndWaitDisplay.ReportError("Could not access server for refresh"); } else { m_errorAndWaitDisplay.StartServerWait("Fetching scores"); }; } public function OnFetchComplete(_arg1:uint, _arg2:uint, _arg3:Object):void{ var _local4:Number; var _local5:Number; m_errorAndWaitDisplay.EndServerWait(); _local4 = 0; while (_local4 < GetNumRows()) { _local5 = ((_arg1 + _local4) + 1); if (_arg3[("name" + _local4)]){ SetRow(_local4, _local5, _arg3[("name" + _local4)], _arg3[("score" + _local4)]); } else { ClearRow(_local4); }; _local4++; }; m_nScoresInDatabase = _arg2; m_firstScoreToDisplay = _arg1; if (m_lastSubmittedPlayerName){ HighlightRowByName(m_lastSubmittedPlayerName); }; if (((m_isWeekly) && (_arg3.periodType))){ CMenuHighScores(parent)._textPeriodTitle.text = _arg3.periodType; }; } public function GetNumRows():int{ return (m_arrRows.length); } public function ClearRow(_arg1:int):void{ m_arrRows[_arg1].Clear(); } public function HighlightRow(_arg1:int):void{ if ((((_arg1 >= 0)) && ((_arg1 < m_arrRows.length)))){ m_arrRows[_arg1].Highlight(); }; } public function get _spaceBetweenRows():Number{ return (1); } public function IsAtBottom():Boolean{ return (((!(m_nScoresInDatabase)) || (((m_firstScoreToDisplay + m_numScoresToDisplay) >= m_nScoresInDatabase)))); } public function Initialize(_arg1:CLeaderboardSystem, _arg2:CLeaderboardErrorWaitDisplay, _arg3:int, _arg4:Boolean=false):void{ var _local5:CLeaderboardRow; if (!mc_scoreTableHost){ return; }; m_leaderboardSystem = _arg1; m_errorAndWaitDisplay = _arg2; m_isWeekly = _arg4; m_numScoresToDisplay = _arg3; m_arrRows = new Array(); while (_arg3 > 0) { _local5 = new CLeaderboardRow(); mc_scoreTableHost.addChild(_local5); _local5.y = (m_arrRows.length * (_local5.height + _spaceBetweenRows)); m_arrRows.push(_local5); _arg3--; }; FetchScoresFromServer(); } public function PageUp():void{ m_firstScoreToDisplay = (m_firstScoreToDisplay - m_numScoresToDisplay); if (m_firstScoreToDisplay < 0){ m_firstScoreToDisplay = 0; }; FetchScoresFromServer(); } public function GoToBottom():void{ if (!m_nScoresInDatabase){ m_firstScoreToDisplay = 0; return; }; m_firstScoreToDisplay = Math.max(0, (m_nScoresInDatabase - m_numScoresToDisplay)); FetchScoresFromServer(); } public function GoToTop():void{ m_firstScoreToDisplay = 0; FetchScoresFromServer(); } public function SetSubmittedPlayerName(_arg1:String):void{ m_lastSubmittedPlayerName = _arg1; btn_me.visible = ((!((_arg1 == null))) && ((_arg1.length > 0))); if (m_lastSubmittedPlayerName){ FetchScoresNearPlayer(); }; } public function LineUp():void{ m_firstScoreToDisplay--; if (m_firstScoreToDisplay < 0){ m_firstScoreToDisplay = 0; }; FetchScoresFromServer(); } public function get _nScoresInDatabase():int{ return (m_nScoresInDatabase); } public function OnFetchError(_arg1:String):void{ m_errorAndWaitDisplay.EndServerWait(); if (_arg1){ m_errorAndWaitDisplay.ReportError(_arg1); }; } public function LineDown():void{ if (!m_nScoresInDatabase){ m_firstScoreToDisplay = 0; return; }; m_firstScoreToDisplay++; if (m_firstScoreToDisplay >= m_nScoresInDatabase){ m_firstScoreToDisplay = (m_nScoresInDatabase - 1); }; FetchScoresFromServer(); } public function HighlightRowByName(_arg1:String):void{ var _local2:int; _local2 = 0; while (_local2 < m_arrRows.length) { if (m_arrRows[_local2]._textName.text == _arg1){ m_arrRows[_local2].Highlight(); } else { m_arrRows[_local2].UnHighlight(); }; _local2++; }; } public function PageDown():void{ if (!m_nScoresInDatabase){ m_firstScoreToDisplay = 0; return; }; if ((m_firstScoreToDisplay + m_numScoresToDisplay) < m_nScoresInDatabase){ m_firstScoreToDisplay = (m_firstScoreToDisplay + m_numScoresToDisplay); }; FetchScoresFromServer(); } } }//package
Section 102
//CLeaderboardErrorBox (CLeaderboardErrorBox) package { import flash.display.*; import flash.text.*; public class CLeaderboardErrorBox extends MovieClip { public var _textError:TextField; public var btn_close:CButtonLeaderboardClose; public function CLeaderboardErrorBox(){ btn_close.Initialize(OnClose); } public function OnClose():void{ visible = false; } } }//package
Section 103
//CLeaderboardErrorWaitDisplay (CLeaderboardErrorWaitDisplay) package { import flash.display.*; public class CLeaderboardErrorWaitDisplay extends MovieClip { public var _errorBox:CLeaderboardErrorBox; public var _waitBox:CLeaderboardWaitBox; public function CLeaderboardErrorWaitDisplay(){ _waitBox.visible = false; _errorBox.visible = false; } public function ReportError(_arg1:String):void{ _errorBox.visible = true; _errorBox._textError.text = _arg1; EndServerWait(); } public function EndServerWait():void{ _waitBox.visible = false; } public function StartServerWait(_arg1:String):void{ _waitBox.visible = true; _waitBox._textWaitMessage.text = (_arg1 + "..."); } } }//package
Section 104
//CLeaderboardRow (CLeaderboardRow) package { import flash.display.*; import flash.text.*; import flash.geom.*; public class CLeaderboardRow extends MovieClip { public var _textRank:TextField; public var _textName:TextField; public var _textScore:TextField; public function CLeaderboardRow(){ Clear(); } public function Clear():void{ _textRank.text = ""; _textName.text = ""; _textScore.text = ""; visible = false; } public function Set(_arg1:Number, _arg2:String, _arg3:String):void{ _textRank.text = _arg1.toString(); _textName.text = _arg2; _textScore.text = _arg3; visible = true; UnHighlight(); } public function UnHighlight():void{ var _local1:ColorTransform; _local1 = transform.colorTransform; _local1.redOffset = 0; _local1.greenOffset = 0; _local1.blueOffset = 0; _local1.redMultiplier = 1; _local1.greenMultiplier = 1; _local1.blueMultiplier = 1; transform.colorTransform = _local1; } public function Highlight():void{ var _local1:ColorTransform; _local1 = transform.colorTransform; _local1.redOffset = -40; _local1.greenOffset = -40; _local1.blueOffset = -40; _local1.redMultiplier = 0.96; _local1.greenMultiplier = 0.96; _local1.blueMultiplier = 0.96; transform.colorTransform = _local1; } } }//package
Section 105
//CLeaderboardScoreSubmitDisplay (CLeaderboardScoreSubmitDisplay) package { import flash.text.*; public class CLeaderboardScoreSubmitDisplay extends CMovieClipFresh { private var m_fnCallback:Function; public var _textName:TextField; private var m_errorAndWaitDisplay:CLeaderboardErrorWaitDisplay; private var m_leaderboardSystem:CLeaderboardSystem; public var _buttonSubmit:CButton; private var m_lastSubmittedName:String; public var _textScore:TextField; public function CLeaderboardScoreSubmitDisplay(){ _textName.restrict = "A-Z a-z"; _buttonSubmit.Initialize("Submit", OnSubmit, "hsSubmit"); } public function OnSubmit():void{ var _local1:Object; var _local2:Boolean; if (!CLeaderboardSystem.IsLegalName(_textName.text)){ m_errorAndWaitDisplay.ReportError("This name is not permitted. Please choose another."); return; }; _buttonSubmit.SetEnabled(false); _local1 = {name:_textName.text, score:GetNumericScore()}; _local2 = m_leaderboardSystem.SubmitScore(_local1, OnSubmitSuccessful, OnSubmitFailed); if (_local2){ m_lastSubmittedName = _local1.name; m_errorAndWaitDisplay.StartServerWait("Uploading score"); }; } public function OnSubmitFailed(_arg1:int, _arg2:String):void{ var _local3:Boolean; m_errorAndWaitDisplay.EndServerWait(); _local3 = !((_arg1 == 3)); m_lastSubmittedName = null; if (_arg2){ m_errorAndWaitDisplay.ReportError(_arg2); }; if (((!((m_fnCallback == null))) && (_local3))){ m_fnCallback(-1); }; _buttonSubmit.SetEnabled(true); } public function GetSubmittedPlayerName():String{ return (m_lastSubmittedName); } public function Initialize(_arg1:CLeaderboardSystem, _arg2:Function, _arg3:CLeaderboardErrorWaitDisplay):void{ m_leaderboardSystem = _arg1; m_fnCallback = _arg2; m_errorAndWaitDisplay = _arg3; } public function GetNumericScore():Number{ return (Number(_textScore.text)); } public function OnSubmitSuccessful(_arg1:int):void{ m_errorAndWaitDisplay.EndServerWait(); if (m_fnCallback != null){ m_fnCallback(_arg1); }; } } }//package
Section 106
//CLeaderboardSystem (CLeaderboardSystem) package { import flash.events.*; import flash.net.*; import flash.utils.*; public class CLeaderboardSystem { private var m_fnCallbackSubmitSuccess:Function; private var m_fnCallbackSubmitError:Function; private var m_fnCallbackFetchSuccess:Function; private var m_fnCallbackFetchError:Function; private var m_nChallengeAttempts:int;// = 0 private var m_lastScoreInfo:Object; private var m_loader:URLLoader; private var m_gameName:String; private var m_currentChallenge:Number;// = 0 public function CLeaderboardSystem(_arg1:String){ m_currentChallenge = 0; m_nChallengeAttempts = 0; super(); m_gameName = _arg1; } public function FetchScoresFromServerByBaseScore(_arg1:Number, _arg2:uint, _arg3:Function, _arg4:Function, _arg5:Boolean=false):Boolean{ var _local6:URLVariables; _local6 = new URLVariables(); _local6.baseScore = _arg1; return (FetchScoresFromServer(_local6, _arg2, _arg3, _arg4, _arg5)); } private function EncodeSeed(_arg1:Number, _arg2:Number):Number{ _arg2 = Math.floor((_arg2 * 100)); _arg1 = (_arg1 ^ _arg2); _arg1 = (_arg1 * 7); _arg1 = (_arg1 + 7); _arg1 = (_arg1 / 13); _arg1 = (_arg1 * 37); _arg1 = (_arg1 - 121); _arg1 = (_arg1 - 11); _arg1 = Math.abs(Math.floor(_arg1)); return (_arg1); } public function FetchScoresFromServer(_arg1:URLVariables, _arg2:uint, _arg3:Function, _arg4:Function, _arg5:Boolean=false, _arg6:int=0):Boolean{ var _local7:String; if (!m_gameName){ return (false); }; m_fnCallbackFetchSuccess = _arg3; m_fnCallbackFetchError = _arg4; _arg1.game = m_gameName; _arg1.ver = CCoffeeShopApp.GetGameVersionString(); _arg1.numScoresToDisplay = _arg2; _arg1.offset = _arg6; if (_arg5){ _arg1.weekly = 1; }; _local7 = (((_serverURL + _leaderboardPhpURL) + "?cacheClear=") + getTimer()); SendAndLoad(_local7, _arg1, OnFetchComplete, OnFetchError); return (true); } public function UpdateChallenge(_arg1:Number):void{ m_currentChallenge = _arg1; m_nChallengeAttempts++; if (m_nChallengeAttempts > 3){ return; }; if (m_lastScoreInfo){ SubmitScore(m_lastScoreInfo, m_fnCallbackSubmitSuccess, m_fnCallbackSubmitError); }; } public function FetchScoresFromServerByRank(_arg1:uint, _arg2:uint, _arg3:Function, _arg4:Function, _arg5:Boolean=false):Boolean{ var _local6:URLVariables; _local6 = new URLVariables(); _local6.firstScoreToDisplay = _arg1; return (FetchScoresFromServer(_local6, _arg2, _arg3, _arg4, _arg5)); } public function OnFetchError(_arg1:Event):void{ if (m_fnCallbackFetchError != null){ m_fnCallbackFetchError(_arg1["text"]); }; } public function OnSubmitComplete(_arg1:Event):void{ if (m_loader.dataFormat == "text"){ if (m_fnCallbackSubmitError != null){ m_fnCallbackSubmitError(2000, ("SERVER ERROR: " + m_loader.data)); }; return; }; if (m_loader.data.faultyResponse){ UpdateChallenge(int(m_loader.data.challenge)); return; }; if (m_loader.data.error != undefined){ if (m_fnCallbackSubmitError != null){ m_fnCallbackSubmitError(m_loader.data.error, m_loader.data.errorReason); }; return; } else { OnSubmitSuccessful(m_loader.data.playerRank); }; } public function OnFetchComplete(_arg1:Event):void{ if (((!((m_fnCallbackFetchSuccess == null))) && (m_loader.data))){ m_fnCallbackFetchSuccess(m_loader.data.firstScoreDisplayed, m_loader.data.numRecords, m_loader.data); }; } protected function SendAndLoad(_arg1:String, _arg2:URLVariables, _arg3:Function, _arg4:Function):void{ var _local5:URLRequest; m_loader = new URLLoader(); m_loader.dataFormat = URLLoaderDataFormat.VARIABLES; m_loader.addEventListener(Event.COMPLETE, _arg3); m_loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, _arg4); m_loader.addEventListener(IOErrorEvent.IO_ERROR, _arg4); _local5 = new URLRequest(_arg1); _local5.data = _arg2; _local5.method = URLRequestMethod.POST; m_loader.load(_local5); } public function OnSubmitError(_arg1:Event):void{ if (m_fnCallbackSubmitError != null){ m_fnCallbackSubmitError(1000, _arg1["text"]); }; } public function FetchScoresFromServerByPlayerName(_arg1:String, _arg2:uint, _arg3:int, _arg4:Function, _arg5:Function, _arg6:Boolean=false):Boolean{ var _local7:URLVariables; _local7 = new URLVariables(); _local7.searchName = _arg1; return (FetchScoresFromServer(_local7, _arg2, _arg4, _arg5, _arg6, _arg3)); } public function get _serverURL():String{ return ("http://stats.armorgames.com/coffee/"); } public function OnSubmitSuccessful(_arg1:int):void{ m_nChallengeAttempts = 0; if (m_fnCallbackSubmitSuccess != null){ m_fnCallbackSubmitSuccess(_arg1); }; } public function get _leaderboardPhpURL():String{ return ((m_gameName + "_leaderboard.php")); } public function SubmitScore(_arg1:Object, _arg2:Function, _arg3:Function):Boolean{ var _local4:URLVariables; var _local5:String; var _local6:String; m_fnCallbackSubmitSuccess = _arg2; m_fnCallbackSubmitError = _arg3; if (!m_gameName){ return (false); }; if (!_arg1.name){ _arg3("Please enter a user name to submit.", false); return (false); }; if (!IsLegalName(_arg1.name)){ _arg3("This name is not permitted. Please choose another.", false); return (false); }; _local4 = new URLVariables(); _local4.game = m_gameName; _local4.ver = CCoffeeShopApp.GetGameVersionString(); _local4.password = "9Ecu7HUz"; _local4.response = EncodeSeed(m_currentChallenge, _arg1.score); for (_local5 in _arg1) { _local4[_local5] = _arg1[_local5]; }; m_lastScoreInfo = _arg1; _local6 = (((_serverURL + _leaderboardPhpURL) + "?cacheClear=") + getTimer()); SendAndLoad(_local6, _local4, OnSubmitComplete, OnSubmitError); return (true); } public static function IsLegalName(_arg1:String):Boolean{ var _local2:Array; var _local3:int; if (!_arg1){ return (false); }; _local2 = new Array(); _local2.push("fuck"); _local2.push("shit"); _local2.push("ass"); _local2.push("sh1t"); _local2.push("4ss"); _local2.push("bitch"); _local2.push("b1tch"); _local2.push("nigger"); _local2.push("n1gger"); _local2.push("pussy"); _local2.push("cunt"); _local2.push("clit"); _local2.push("twat"); _local2.push("penis"); _local2.push("cock"); _local2.push("sperm"); _local2.push("damn"); _local2.push("jesus"); _local2.push("satan"); _local2.push("god"); _local2.push("whore"); _local2.push("bastard"); _arg1 = _arg1.toLowerCase(); _local3 = 0; while (_local3 < _local2.length) { if (_arg1.indexOf(_local2[_local3]) != -1){ return (false); }; _local3++; }; return (true); } } }//package
Section 107
//CLeaderboardWaitBox (CLeaderboardWaitBox) package { import flash.display.*; import flash.text.*; public class CLeaderboardWaitBox extends MovieClip { public var _textWaitMessage:TextField; } }//package
Section 108
//CMenuCredits (CMenuCredits) package { import flash.display.*; public class CMenuCredits extends MovieClip { } }//package
Section 109
//CMenuEnterHighScore (CMenuEnterHighScore) package { public class CMenuEnterHighScore extends CLeaderboardScoreSubmitDisplay { public var _buttonSkip:CButton; public function CMenuEnterHighScore(){ _textScore.text = CCoffeeShopApp.ConvertUnitToString("Cash", CCoffeeShopApp._instance.GetGameOverScore()); _buttonSkip.Initialize("Skip", OnSkip, "hsSkip"); } public function OnSkip():void{ _buttonSubmit.SetEnabled(false); _buttonSkip.SetEnabled(false); OnSubmitSuccessful(-1); } override public function GetNumericScore():Number{ var _local1:String; _local1 = _textScore.text.substr(1); _local1 = _local1.split(",").join(""); return (Number(_local1)); } } }//package
Section 110
//CMenuHighScores (CMenuHighScores) package { import flash.text.*; public class CMenuHighScores extends CMovieClipFresh { public var _textPeriodTitle:TextField; public var _leaderboardAllTime:CLeaderboardDisplay; public var _leaderboardWeekly:CLeaderboardDisplay; public function CMenuHighScores(){ var _local1:String; super(); _leaderboardAllTime.Initialize(CCoffeeShopApp._instance._mainLeaderboardSystem, CCoffeeShopApp._instance._errorAndWaitDisplay, 10); _leaderboardWeekly.Initialize(CCoffeeShopApp._instance._weeklyFetchLeaderboardSystem, CCoffeeShopApp._instance._errorAndWaitDisplay, 10, true); _local1 = CCoffeeShopApp._instance._leaderboardPlayerName; if (_local1){ _leaderboardAllTime.SetSubmittedPlayerName(_local1); _leaderboardWeekly.SetSubmittedPlayerName(_local1); }; } } }//package
Section 111
//CMenuIntro (CMenuIntro) package { import flash.events.*; import flash.net.*; import flash.display.*; import flash.utils.*; public class CMenuIntro extends CMovieClipFresh { public var _buttonBack:CButtonBack; public var _buttonCredits:CButton; public var _buttonMoreGames:CButton; public var _innerMenuHost:MovieClip; public var _buttonPlay:CButtonPlay; private var _fnCallAfterMinimize:Function; public var _letterboxLowerA:MovieClip; public var _letterboxLowerD:MovieClip; public var _letterboxLowerB:MovieClip; public var _customerHost:MovieClip; private var _customerSpawnTimer:Timer; public var _buttonHighScores:CButton; private var _gameSettingsShowTutorial:Boolean;// = true private var _gameSettingsShopName:String; public function CMenuIntro(){ _gameSettingsShowTutorial = true; super(); addFrameScript(15, frame16, 149, frame150, 182, frame183, 214, frame215, 277, frame278); gotoAndPlay("appear"); _letterboxLowerA.gotoAndPlay(50); _letterboxLowerB.gotoAndPlay(100); _letterboxLowerD.gotoAndPlay(130); SetupButtons(); } function frame150(){ OnDoneAppearing(); } private function OnHighScoresReally():void{ } public function OnDoneAppearing(){ stop(); } private function OnCreditsReally():void{ } override public function FirstFrameInitialize(_arg1:Event):void{ if (CCoffeeShopApp._instance){ CCoffeeShopApp._instance.OnMenuIntroDoneInitializing(this); }; CCoffeeSound._instance.PlayMusic("music_menu", 0.75, 3, int.MAX_VALUE); _customerSpawnTimer = new Timer(CRandom._instance.GetIntInRange(5000, 6000), int.MAX_VALUE); _customerSpawnTimer.addEventListener("timer", OnTimer); _customerSpawnTimer.start(); super.FirstFrameInitialize(_arg1); } function frame278(){ OnGotoPlayDone(); } public function OnMoreGames():void{ navigateToURL(new URLRequest("http://www.armorgames.com")); } function frame215(){ OnRestoreDone(); } public function Play(_arg1:String, _arg2:Boolean):void{ _gameSettingsShopName = _arg1; _gameSettingsShowTutorial = _arg2; CCoffeeSound._instance.FadeOutMusic("music_menu", 3); _customerSpawnTimer.removeEventListener("timer", OnTimer); gotoAndPlay("gotoplay"); } function frame183(){ OnMinimizeDone(); } protected function SetupButtons():void{ _buttonPlay.Initialize("Play", OnPlay, "menuPlay"); _buttonMoreGames.Initialize("More Games...", OnMoreGames, "moreGames"); _buttonHighScores.Initialize("High Scores", OnHighScores, "highScores"); _buttonCredits.Initialize("Credits", OnCredits, "credits"); _buttonBack.Initialize("", OnBack, "back"); } public function ShowPlayOptions():void{ } function frame16(){ OnMinimizeDone(); } public function OnTimer(_arg1:TimerEvent):void{ var _local2:CCustomer; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; _local2 = null; _local3 = CRandom._instance.GetIntInRange(0, 5); _local4 = 1; _local5 = 399; _local6 = 399; _local7 = 40; _local8 = 250; _local9 = -150; _local10 = 150; if (CRandom._instance.GetBoolean()){ _local4 = -1; }; if (_local3 == 0){ _local2 = new CCustomer(_local4, _local7, _local8, _local5, _local6, _local9, _local10); } else { if (_local3 == 1){ _local2 = new CCustomerFat(_local4, _local7, _local8, _local5, _local6, _local9, _local10); } else { if (_local3 == 2){ _local2 = new CCustomerGranny(_local4, _local7, _local8, _local5, _local6, _local9, _local10); } else { if (_local3 == 3){ _local2 = new CCustomerPreppie(_local4, _local7, _local8, _local5, _local6, _local9, _local10); } else { if (_local3 == 4){ _local2 = new CCustomerBizGirl(_local4, _local7, _local8, _local5, _local6, _local9, _local10); } else { if (_local3 == 5){ _local2 = new CCustomerPurseDog(_local4, _local7, _local8, _local5, _local6, _local9, _local10); }; }; }; }; }; }; _customerHost.addChild(_local2); _customerSpawnTimer.delay = CRandom._instance.GetIntInRange(500, 12000); } public function OnBack():void{ gotoAndPlay("restore"); _buttonBack.SetEnabled(false); EnableMainButtons(true); } public function OnRestoreDone():void{ gotoAndStop("shown"); } public function JumpToHighScores():void{ _buttonBack.SetEnabled(true); _innerMenuHost.addChild(new CMenuHighScores()); gotoAndPlay("appear minimized"); _letterboxLowerA.gotoAndPlay(50); _letterboxLowerB.gotoAndPlay(100); _letterboxLowerD.gotoAndPlay(130); } public function OnCredits():void{ Minimize(OnCreditsReally); _innerMenuHost.addChild(new CMenuCredits()); } public function Minimize(_arg1:Function):void{ _fnCallAfterMinimize = _arg1; EnableMainButtons(false); gotoAndPlay("minimize"); _buttonBack.SetEnabled(true); } public function OnHighScores():void{ Minimize(OnHighScoresReally); _innerMenuHost.addChild(new CMenuHighScores()); } public function OnPlay():void{ Minimize(ShowPlayOptions); _innerMenuHost.addChild(new CMenuPlayOptions()); } protected function EnableMainButtons(_arg1:Boolean):void{ _buttonPlay.SetEnabled(_arg1); _buttonMoreGames.SetEnabled(_arg1); _buttonHighScores.SetEnabled(_arg1); _buttonCredits.SetEnabled(_arg1); } public function OnMinimizeDone():void{ if (_fnCallAfterMinimize != null){ _fnCallAfterMinimize(); _fnCallAfterMinimize = null; }; stop(); } public function OnGotoPlayDone():void{ stop(); CCoffeeShopApp._instance.GotoGame(_gameSettingsShopName, _gameSettingsShowTutorial); } } }//package
Section 112
//CMenuPlayOptions (CMenuPlayOptions) package { import flash.events.*; import flash.display.*; import flash.text.*; public class CMenuPlayOptions extends MovieClip { public var _checkboxShowTutorial:CCheckbox; public var _buttonPlayCommit:CButtonPlayCommit; public var _textShopName:TextField; public function CMenuPlayOptions(){ var _local1:Boolean; var _local2:Array; super(); _buttonPlayCommit.Initialize("Play!", OnPlay, "reallyPlay"); _local1 = true; if (((!((CCoffeeShopApp._cookie == null))) && (!((CCoffeeShopApp._cookie.wantsTutorials == undefined))))){ _local1 = CCoffeeShopApp._cookie.wantsTutorials; }; _checkboxShowTutorial.Initialize("Show tutorial", _local1); _local2 = ["The Coffee Mug", "Cafe Krazy", "Cafe Calypso", "Coffee Galore", "Jitter's"]; if (((!((CCoffeeShopApp._cookie == null))) && (CCoffeeShopApp._cookie.shopName))){ _textShopName.text = CCoffeeShopApp._cookie.shopName; } else { _textShopName.text = _local2[int((Math.random() * _local2.length))]; }; _textShopName.addEventListener(MouseEvent.CLICK, onShopNameFocus); } public function onShopNameFocus(_arg1:Event):void{ if (_textShopName.selectionBeginIndex == _textShopName.selectionEndIndex){ _textShopName.setSelection(0, _textShopName.text.length); }; } public function OnPlay():void{ CCoffeeShopApp._cookie.shopName = _textShopName.text; CCoffeeShopApp._cookie.wantsTutorials = _checkboxShowTutorial._isChecked; CMenuIntro(parent.parent).Play(_textShopName.text, _checkboxShowTutorial._isChecked); } } }//package
Section 113
//CMetaStatsCollector (CMetaStatsCollector) package { import flash.events.*; import flash.net.*; import flash.utils.*; public class CMetaStatsCollector { private var m_loader:URLLoader; private var m_mapButtons:Array; private static var s_instance:CMetaStatsCollector; public function CMetaStatsCollector(){ m_mapButtons = new Array(); super(); s_instance = this; } public function ClearButtonStats():void{ m_mapButtons = new Array(); } protected function OnSendFailed(_arg1:Event):void{ } protected function MakeVariables():URLVariables{ var _local1:URLVariables; _local1 = new URLVariables(); _local1.password = "9Ecu7HUz"; return (_local1); } protected function SetButtonStats(_arg1:URLVariables):void{ var _local2:int; var _local3:String; return; } public function get _serverURL():String{ return ("http://stats.armorgames.com/coffee/coffee_stats_submit.php"); } protected function OnSendSucceeded(_arg1:Event):void{ } public function RecordGameAbort():void{ var _local1:URLVariables; _local1 = MakeVariables(); _local1.gameAbort = 1; SetButtonStats(_local1); ClearButtonStats(); } public function AddButtonClick(_arg1:String):void{ if (m_mapButtons[_arg1]){ var _local2 = m_mapButtons; var _local3 = _arg1; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; } else { m_mapButtons[_arg1] = 1; }; } public function RecordLoaded():void{ var _local1:URLVariables; _local1 = MakeVariables(); _local1.load = 1; SendStats(_local1); } protected function SendStats(_arg1:URLVariables):void{ var _local2:URLRequest; m_loader = new URLLoader(); m_loader.dataFormat = URLLoaderDataFormat.VARIABLES; m_loader.addEventListener(Event.COMPLETE, OnSendSucceeded); m_loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, OnSendFailed); m_loader.addEventListener(IOErrorEvent.IO_ERROR, OnSendFailed); _local2 = new URLRequest(((_serverURL + "?cacheClear=") + getTimer())); _local2.data = _arg1; _local2.method = URLRequestMethod.POST; m_loader.load(_local2); } public function RecordVisit(_arg1:int, _arg2:String):void{ var _local3:URLVariables; _local3 = MakeVariables(); _local3.visit = _arg1; _local3.hostURL = _arg2; SendStats(_local3); } public function RecordEndOfDay(_arg1:int):void{ var _local2:URLVariables; _local2 = MakeVariables(); _local2.dayEnd = _arg1; SetButtonStats(_local2); ClearButtonStats(); } public function RecordGameStart():void{ var _local1:URLVariables; _local1 = MakeVariables(); _local1.gameStart = 1; } public static function get _instance():CMetaStatsCollector{ return (s_instance); } } }//package
Section 114
//CMovieClipFresh (CMovieClipFresh) package { import flash.events.*; import flash.display.*; public class CMovieClipFresh extends MovieClip { public function CMovieClipFresh(){ addEventListener(Event.ENTER_FRAME, FirstFrameInitialize); } public function FirstFrameInitialize(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, FirstFrameInitialize); if ((parent is IMovieClipFreshHost)){ IMovieClipFreshHost(parent).OnChildConstructed(this); }; } } }//package
Section 115
//CMusicController (CMusicController) package { import flash.events.*; import flash.media.*; import flash.utils.*; public class CMusicController { private var _fadeOutSeconds:Number;// = 0 private var _startPlaySeconds:Number;// = 0 private var _sound:Sound; private var _soundChannel:SoundChannel; private var _maxVolume:Number;// = 1 private var _isPlaying:Boolean;// = false private var _numLoops:uint;// = 0 private var _fadeOutMaxVolume:Number;// = 1 private var _startFadeOutSeconds:Number;// = 0 private var _loopOffset:uint;// = 0 private var _fadeInSeconds:Number;// = 0 public function CMusicController(_arg1:Sound, _arg2:Number=1, _arg3:Number=0, _arg4:uint=0, _arg5:uint=0){ _maxVolume = 1; _startPlaySeconds = 0; _fadeInSeconds = 0; _startFadeOutSeconds = 0; _fadeOutSeconds = 0; _fadeOutMaxVolume = 1; _isPlaying = false; _loopOffset = 0; _numLoops = 0; super(); _sound = _arg1; SetMaxVolume(_arg2); Play(_arg3, _arg4, _arg5); } public function SetMaxVolume(_arg1:Number):void{ _maxVolume = _arg1; } public function OnMusicComplete(_arg1:Event):void{ if (_numLoops > 0){ _channel = _sound.play(_loopOffset, (_numLoops - 1)); SetVolume(_maxVolume); } else { CCoffeeShopApp._stage.removeEventListener(Event.ENTER_FRAME, OnEnterFrame); _isPlaying = false; }; } protected function set _channel(_arg1:SoundChannel):void{ if (_soundChannel != null){ _soundChannel.removeEventListener(Event.SOUND_COMPLETE, OnMusicComplete); }; _soundChannel = _arg1; } public function FadeOut(_arg1:Number):void{ _fadeOutSeconds = _arg1; _fadeOutMaxVolume = GetVolume(); _startFadeOutSeconds = (getTimer() / 1000); } public function Play(_arg1:Number=0, _arg2:uint=0, _arg3:uint=0){ _fadeInSeconds = _arg1; _fadeOutSeconds = 0; if (!_isPlaying){ _channel = _sound.play(0, 0); CCoffeeShopApp._stage.addEventListener(Event.ENTER_FRAME, OnEnterFrame); }; _numLoops = _arg2; _loopOffset = _arg3; _startPlaySeconds = (getTimer() / 1000); if (_fadeInSeconds > 0){ SetVolume(0); } else { SetVolume(_maxVolume); }; _isPlaying = true; _soundChannel.addEventListener(Event.SOUND_COMPLETE, OnMusicComplete); } public function OnEnterFrame(_arg1:Event):void{ var _local2:Number; _local2 = 0; if (_fadeOutSeconds > 0){ _local2 = (((getTimer() / 1000) - _startFadeOutSeconds) / _fadeOutSeconds); _local2 = Math.max(0, Math.min(1, _local2)); SetVolume(((1 - _local2) * _fadeOutMaxVolume)); if (_local2 >= 1){ _soundChannel.stop(); _fadeOutSeconds = 0; _isPlaying = false; CCoffeeShopApp._stage.removeEventListener(Event.ENTER_FRAME, OnEnterFrame); }; } else { if (_fadeInSeconds > 0){ _local2 = (((getTimer() / 1000) - _startPlaySeconds) / _fadeInSeconds); _local2 = Math.max(0, Math.min(1, _local2)); SetVolume((_local2 * _maxVolume)); if (_local2 >= 1){ _fadeInSeconds = 0; }; }; }; } protected function GetVolume():Number{ return (_soundChannel.soundTransform.volume); } protected function SetVolume(_arg1:Number):void{ var _local2:SoundTransform; _local2 = _soundChannel.soundTransform; _local2.volume = _arg1; _soundChannel.soundTransform = _local2; } } }//package
Section 116
//consideration_bad (consideration_bad) package { import flash.media.*; public dynamic class consideration_bad extends Sound { } }//package
Section 117
//consideration_good (consideration_good) package { import flash.media.*; public dynamic class consideration_good extends Sound { } }//package
Section 118
//CPageTabs (CPageTabs) package { import flash.display.*; public class CPageTabs extends MovieClip { private var _nTabs:uint;// = 0 private var _tabXOffset:int;// = 112 public function CPageTabs(){ _nTabs = 0; _tabXOffset = 112; super(); } public function AddTab(_arg1:String, _arg2:Function):void{ var _local3:*; _local3 = new CHUDTab(); _local3.Initialize(_arg1, _arg2, ("tab" + _arg1)); _local3.name = _arg1; addChild(_local3); _local3.x = (_nTabs * _tabXOffset); _nTabs++; } public function BringForwardTab(_arg1:String):void{ var _local2:*; _local2 = CHUDTab(getChildByName(_arg1)); if (_local2){ setChildIndex(_local2, (numChildren - 1)); }; } } }//package
Section 119
//CQuitConfirm (CQuitConfirm) package { import flash.display.*; public class CQuitConfirm extends MovieClip { private var m_fnCallbackYes:Function; private var m_fnCallbackNo:Function; public var _buttonYes:CButtonMenu; public var _buttonNo:CButtonMenu; public function CQuitConfirm(){ visible = false; _buttonYes.Initialize("Yes", OnYes, "quitYes"); _buttonNo.Initialize("No", OnNo, "quitNo"); } public function OnNo():void{ if (m_fnCallbackNo != null){ m_fnCallbackNo(); }; } public function OnYes():void{ if (m_fnCallbackYes != null){ m_fnCallbackYes(); }; } public function Initialize(_arg1:Function, _arg2:Function):void{ m_fnCallbackYes = _arg1; m_fnCallbackNo = _arg2; } } }//package
Section 120
//CRandom (CRandom) package { class CRandom { private var _seed:Number;// = 0 private static var s_instance:CRandom; function CRandom(_arg1:Number){ _seed = 0; super(); if (s_instance){ throw ("Illegal second CRandom singleton instantiated."); }; s_instance = this; SetSeed(_arg1); } function SetSeed(_arg1:Number):void{ _seed = _arg1; } function GetBoolean():Boolean{ return ((GetRandom() < 0.5)); } function GetIntInRange(_arg1:int, _arg2:int):int{ return (int((_arg1 + (GetRandom() * ((_arg2 - _arg1) + 1))))); } function GetNumInRange(_arg1:Number, _arg2:Number):Number{ return ((_arg1 + (GetRandom() * ((_arg2 - _arg1) + 1)))); } function GetRandom():Number{ _seed = (((_seed * 9301) + 49297) % 233280); return ((_seed / 233280)); } static function get _instance():CRandom{ return (s_instance); } } }//package
Section 121
//CScene (CScene) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class CScene extends MovieClip { public var _realScene:CSceneReal; private var _lastFrameCustomerMade;// = -1 private var _zoomTargetScale:Number;// = 1 private var _framesPerCustomer:Number;// = 0 private var _zoomDuration:Number;// = 1000 private var _zoomStartScale:Number; private var _nCustomersMade:int;// = 0 private var _nFrames:int;// = 0 private var _zoomStartTime:uint; private var _nCustomersToMake:int;// = 0 public function CScene(){ _zoomTargetScale = 1; _zoomDuration = 1000; _nFrames = 0; _lastFrameCustomerMade = -1; _nCustomersMade = 0; _nCustomersToMake = 0; _framesPerCustomer = 0; super(); _zoomTargetScale = (_zoomStartScale = scaleX); addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function SetZoom(_arg1:Number):void{ scaleX = (scaleY = (_zoomTargetScale = (_zoomStartScale = _arg1))); } public function MaybeMakeCustomer():void{ _nFrames++; if ((((_nCustomersMade < _nCustomersToMake)) && ((_nFrames > (_lastFrameCustomerMade + _framesPerCustomer))))){ _realScene.CreateCustomer(); _nCustomersMade++; _lastFrameCustomerMade = _nFrames; }; } protected function UpdateZoom():void{ var _local1:Number; var _local2:Number; var _local3:Number; _local1 = MathUtil.Clamp(((getTimer() - _zoomStartTime) / _zoomDuration), 0, 1); _local2 = ((1 - Math.cos((_local1 * Math.PI))) * 0.5); _local3 = MathUtil.Lerp(_zoomStartScale, _zoomTargetScale, _local2); if (scaleX != _local3){ scaleX = (scaleY = _local3); }; } public function SpawnThoughtBubbleConsideration(_arg1:CCustomer, _arg2:String, _arg3:Boolean):CThoughtBubbleConsideration{ var _local4:CThoughtBubbleConsideration; if (CCoffeeShopGame._instance._isSkippingToEndOfDay){ return (null); }; _local4 = new CThoughtBubbleConsideration(_arg1, _arg2, _arg3); addChild(_local4); _local4.onEnterFrame(null); return (_local4); } public function SpawnThoughtBubbleReaction(_arg1:CCustomer, _arg2:String, _arg3:Boolean):CThoughtBubble{ var _local4:CThoughtBubble; if (CCoffeeShopGame._instance._isSkippingToEndOfDay){ return (null); }; _local4 = new CThoughtBubble(_arg1, _arg2, _arg3); addChild(_local4); _local4.onEnterFrame(null); return (_local4); } public function onEnterFrame(_arg1:Event):void{ MaybeMakeCustomer(); } public function StartMakingCustomers(_arg1:int, _arg2:int):void{ _lastFrameCustomerMade = -1; _nCustomersMade = 0; _nCustomersToMake = _arg1; _framesPerCustomer = (Number(_arg2) / Number(_arg1)); } public function SetTargetZoom(_arg1:Number, _arg2:Number):void{ _zoomTargetScale = _arg1; _zoomDuration = (_arg2 * 1000); _zoomStartScale = scaleX; _zoomStartTime = getTimer(); } } }//package
Section 122
//CSceneReal (CSceneReal) package { import flash.events.*; import flash.display.*; import flash.text.*; import fl.motion.*; import flash.geom.*; public class CSceneReal extends CMovieClipFresh { public var _weatherSnow:MovieClip; public var _playerCharacter:MovieClip; private var _middayTransform:ColorTransform; private var _nightTransform:ColorTransform; public var _customerHost:MovieClip; public var _storeName:TextField; public var _backdrop:MovieClip; private var _dawnTransform:ColorTransform; private var _duskTransform:ColorTransform; public var _weatherRain:MovieClip; public var _soldOutSign:MovieClip; public function CSceneReal(){ _nightTransform = new ColorTransform(0.41, 0.41, 0.41, 1, 0, 0, 30); _dawnTransform = new ColorTransform(0.67, 0.67, 0.67, 1, 84, 0, 0); _middayTransform = new ColorTransform(); _duskTransform = new ColorTransform(0.67, 0.67, 0.67, 1, 67, 50, 0); _soldOutSign.visible = false; _weatherRain.visible = false; _weatherSnow.visible = false; SetWeather("fair"); addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function CreateCustomer():void{ var _local1:CCustomer; var _local2:Number; var _local3:int; _local1 = null; if (CCoffeeShopGame._instance._shop._reputation > 0.5){ _local2 = (CRandom._instance.GetRandom() * 400); if (_local2 < CCoffeeShopGame._instance._shop._reputation){ _local1 = new CCustomerPope(); }; }; if (!_local1){ _local3 = CRandom._instance.GetIntInRange(0, 5); if (_local3 == 0){ _local1 = new CCustomer(); } else { if (_local3 == 1){ _local1 = new CCustomerFat(); } else { if (_local3 == 2){ _local1 = new CCustomerGranny(); } else { if (_local3 == 3){ _local1 = new CCustomerPreppie(); } else { if (_local3 == 4){ _local1 = new CCustomerBizGirl(); } else { if (_local3 == 5){ _local1 = new CCustomerPurseDog(); }; }; }; }; }; }; }; _customerHost.addChild(_local1); } override public function FirstFrameInitialize(_arg1:Event):void{ super.FirstFrameInitialize(_arg1); _storeName.text = CCoffeeShopGame._instance._shop.GetName(); } public function SortCustomers():void{ var _local1:Array; var _local2:uint; var _local3:int; _local1 = new Array(); _local2 = 0; while (_local2 < _customerHost.numChildren) { if ((_customerHost.getChildAt(_local2) is CCustomer)){ _local1.push(_customerHost.getChildAt(_local2)); }; _local2++; }; _local1.sortOn("y", Array.NUMERIC); _local3 = (_local1.length - 1); while (_local3 >= 0) { if (_customerHost.getChildAt(_local3) != _local1[_local3]){ _customerHost.setChildIndex(_local1[_local3], _local3); }; _local3--; }; } public function SetWeather(_arg1:String):void{ _backdrop.gotoAndStop(_arg1); CCoffeeSound._instance.PlayAmbient(("ambient_" + _arg1)); } protected function UpdateTimeOfDayEffects(_arg1:Number):void{ var _local2:Number; var _local3:ColorTransform; var _local4:ColorTransform; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:ColorTransform; _local2 = 0; _local3 = null; _local4 = null; _local5 = 0.1; _local6 = 0.25; _local7 = 0.8; _local8 = 0.98; if (_arg1 < _local5){ _local2 = (_arg1 / _local5); _local3 = _nightTransform; _local4 = _dawnTransform; } else { if (_arg1 < _local6){ _local2 = ((_arg1 - _local5) / (_local6 - _local5)); _local3 = _dawnTransform; _local4 = _middayTransform; } else { if (_arg1 < _local7){ _local2 = ((_arg1 - _local6) / (_local7 - _local6)); _local3 = _middayTransform; _local4 = _duskTransform; } else { if (_arg1 < _local8){ _local2 = ((_arg1 - _local7) / (_local8 - _local7)); _local3 = _duskTransform; _local4 = _nightTransform; } else { _local2 = 0; _local3 = _nightTransform; _local4 = _nightTransform; }; }; }; }; _local9 = Color.interpolateTransform(_local3, _local4, _local2); transform.colorTransform = _local9; } public function onEnterFrame(_arg1:Event):void{ SortCustomers(); _soldOutSign.visible = ((!(CCoffeeShopGame._instance._isTimePaused)) && ((CCoffeeShopGame._instance._shop.GetNumServingsAvailable() <= 0))); } } }//package
Section 123
//CShop (CShop) package { public class CShop { private var _shopName:String;// = "" private var _mapRecipeAmounts:Array; private var _amountCashAtStartOfDay:int; private var _mapStatsDaily:Array; private var _mapStatsAllTime:Array; private var _myReputation:Number;// = 0 private var _maxCustommerAffectOnReputationPerPurchase:Number;// = 0.04 private var _numCupsSold:uint;// = 0 private var _amountCash:int; private var _mapInventoryAmounts:Array; private var _price:int;// = 200 private var _myReputationAtStartOfDay;// = 0 private var _cupsSoldAtStartOfDay:uint;// = 0 public function CShop(_arg1:String){ _numCupsSold = 0; _cupsSoldAtStartOfDay = 0; _shopName = ""; _amountCash = CCoffeeShopGame._instance._initialCash; _price = 200; _myReputation = 0; _myReputationAtStartOfDay = 0; _maxCustommerAffectOnReputationPerPurchase = 0.04; _mapStatsAllTime = new Array(); _mapStatsDaily = new Array(); super(); _shopName = _arg1; _mapInventoryAmounts = new Array(); _mapInventoryAmounts["Cups"] = 0; _mapInventoryAmounts["Coffee"] = 0; _mapInventoryAmounts["Milk"] = 0; _mapInventoryAmounts["Sugar"] = 0; _mapRecipeAmounts = new Array(); _mapRecipeAmounts["Coffee"] = 2; _mapRecipeAmounts["Milk"] = 0.25; _mapRecipeAmounts["Sugar"] = 2; CCoffeeShopGame._instance._hud.OnReputationChanged(0, _myReputation); RecordInitialStats(); } public function Pay(_arg1:int):void{ _amountCash = Math.max(0, (_amountCash - _arg1)); CCoffeeSound._instance.PlaySound("audio_pay"); } public function GetStats(_arg1:Boolean, _arg2:String):Array{ if (_arg1){ return (GetStatsAllTime(_arg2)); }; return (GetStatsDaily(_arg2)); } public function GetDailyCupsSold():int{ return ((_numCupsSold - _cupsSoldAtStartOfDay)); } public function GetLastStatAllTime(_arg1:String):Number{ var _local2:Array; _local2 = GetStatsAllTime(_arg1); return (_local2[(_local2.length - 1)]); } public function GetStatsDaily(_arg1:String):Array{ return (_mapStatsDaily[_arg1]); } public function get _cash():int{ return (_amountCash); } public function AddInventoryAmount(_arg1:String, _arg2:Number):void{ _mapInventoryAmounts[_arg1] = Math.max(0, (_mapInventoryAmounts[_arg1] + _arg2)); } public function GetNumStats(_arg1:Boolean):uint{ if (_arg1){ return (GetNumStatsAllTime()); }; return (GetNumStatsDaily()); } public function get _reputation():Number{ return (_myReputation); } public function get _pricePerServing():int{ return (_price); } public function Gain(_arg1:int):void{ _amountCash = Math.max(0, (_amountCash + _arg1)); } public function GetLastStatDaily(_arg1:String):Number{ var _local2:Array; _local2 = GetStatsDaily(_arg1); return (_local2[(_local2.length - 1)]); } public function GetNumServingsAvailable():int{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; _local1 = GetInventoryAmount("Cups"); _local2 = (GetInventoryAmount("Coffee") / GetRecipeAmount("Coffee")); _local3 = (GetInventoryAmount("Milk") / GetRecipeAmount("Milk")); _local4 = (GetInventoryAmount("Sugar") / GetRecipeAmount("Sugar")); if (isNaN(_local2)){ _local2 = Number.POSITIVE_INFINITY; }; if (isNaN(_local3)){ _local3 = Number.POSITIVE_INFINITY; }; if (isNaN(_local4)){ _local4 = Number.POSITIVE_INFINITY; }; return (Math.round(Math.min(_local1, Math.min(_local2, Math.min(_local3, Math.min(_local4)))))); } public function DoNightlySpoilage():String{ var _local1:String; var _local2:Number; var _local3:int; _local1 = ""; _mapInventoryAmounts["Milk"] = 0; _local1 = "All your milk has spoiled.\r"; if (CCoffeeShopGame._instance._dayNumber == 0){ return (_local1); }; _local2 = 0; _local3 = 0; if (CRandom._instance.GetRandom() < (1 / 4)){ _local2 = CRandom._instance.GetRandom(); _local2 = (Math.round((_local2 * 10)) / 10); _mapInventoryAmounts["Coffee"] = (_mapInventoryAmounts["Coffee"] * _local2); _local3 = int(((1 - _local2) * 100)); _local1 = (_local1 + (String(_local3) + "% of your coffee has gone stale.\r")); }; if (CRandom._instance.GetRandom() < (1 / 6)){ _local2 = CRandom._instance.GetRandom(); _local2 = (Math.round((_local2 * 10)) / 10); _mapInventoryAmounts["Sugar"] = (_mapInventoryAmounts["Sugar"] * _local2); _local3 = int(((1 - _local2) * 100)); _local1 = (_local1 + (("Ants have invaded your sugar! You lost " + String(_local3)) + "% of your sugar.\r")); }; return (_local1); } public function PurchaseServing(_arg1:int=-1, _arg2:int=1):Boolean{ if (_arg1 < 0){ _arg1 = _price; }; if (GetNumServingsAvailable() >= _arg2){ Gain((_arg2 * _arg1)); AddInventoryAmount("Cups", (_arg2 * -1)); AddInventoryAmount("Coffee", (_arg2 * -(GetRecipeAmount("Coffee")))); AddInventoryAmount("Milk", (_arg2 * -(GetRecipeAmount("Milk")))); AddInventoryAmount("Sugar", (_arg2 * -(GetRecipeAmount("Sugar")))); _numCupsSold = (_numCupsSold + _arg2); CCoffeeSound._instance.PlaySound("purchase"); return (true); }; return (false); } public function GetDailyReputationChange():Number{ return ((_myReputation - _myReputationAtStartOfDay)); } public function GetNumServingsLimiter():String{ var _local1:Array; var _local2:String; var _local3:uint; var _local4:String; _local1 = new Array(); _local1["Cups"] = GetInventoryAmount("Cups"); _local1["Coffee"] = (GetInventoryAmount("Coffee") / GetRecipeAmount("Coffee")); _local1["Milk"] = (GetInventoryAmount("Milk") / GetRecipeAmount("Milk")); _local1["Sugar"] = (GetInventoryAmount("Sugar") / GetRecipeAmount("Sugar")); _local2 = null; _local3 = int.MAX_VALUE; for (_local4 in _local1) { if (((!(isNaN(_local1[_local4]))) && ((((_local2 == null)) || ((_local1[_local4] < _local3)))))){ _local2 = _local4; _local3 = _local1[_local4]; }; }; return (_local2); } public function set _pricePerServing(_arg1:int):void{ var _local2:int; _local2 = (_arg1 % 5); if (_local2 >= 3){ _local2 = 5; } else { _local2 = 0; }; _price = MathUtil.Clamp((_arg1 + _local2), 5, 1000); } public function AddStatDaily(_arg1:String, _arg2:Number):void{ if (_mapStatsDaily[_arg1] == undefined){ _mapStatsDaily[_arg1] = new Array(); }; _mapStatsDaily[_arg1].push(_arg2); } public function GetInventoryAmount(_arg1:String):Number{ return (_mapInventoryAmounts[_arg1]); } public function GetBuyTiers():Array{ var _local1:Array; _local1 = new Array(); _local1[0] = new Array(); _local1[0][0] = {_amount:10, _cost:200}; _local1[0][1] = {_amount:25, _cost:400}; _local1[0][2] = {_amount:50, _cost:600}; _local1[1] = new Array(); _local1[1][0] = {_amount:20, _cost:1000}; _local1[1][1] = {_amount:40, _cost:1400}; _local1[1][2] = {_amount:60, _cost:1800}; _local1[2] = new Array(); _local1[2][0] = {_amount:10, _cost:100}; _local1[2][1] = {_amount:20, _cost:180}; _local1[2][2] = {_amount:40, _cost:200}; _local1[3] = new Array(); _local1[3][0] = {_amount:10, _cost:300}; _local1[3][1] = {_amount:20, _cost:500}; _local1[3][2] = {_amount:50, _cost:800}; return (_local1); } public function GetStatsAllTime(_arg1:String):Array{ return (_mapStatsAllTime[_arg1]); } public function ClearStatsDaily():void{ _mapStatsDaily = new Array(); } public function OnEndOfDay():void{ AddStatAllTime("Cash", _amountCash); AddStatAllTime("Reputation", _myReputation); AddStatAllTime("Revenues", (_amountCash - _amountCashAtStartOfDay)); AddStatAllTime("Profits/Losses", (GetLastStatAllTime("Revenues") - GetLastStatAllTime("Expenditures"))); AddStatAllTime("Weather", CCoffeeShopGame._instance._temperatureFarenheit); AddStatAllTime("Cups Sold", (_numCupsSold - _cupsSoldAtStartOfDay)); AddStatAllTime("Price", _pricePerServing); AddStatAllTime("Recipe - Coffee", GetRecipeAmount("Coffee")); AddStatAllTime("Recipe - Milk", GetRecipeAmount("Milk")); AddStatAllTime("Recipe - Sugar", GetRecipeAmount("Sugar")); AddStatAllTime("Inventory - Cups", GetInventoryAmount("Cups")); AddStatAllTime("Inventory - Coffee", GetInventoryAmount("Coffee")); AddStatAllTime("Inventory - Milk", GetInventoryAmount("Milk")); AddStatAllTime("Inventory - Sugar", GetInventoryAmount("Sugar")); } public function GetNumStatsDaily():uint{ if (_mapStatsDaily){ return (_mapStatsDaily["Cash"].length); }; return (0); } public function RecordInitialStats():void{ AddStatAllTime("Cash", _amountCash); AddStatAllTime("Expenditures", 0); AddStatAllTime("Reputation", _myReputation); AddStatAllTime("Revenues", 0); AddStatAllTime("Profits/Losses", 0); AddStatAllTime("Weather", CCoffeeShopGame._instance._temperatureFarenheit); AddStatAllTime("Cups Sold", 0); AddStatAllTime("Price", _pricePerServing); AddStatAllTime("Recipe - Coffee", GetRecipeAmount("Coffee")); AddStatAllTime("Recipe - Milk", GetRecipeAmount("Milk")); AddStatAllTime("Recipe - Sugar", GetRecipeAmount("Sugar")); AddStatAllTime("Inventory - Cups", GetInventoryAmount("Cups")); AddStatAllTime("Inventory - Coffee", GetInventoryAmount("Coffee")); AddStatAllTime("Inventory - Milk", GetInventoryAmount("Milk")); AddStatAllTime("Inventory - Sugar", GetInventoryAmount("Sugar")); } public function AddStatAllTime(_arg1:String, _arg2:Number):void{ if (_mapStatsAllTime[_arg1] == undefined){ _mapStatsAllTime[_arg1] = new Array(); }; _mapStatsAllTime[_arg1].push(_arg2); } public function AddReputation(_arg1:Number):void{ var _local2:Number; _local2 = (_maxCustommerAffectOnReputationPerPurchase * _arg1); _myReputation = MathUtil.Clamp((_myReputation + _local2), -1, 1); CCoffeeShopGame._instance._hud.OnReputationChanged(_local2, _myReputation); } public function GetRecipeAmount(_arg1:String):Number{ return (_mapRecipeAmounts[_arg1]); } public function GetDailyProfitsLosses():Number{ return (GetLastStatAllTime("Profits/Losses")); } public function GetLastStat(_arg1:Boolean, _arg2:String):Number{ if (_arg1){ return (GetLastStatAllTime(_arg2)); }; return (GetLastStatDaily(_arg2)); } public function GetName():String{ return (_shopName); } public function GetMinRecipeAmount(_arg1:String):Number{ if (_arg1 == "Coffee"){ return (1); }; if (_arg1 == "Milk"){ return (0); }; if (_arg1 == "Sugar"){ return (0); }; return (NaN); } public function GetRecipe():Array{ return (_mapRecipeAmounts); } public function SetRecipeAmount(_arg1:String, _arg2:Number):void{ _mapRecipeAmounts[_arg1] = _arg2; } public function OnStartOfDay():void{ var _local1:Number; _local1 = GetLastStatAllTime("Cash"); AddStatAllTime("Expenditures", (_local1 - _amountCash)); _amountCashAtStartOfDay = _amountCash; _cupsSoldAtStartOfDay = _numCupsSold; _myReputation = (_myReputation * 0.9); _myReputationAtStartOfDay = _myReputation; ClearStatsDaily(); AddStatDaily("Cash", _amountCash); AddStatDaily("Reputation", _myReputation); AddStatDaily("Cups Sold", 0); AddStatDaily("Price", _pricePerServing); } public function GetMaxRecipeAmount(_arg1:String):Number{ if (_arg1 == "Coffee"){ return (4); }; if (_arg1 == "Milk"){ return (2); }; if (_arg1 == "Sugar"){ return (4); }; return (NaN); } public function AddStat(_arg1:Boolean, _arg2:String, _arg3:Number):void{ if (_arg1){ AddStatAllTime(_arg2, _arg3); } else { AddStatDaily(_arg2, _arg3); }; } public function GetMinimalRecipe():Array{ var _local1:Array; _local1 = new Array(); _local1["Coffee"] = GetMinRecipeAmount("Coffee"); _local1["Milk"] = GetMinRecipeAmount("Milk"); _local1["Sugar"] = GetMinRecipeAmount("Sugar"); return (_local1); } public function RecordHourlyStats():void{ AddStatDaily("Cash", _amountCash); AddStatDaily("Reputation", _myReputation); AddStatDaily("Cups Sold", (_numCupsSold - _cupsSoldAtStartOfDay)); AddStatDaily("Price", _pricePerServing); } public function GetNumStatsAllTime():uint{ if (_mapStatsAllTime){ return (_mapStatsAllTime["Cash"].length); }; return (0); } } }//package
Section 124
//CSlider (CSlider) package { import flash.display.*; import flash.text.*; public class CSlider extends MovieClip { public var _textMaxima:TextField; public var _textMaximaDescrip:TextField; public var _textMinima:TextField; public var _handle:CSliderHandle; public var _textMinimaDescrip:TextField; public function set _value(_arg1:Number):void{ _handle._value = _arg1; } public function SetNotifyChangeWhenMoved(_arg1:Function):void{ _handle.SetNotifyChangeWhenMoved(_arg1); } public function get _value():Number{ return (_handle._value); } public function Initialize(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:String, _arg5:String, _arg6:Function, _arg7:String, _arg8:String):void{ _textMinima.text = CCoffeeShopApp.ConvertUnitToString(_arg7, _arg1); _textMaxima.text = CCoffeeShopApp.ConvertUnitToString(_arg7, _arg2); _textMinimaDescrip.text = _arg4; _textMaximaDescrip.text = _arg5; _handle.InitializeHandle(_arg1, _arg2, _arg3, 25.6, 237.6, _arg6, _arg7, _arg8); } public function GetValueString():String{ return (_handle.GetValueString()); } } }//package
Section 125
//CSliderHandle (CSliderHandle) package { import flash.events.*; public class CSliderHandle extends CButton { private var _isDragging:Boolean;// = false private var _unitType:String; private var _initialY:Number; protected var _minX:Number; protected var _maxX:Number; protected var _minValue:Number; private var _fnCallbackWhenChanged:Function; private var _dragPointX:Number; protected var _maxValue:Number; public function CSliderHandle(){ _initialY = y; _isDragging = false; super(); SetTextColors(0xCCCCCC, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF); } public function set _value(_arg1:Number):void{ x = ((((_arg1 - _minValue) / (_maxValue - _minValue)) * (_maxX - _minX)) + _minX); _myText.text = GetValueString(); } public function SetNotifyChangeWhenMoved(_arg1:Function):void{ _fnCallbackWhenChanged = _arg1; } override public function onMouseUp(_arg1:Event):void{ if (_isDragging){ y = _initialY; x = MathUtil.Clamp(x, _minX, _maxX); _isDragging = false; if ((parent.parent.parent is CHUDPreparingAdjustments)){ CHUDPreparingAdjustments(parent.parent.parent).SetDividerTargetLocked(false); }; super.onMouseUp(_arg1); }; } override public function onMouseOut(_arg1:Event):void{ if (!_isDragging){ super.onMouseOut(_arg1); }; } public function get _value():Number{ return (((((x - _minX) / (_maxX - _minX)) * (_maxValue - _minValue)) + _minValue)); } public function onEnterFrame(_arg1:Event):void{ var _local2:Number; var _local3:Number; if (_isDragging){ _local2 = x; _local3 = (parent.mouseX - _dragPointX); x = MathUtil.Clamp(_local3, _minX, _maxX); if (((!((_fnCallbackWhenChanged == null))) && (!((x == _local2))))){ _fnCallbackWhenChanged(); }; _myText.text = GetValueString(); }; } public function onStageMouseUp(_arg1:MouseEvent):void{ onMouseUp(_arg1); stage.removeEventListener(MouseEvent.MOUSE_UP, onStageMouseUp); } public function GetValueString():String{ return (CCoffeeShopApp.ConvertUnitToString(_unitType, _value)); } override public function onMouseDown(_arg1:Event):void{ if (IsEnabled()){ _isDragging = true; _dragPointX = mouseX; if ((parent.parent.parent is CHUDPreparingAdjustments)){ CHUDPreparingAdjustments(parent.parent.parent).SetDividerTargetLocked(true); }; }; stage.addEventListener(MouseEvent.MOUSE_UP, onStageMouseUp); super.onMouseDown(_arg1); } public function InitializeHandle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Function, _arg7:String, _arg8:String){ _minValue = _arg1; _maxValue = _arg2; _minX = _arg4; _maxX = _arg5; _unitType = _arg7; _value = _arg3; super.Initialize(GetValueString(), _arg6, _arg8); SetNotifyChangeWhenMoved(_arg6); addEventListener(Event.ENTER_FRAME, onEnterFrame); } } }//package
Section 126
//CSliderHandlePrice (CSliderHandlePrice) package { public class CSliderHandlePrice extends CSliderHandle { override public function get _value():Number{ var _local1:Number; _local1 = ((((x - _minX) / (_maxX - _minX)) * (_maxValue - _minValue)) + _minValue); _local1 = MathUtil.Clamp((Math.round((_local1 * (1 / 5))) / (1 / 5)), _minValue, _maxValue); return (_local1); } override public function GetValueString():String{ return (CCoffeeShopApp.ConvertUnitToString("Cash", _value)); } } }//package
Section 127
//CSliderPrice (CSliderPrice) package { public class CSliderPrice extends CSlider { } }//package
Section 128
//CThoughtBubble (CThoughtBubble) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.utils.*; public class CThoughtBubble extends MovieClip { private var _timeSpawned:Number; private var _spawner:MovieClip;// = null private var _isMouseOver:Boolean;// = false public var _border:MovieClip; protected var _toolTip:CTooltip; protected var _lifeSpan:Number;// = 4 public var _back:MovieClip; public function CThoughtBubble(_arg1:MovieClip, _arg2:String, _arg3:Boolean){ _lifeSpan = 4; _spawner = null; _timeSpawned = (getTimer() / 1000); _isMouseOver = false; super(); _spawner = _arg1; addEventListener(Event.ENTER_FRAME, onEnterFrame); addEventListener(MouseEvent.MOUSE_OUT, OnMouseOut); addEventListener(MouseEvent.MOUSE_OVER, OnMouseOver); CreateSymbols(_arg2, _arg3); CreateToolTip(_arg2, _arg3); } protected function CreateToolTip(_arg1:String, _arg2:Boolean):void{ var _local3:String; _local3 = ""; if (_arg1 == "Coffee"){ if (_arg2){ _local3 = "Yum! Nice and strong"; } else { _local3 = "Needs more coffee!"; }; } else { if (_arg1 == "Milk"){ if (_arg2){ _local3 = "Yum! Creamy!"; } else { _local3 = "Needs more milk!"; }; } else { if (_arg1 == "Sugar"){ if (_arg2){ _local3 = "Sweet!"; } else { _local3 = "Needs more sugar!"; }; } else { if (_arg1 == "Price"){ if (_arg2){ _local3 = "Good quality for the price!"; } else { _local3 = "Yuck! Not worth what I paid for it"; }; }; }; }; }; _local3 = (("\"" + _local3) + "\""); _toolTip = new CTooltip(_local3); addChild(_toolTip); } protected function CreateSymbols(_arg1:String, _arg2:Boolean):void{ var _local3:MovieClip; var _local4:MovieClip; var _local5:ColorTransform; _local3 = null; _local4 = null; if (_arg1 == "Coffee"){ _local3 = new mcSymbolCoffee(); if (!_arg2){ _local4 = new mcSymbolIncrease(); }; } else { if (_arg1 == "Milk"){ _local3 = new mcSymbolMilk(); if (!_arg2){ _local4 = new mcSymbolIncrease(); }; } else { if (_arg1 == "Sugar"){ _local3 = new mcSymbolSugar(); if (!_arg2){ _local4 = new mcSymbolIncrease(); }; } else { if (_arg1 == "Price"){ _local3 = new mcSymbolPrice(); if (!_arg2){ _local4 = new mcSymbolDecrease(); }; }; }; }; }; addChild(_local3); if (_local4){ _local3.x = -5.2; _local3.y = -54.1; _local3.scaleX = (_local3.scaleY = 1.2); _local4.x = 8.4; _local4.y = -64.5; addChild(_local4); } else { _local3.x = 0; _local3.y = -56; _local3.scaleX = (_local3.scaleY = 1.35); }; _local5 = _border.transform.colorTransform; if (_arg2){ _local5.greenOffset = 192; } else { _local5.redOffset = 192; }; _border.transform.colorTransform = _local5; } private function OnMouseOut(_arg1:MouseEvent):void{ var _local2:Number; _isMouseOver = false; _toolTip.Hide(); _local2 = (getTimer() / 1000); if ((((_lifeSpan >= 0)) && (((_timeSpawned + _lifeSpan) < _local2)))){ _lifeSpan = ((_local2 + 4) - _timeSpawned); }; } public function onEnterFrame(_arg1:Event):void{ var _local2:Number; _local2 = (getTimer() / 1000); if (((((!(_isMouseOver)) && ((_lifeSpan >= 0)))) && (((_timeSpawned + _lifeSpan) < _local2)))){ Destroy(); return; }; if ((((((_spawner == null)) || ((_spawner.parent == null)))) || ((_spawner.parent.parent == null)))){ Destroy(); return; }; x = ((_spawner.x * _spawner.parent.parent.scaleX) + (_spawner.parent.parent.x * _spawner.parent.parent.scaleX)); y = (((_spawner.y * _spawner.parent.parent.scaleY) + _spawner.parent.parent.y) - 50); } public function Destroy():void{ visible = false; removeEventListener(Event.ENTER_FRAME, onEnterFrame); parent.removeChild(this); } private function OnMouseOver(_arg1:MouseEvent):void{ _isMouseOver = true; _toolTip.Show(); } } }//package
Section 129
//CThoughtBubbleConsideration (CThoughtBubbleConsideration) package { import flash.display.*; import flash.geom.*; public class CThoughtBubbleConsideration extends CThoughtBubble { public function CThoughtBubbleConsideration(_arg1:MovieClip, _arg2:String, _arg3:Boolean){ super(_arg1, _arg2, _arg3); _lifeSpan = 2; CCoffeeSound._instance.PlaySound(("consideration_" + (_arg3) ? "good" : "bad"), 0.3); } override protected function CreateSymbols(_arg1:String, _arg2:Boolean):void{ var _local3:MovieClip; var _local4:MovieClip; var _local5:ColorTransform; _local3 = null; _local4 = null; if (_arg1 == "Weather"){ if (_arg2){ _local4 = new mcSymbolWeatherCold(); } else { _local4 = new mcSymbolWeather(); }; } else { if (_arg1 == "Price"){ _local4 = new mcSymbolPrice(); if (!_arg2){ _local3 = new mcSymbolDecrease(); }; } else { if (_arg1 == "Reputation"){ _local4 = new mcSymbolReputation(); }; }; }; addChild(_local4); if (_local3){ _local4.x = -5.2; _local4.y = -54.1; _local4.scaleX = (_local4.scaleY = 1.2); _local3.x = 8.4; _local3.y = -64.5; addChild(_local3); } else { _local4.x = 0; _local4.y = -56; _local4.scaleX = (_local4.scaleY = 1.35); }; _local5 = _border.transform.colorTransform; if (_arg2){ _local5.greenOffset = 192; } else { _local5.redOffset = 192; }; _border.transform.colorTransform = _local5; } override protected function CreateToolTip(_arg1:String, _arg2:Boolean):void{ var _local3:String; _local3 = ""; if (_arg1 == "Weather"){ if (_arg2){ _local3 = "Brrrr! Need coffee to warm me up!"; } else { _local3 = "I don't need coffee: I feel warm enough"; }; } else { if (_arg1 == "Price"){ if (_arg2){ _local3 = "The price looks right"; } else { _local3 = "I won't pay that much today"; }; } else { if (_arg1 == "Reputation"){ if (_arg2){ _local3 = "I'll buy today because I hear this place is good"; } else { _local3 = "I'm passing by because I hear this place rips you off"; }; }; }; }; _local3 = (("\"" + _local3) + "\""); _toolTip = new CTooltip(_local3); addChild(_toolTip); } } }//package
Section 130
//CTooltip (CTooltip) package { import flash.display.*; import flash.text.*; import flash.utils.*; public class CTooltip extends MovieClip { private var m_lifespan:Number;// = -1 private var m_textFieldMsg:TextField; private var m_message:String; private var m_showDelay:Number;// = -1 private var m_showStarTime:Number;// = -1 public function CTooltip(_arg1:String, _arg2:Number=0, _arg3:Number=8){ var _local4:TextFormat; m_textFieldMsg = new TextField(); m_showStarTime = -1; m_showDelay = -1; m_lifespan = -1; super(); m_textFieldMsg = new TextField(); m_textFieldMsg.autoSize = TextFieldAutoSize.CENTER; m_textFieldMsg.embedFonts = true; m_textFieldMsg.selectable = false; m_textFieldMsg.background = true; m_textFieldMsg.backgroundColor = 16777164; m_textFieldMsg.border = true; m_textFieldMsg.borderColor = 0; _local4 = new TextFormat(); _local4.font = "Calibri"; _local4.color = 0; _local4.size = 15; m_textFieldMsg.defaultTextFormat = _local4; addChild(m_textFieldMsg); SetMessage(_arg1); visible = false; m_showDelay = _arg2; m_lifespan = _arg3; } public function Show():void{ if (m_showDelay > 0){ setInterval(ReallyShow, (m_showDelay * 1000)); } else { ReallyShow(); }; } public function Hide():void{ visible = false; } private function ReallyShow():void{ visible = true; if (m_lifespan >= 0){ setInterval(Hide, (m_lifespan * 1000)); }; } public function SetMessage(_arg1:String):void{ m_message = _arg1; m_textFieldMsg.text = m_message; m_textFieldMsg.x = (-(m_textFieldMsg.width) * 0.5); m_textFieldMsg.y = -120; } } }//package
Section 131
//CTutorial (CTutorial) package { import flash.events.*; public class CTutorial extends CMovieClipFresh { private var _fnWhenSituationTrue:Function; private var _fnEvaluateSituation:Function; public function CTutorial(){ if (!CCoffeeShopApp._instance._showTutorial){ visible = false; return; }; } public function IsInventoryExpanded():Boolean{ return (CCoffeeShopGame._instance._hud._modePreparing._page._adjustments._isInventoryHighlighted); } override public function FirstFrameInitialize(_arg1:Event):void{ super.FirstFrameInitialize(_arg1); if (!CCoffeeShopApp._instance._showTutorial){ visible = false; return; }; CreateInitialBook(); } public function OnServingAvailable():void{ var _local1:CTutorialBook; CCoffeeShopGame._instance._hud._modePreparing._buttonStartTheDay.SetEnabled(false); _local1 = new CTutorialBook(this); _local1.AddPage(new CTutorialPage("Stocked Up", "<p>Excellent! You bought enough inventory so that you can serve some coffee when customers start arriving.</p>")); _local1.AddPage(new CTutorialPage("Recipe and Price", "<p>Before leaving Prep Mode you'll want to adjust the <b>recipe</b> used to make your coffee, as well as the <b>price</b> you charge customers for each serving.</p>")); _local1.AddPage(new CTutorialPage("Recipe", (("<p>Your <b>recipe</b> determines how expensive your coffee is to make. Your recipe also determines how well your customers like your coffee.</p><br/>" + "<p>You can adjust how much <b>coffee</b>, <b>milk</b>, and <b>sugar</b> you put into each <b>cup</b> of coffee.</p><br/>") + "<p>Generally speaking, customers like more of everything and are willing to pay a higher price for it!</p>"))); _local1.AddPage(new CTutorialPage("Price", ((("<p>Pay close attention to your <b>price.</b> This is the amount you charge for each cup of coffee.</p><br/>" + "<p>High-priced coffee earns you more money, but customers won't buy your coffee if they think it's too expensive.</p><br/>") + "<p>They'll pay more on cold days and less on warm ones.</p><br/>") + "<p>Adjusting your price each day is a crucial skill in running a successful business!</p>"))); _local1.AddPage(new CTutorialPage("Starting the Day", "<p>Try adjusting your recipe and price now. Then, when you're ready, just click <b>Start the Day</b> to open your shop and start selling coffee!</p>")); _local1.AddCloseAction(OnRecipePriceClose); addChild(_local1); } public function OnBookClose(_arg1:CTutorialBook, _arg2:Boolean=false):void{ removeChild(_arg1); if (_arg2){ DisableTutorials(); }; } public function OnCalloutClose(_arg1:CTutorialCallout):void{ removeChild(_arg1); } public function OnIntroClose():void{ var _local1:CTutorialCallout; _local1 = new CTutorialCallout(this, "Move your mouse over the <b>Inventory</b> area to buy ingredients for the day.", IsInventoryExpanded); _local1.AddCloseAction(OnInventoryCalloutClosed); _local1.x = ((415.1 - x) - 319.9); _local1.y = ((233.1 - y) - 206.4); addChild(_local1); } protected function WaitForSituation(_arg1:Function, _arg2:Function):void{ StopWaitingForSituation(); _fnEvaluateSituation = _arg1; _fnWhenSituationTrue = _arg2; addEventListener(Event.ENTER_FRAME, OnEnterFrame); } public function DoesShopHaveServingAvailable():Boolean{ return ((CCoffeeShopGame._instance._shop.GetNumServingsAvailable() > 0)); } public function OnRecipePriceClose():void{ CCoffeeShopGame._instance._hud._modePreparing._buttonStartTheDay.SetEnabled(DoesShopHaveServingAvailable()); } protected function CreateInitialBook():void{ var _local1:CTutorialBook; _local1 = new CTutorialBook(this); _local1.AddPage(new CTutorialPage("Getting Started", ((((("<p>Congratulations! You've opened your own coffee stand, <b>" + CCoffeeShopApp._instance._shopName) + ".</b></p><br/>") + "<p>Your goal is to make as much money as you can in ") + CCoffeeShopGame._instance._numDaysPerGame) + " days.</p>"))); _local1.AddPage(new CTutorialPage("Starting the Day", "<p>Each day begins in <b>Prep Mode.</b> In Prep Mode you buy <b>ingredients</b>, adjust your <b>recipe</b>, and set your <b>price.</b></p>")); _local1.AddPage(new CTutorialPage("Ingredients", ((((("<p>Before you can make coffee you have to buy the ingredients that go into it. Coffee has just four ingredients:</p><br/>" + "<ul><li><b>Cups</b> - You can't sell coffee without a cup to serve it in!</li>") + "<li><b>Coffee</b> - Dark-roasted ground coffee beans keep customers coming.</li>") + "<li><b>Milk</b> - Customers like their coffee creamy.</li>") + "<li><b>Sugar</b> - What's a cup of coffee without a little sweetener?</li><ul><br/>") + "<p>Click <b>Next</b> to look at your inventory of ingredients and buy more.</p>"))); _local1.AddCloseAction(OnIntroClose); addChild(_local1); } public function OnInventoryCalloutClosed():void{ WaitForSituation(DoesShopHaveServingAvailable, OnServingAvailable); } protected function StopWaitingForSituation():void{ _fnEvaluateSituation = null; _fnWhenSituationTrue = null; removeEventListener(Event.ENTER_FRAME, OnEnterFrame); } public function OnEnterFrame(_arg1:Event):void{ if (_fnEvaluateSituation != null){ if (_fnEvaluateSituation()){ _fnWhenSituationTrue(); StopWaitingForSituation(); }; }; } public function DisableTutorials():void{ visible = false; } } }//package
Section 132
//CTutorialBook (CTutorialBook) package { import flash.text.*; public class CTutorialBook extends CTutorialChild { public var _buttonBack:CButtonTutorialBack; public var _buttonNext:CButtonTutorialNext; public var _textPageNumber:TextField; private var _arrPages:Array; public var _checkboxShowTutorial:CCheckbox; private var _curPage:uint;// = 0 public function CTutorialBook(_arg1:CTutorial){ _curPage = 0; _arrPages = new Array(); super(_arg1); _checkboxShowTutorial.Initialize("Show tutorial", true); _buttonBack.Initialize("Back", OnBack, "tutBack"); _buttonBack.visible = false; _buttonNext.Initialize("Next", OnNext, "tutNext"); _textPageNumber.text = ""; } public function OnNext():void{ if ((((_curPage >= (_arrPages.length - 1))) || (!(_checkboxShowTutorial._isChecked)))){ CCoffeeShopApp._cookie.wantsTutorials = _checkboxShowTutorial._isChecked; Close(); } else { _arrPages[_curPage].visible = false; _curPage++; _arrPages[_curPage].visible = true; UpdateNextBackButtons(); }; } public function OnBack():void{ if (!_checkboxShowTutorial._isChecked){ CCoffeeShopApp._cookie.wantsTutorials = false; Close(); } else { if (_curPage > 0){ _arrPages[_curPage].visible = false; _curPage--; _arrPages[_curPage].visible = true; UpdateNextBackButtons(); }; }; } public function AddPage(_arg1:CTutorialPage):void{ addChild(_arg1); _arrPages.push(_arg1); _arg1.visible = (_arrPages.length == 1); UpdateNextBackButtons(); } protected function UpdateNextBackButtons():void{ _buttonBack.visible = (_curPage > 0); _textPageNumber.text = ((String((_curPage + 1)) + "/") + String(_arrPages.length)); } override public function Close():void{ super.Close(); _tutorial.OnBookClose(this, !(_checkboxShowTutorial._isChecked)); } } }//package
Section 133
//CTutorialCallout (CTutorialCallout) package { import flash.events.*; import flash.text.*; public class CTutorialCallout extends CTutorialChild { public var _buttonNext:CButtonTutorialNext; public var _textMessage:TextField; private var _fnCloseWhenTrue:Function; public function CTutorialCallout(_arg1:CTutorial, _arg2:String, _arg3:Function){ super(_arg1); _buttonNext.Initialize("Close", Close, "tutClose"); _fnCloseWhenTrue = _arg3; _buttonNext.visible = (_fnCloseWhenTrue == null); _textMessage.htmlText = _arg2; if (_fnCloseWhenTrue != null){ addEventListener(Event.ENTER_FRAME, OnEnterFrame); }; } override public function Close():void{ super.Close(); _fnCloseWhenTrue = null; removeEventListener(Event.ENTER_FRAME, OnEnterFrame); _tutorial.OnCalloutClose(this); } public function OnEnterFrame(_arg1:Event):void{ if (_fnCloseWhenTrue != null){ if (_fnCloseWhenTrue()){ Close(); }; }; } } }//package
Section 134
//CTutorialChild (CTutorialChild) package { import flash.display.*; public class CTutorialChild extends MovieClip { protected var _tutorial:CTutorial; private var _arrCloseActions:Array; public function CTutorialChild(_arg1:CTutorial){ _arrCloseActions = new Array(); super(); _tutorial = _arg1; } public function Close():void{ ProcessCloseActions(); visible = false; } public function AddCloseAction(_arg1:Function):void{ _arrCloseActions.push(_arg1); } protected function ProcessCloseActions():void{ var _local1:uint; if (((_tutorial) && (_tutorial.visible))){ _local1 = 0; while (_local1 < _arrCloseActions.length) { var _local2 = _arrCloseActions; _local2[_local1](); _local1++; }; }; } } }//package
Section 135
//CTutorialPage (CTutorialPage) package { import flash.display.*; import flash.text.*; public class CTutorialPage extends MovieClip { public var _textMessage:TextField; public var _textTitle:TextField; public function CTutorialPage(_arg1:String, _arg2:String){ var _local3:StyleSheet; super(); _local3 = new StyleSheet(); _textMessage.styleSheet = _local3; _textTitle.text = _arg1; _textMessage.htmlText = _arg2; } } }//package
Section 136
//IMovieClipFreshHost (IMovieClipFreshHost) package { interface IMovieClipFreshHost { function OnChildConstructed(_arg1:CMovieClipFresh):void; } }//package
Section 137
//MathUtil (MathUtil) package { public class MathUtil { static function MinAbs(_arg1:Number, _arg2:Number):Number{ if (Math.abs(_arg1) < Math.abs(_arg2)){ return (_arg1); }; return (_arg2); } static function VectorLerp(_arg1:Vector2D, _arg2:Vector2D, _arg3:Number):Vector2D{ return (_arg1.GetAdd(_arg2.GetSubtract(_arg1).GetMultiplyScalar(_arg3))); } static function RGBtoHSV(_arg1:Number, _arg2:Number, _arg3:Number):Object{ var _local4:Object; var _local5:*; var _local6:*; var _local7:*; _arg1 = (_arg1 / 0xFF); _arg2 = (_arg2 / 0xFF); _arg3 = (_arg3 / 0xFF); _local4 = new Object(); _local5 = Math.min(_arg1, Math.min(_arg2, _arg3)); _local6 = Math.max(_arg1, Math.max(_arg2, _arg3)); _local4.v = _local6; _local7 = (_local6 - _local5); if (_local6 != 0){ _local4.s = (_local7 / _local6); } else { _local4.s = 0; _local4.h = undefined; return (_local4); }; if (_arg1 == _local6){ _local4.h = ((_arg2 - _arg3) / _local7); } else { if (_arg2 == _local6){ _local4.h = (2 + ((_arg3 - _arg1) / _local7)); } else { _local4.h = (4 + ((_arg1 - _arg2) / _local7)); }; }; _local4.h = (_local4.h * 60); if (_local4.h < 0){ _local4.h = (_local4.h + 360); }; return (_local4); } static function AngleDelta(_arg1:Number, _arg2:Number):Number{ return (GetNormalizedAngle((_arg1 - _arg2))); } static function SignNoZero(_arg1:Number):Number{ return (((_arg1)>=0) ? 1 : -1); } static function HSVtoRGB(_arg1:Number, _arg2:Number, _arg3:Number):Object{ var _local4:Object; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; _arg1 = MathUtil.Wrap(_arg1, 0, 360); _local4 = new Object(); if (_arg2 == 0){ _local4.r = (_local4.g = (_local4.b = (_arg3 * 0xFF))); return (_local4); }; _arg1 = (_arg1 / 60); _local5 = Math.floor(_arg1); _local6 = (_arg1 - _local5); _local7 = (_arg3 * (1 - _arg2)); _local8 = (_arg3 * (1 - (_arg2 * _local6))); _local9 = (_arg3 * (1 - (_arg2 * (1 - _local6)))); switch (_local5){ case 0: _local4.r = _arg3; _local4.g = _local9; _local4.b = _local7; break; case 1: _local4.r = _local8; _local4.g = _arg3; _local4.b = _local7; break; case 2: _local4.r = _local7; _local4.g = _arg3; _local4.b = _local9; break; case 3: _local4.r = _local7; _local4.g = _local8; _local4.b = _arg3; break; case 4: _local4.r = _local9; _local4.g = _local7; _local4.b = _arg3; break; default: _local4.r = _arg3; _local4.g = _local7; _local4.b = _local8; break; }; _local4.r = (_local4.r * 0xFF); _local4.g = (_local4.g * 0xFF); _local4.b = (_local4.b * 0xFF); return (_local4); } static function Bounce(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg2 == _arg3){ return (_arg2); }; while ((((_arg1 > _arg3)) || ((_arg1 < _arg2)))) { if (_arg1 > _arg3){ _arg1 = (_arg3 - (_arg1 - _arg3)); } else { _arg1 = (_arg2 + (_arg2 - _arg1)); }; }; return (_arg1); } static function Wrap(_arg1:Number, _arg2:Number, _arg3:Number):Number{ var _local4:Number; _local4 = ((_arg1 - _arg2) % (_arg3 - _arg2)); return (((_local4 < 0)) ? (_arg3 + _local4) : (_arg2 + _local4)); } static function GetNormalizedAngle(_arg1:Number):Number{ return (Wrap(_arg1, -180, 180)); } static function MaxAbs(_arg1:Number, _arg2:Number):Number{ if (Math.abs(_arg1) > Math.abs(_arg2)){ return (_arg1); }; return (_arg2); } static function DegreesToRadians(_arg1:Number):Number{ return (((_arg1 / 180) * Math.PI)); } static function Equivalent(_arg1:Number, _arg2:Number, _arg3=1E-5):Boolean{ return ((Math.abs((_arg1 - _arg2)) < _arg3)); } static function Lerp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + ((_arg2 - _arg1) * _arg3))); } static function RandRange(_arg1:Number, _arg2:Number):Number{ return ((_arg1 + (Math.random() * (_arg2 - _arg1)))); } static function AngleLerp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return (GetNormalizedAngle((_arg1 + (AngleDelta(_arg2, _arg1) * _arg3)))); } static function RadiansToDegrees(_arg1:Number):Number{ return (((_arg1 / Math.PI) * 180)); } static function Clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return (Math.max(Math.min(_arg1, _arg3), _arg2)); } static function Sign(_arg1:Number):Number{ return (((_arg1)>0) ? 1 : ((_arg1)<0) ? -1 : 0); } } }//package
Section 138
//mcSymbolCoffee (mcSymbolCoffee) package { import flash.display.*; public dynamic class mcSymbolCoffee extends MovieClip { } }//package
Section 139
//mcSymbolDecrease (mcSymbolDecrease) package { import flash.display.*; public dynamic class mcSymbolDecrease extends MovieClip { } }//package
Section 140
//mcSymbolIncrease (mcSymbolIncrease) package { import flash.display.*; public dynamic class mcSymbolIncrease extends MovieClip { } }//package
Section 141
//mcSymbolMilk (mcSymbolMilk) package { import flash.display.*; public dynamic class mcSymbolMilk extends MovieClip { } }//package
Section 142
//mcSymbolPrice (mcSymbolPrice) package { import flash.display.*; public dynamic class mcSymbolPrice extends MovieClip { } }//package
Section 143
//mcSymbolReputation (mcSymbolReputation) package { import flash.display.*; public dynamic class mcSymbolReputation extends MovieClip { } }//package
Section 144
//mcSymbolSugar (mcSymbolSugar) package { import flash.display.*; public dynamic class mcSymbolSugar extends MovieClip { } }//package
Section 145
//mcSymbolThumbsUp (mcSymbolThumbsUp) package { import flash.display.*; public dynamic class mcSymbolThumbsUp extends MovieClip { } }//package
Section 146
//mcSymbolWeather (mcSymbolWeather) package { import flash.display.*; public dynamic class mcSymbolWeather extends MovieClip { } }//package
Section 147
//mcSymbolWeatherCold (mcSymbolWeatherCold) package { import flash.display.*; public dynamic class mcSymbolWeatherCold extends MovieClip { } }//package
Section 148
//mcSymbolYuck (mcSymbolYuck) package { import flash.display.*; public dynamic class mcSymbolYuck extends MovieClip { } }//package
Section 149
//menu_button_beep1 (menu_button_beep1) package { import flash.media.*; public dynamic class menu_button_beep1 extends Sound { } }//package
Section 150
//menu_button_beep2 (menu_button_beep2) package { import flash.media.*; public dynamic class menu_button_beep2 extends Sound { } }//package
Section 151
//morning (morning) package { import flash.media.*; public dynamic class morning extends Sound { } }//package
Section 152
//music_bold (music_bold) package { import flash.media.*; public dynamic class music_bold extends Sound { } }//package
Section 153
//music_calm (music_calm) package { import flash.media.*; public dynamic class music_calm extends Sound { } }//package
Section 154
//music_menu (music_menu) package { import flash.media.*; public dynamic class music_menu extends Sound { } }//package
Section 155
//purchase (purchase) package { import flash.media.*; public dynamic class purchase extends Sound { } }//package
Section 156
//reaction_displeased (reaction_displeased) package { import flash.media.*; public dynamic class reaction_displeased extends Sound { } }//package
Section 157
//reaction_middling (reaction_middling) package { import flash.media.*; public dynamic class reaction_middling extends Sound { } }//package
Section 158
//reaction_pleased (reaction_pleased) package { import flash.media.*; public dynamic class reaction_pleased extends Sound { } }//package
Section 159
//reaction_vomit0 (reaction_vomit0) package { import flash.media.*; public dynamic class reaction_vomit0 extends Sound { } }//package
Section 160
//reaction_vomit1 (reaction_vomit1) package { import flash.media.*; public dynamic class reaction_vomit1 extends Sound { } }//package
Section 161
//reaction_vomit2 (reaction_vomit2) package { import flash.media.*; public dynamic class reaction_vomit2 extends Sound { } }//package
Section 162
//reaction_vomit3 (reaction_vomit3) package { import flash.media.*; public dynamic class reaction_vomit3 extends Sound { } }//package
Section 163
//reaction_vomit4 (reaction_vomit4) package { import flash.media.*; public dynamic class reaction_vomit4 extends Sound { } }//package
Section 164
//Vector2D (Vector2D) package { class Vector2D { var x:Number;// = 0 var y:Number;// = 0 function Vector2D(_arg1:Number, _arg2:Number){ x = 0; y = 0; super(); x = _arg1; y = _arg2; } function SubtractScalar(_arg1:Number):void{ x = (x - _arg1); y = (y - _arg1); } function Set(_arg1:Vector2D):void{ x = _arg1.x; y = _arg1.y; } function GetNormal():Vector2D{ var _local1:Vector2D; _local1 = new Vector2D(x, y); _local1.Normalize(); return (_local1); } function GetSubtractScalar(_arg1:Number):Vector2D{ var _local2:Vector2D; _local2 = new Vector2D(x, y); _local2.SubtractScalar(_arg1); return (_local2); } function DotProduct(_arg1:Vector2D):Number{ return (((x * _arg1.x) + (y * _arg1.y))); } function Add(_arg1:Vector2D):void{ x = (x + _arg1.x); y = (y + _arg1.y); } function GetMultiply(_arg1:Vector2D):Vector2D{ var _local2:Vector2D; _local2 = new Vector2D((x * _arg1.x), (y * _arg1.y)); return (_local2); } function IsEqual(_arg1:Vector2D):Boolean{ return ((((_arg1.x == x)) && ((_arg1.y == y)))); } function GetStringForm():String{ return ((((("( " + x) + ", ") + y) + " )")); } function GetAngle():Number{ return (Math.atan2(y, x)); } function AddScalar(_arg1:Number):void{ x = (x + _arg1); y = (y + _arg1); } function SetToRandomNormal():void{ SetToAngleNormal(((CRandom._instance.GetRandom() * Math.PI) * 2)); } function MultiplyScalar(_arg1:Number):void{ x = (x * _arg1); y = (y * _arg1); } function GetCopy():Vector2D{ return (new Vector2D(x, y)); } function Multiply(_arg1:Vector2D):void{ x = (x * _arg1.x); y = (y * _arg1.y); } function SnapToMinorAxis():void{ if (Math.abs(x) < Math.abs(y)){ y = 0; } else { x = 0; }; Normalize(); } function GetMultiplyScalar(_arg1:Number):Vector2D{ var _local2:Vector2D; _local2 = new Vector2D(x, y); _local2.MultiplyScalar(_arg1); return (_local2); } function MagnitudeSquared():Number{ return (((x * x) + (y * y))); } function IsZero(_arg1:Number):Boolean{ return ((((x <= _arg1)) && ((y <= _arg1)))); } function GetDistance(_arg1:Vector2D):Number{ return (GetSubtract(_arg1).MagnitudeSafe()); } function GetDivideScalar(_arg1:Number):Vector2D{ var _local2:Vector2D; _local2 = new Vector2D(x, y); _local2.DivideScalar(_arg1); return (_local2); } function GetDistanceSquared(_arg1:Vector2D):Number{ return (GetSubtract(_arg1).MagnitudeSquared()); } function MagnitudeSafe():Number{ var _local1:*; _local1 = MagnitudeSquared(); if (_local1 > 0){ return (Math.sqrt(_local1)); }; return (0); } function GetAddScalar(_arg1:Number):Vector2D{ var _local2:Vector2D; _local2 = new Vector2D(x, y); _local2.AddScalar(_arg1); return (_local2); } function Floor():void{ x = Math.floor(x); y = Math.floor(y); } function Transpose():void{ var _local1:*; _local1 = x; x = y; y = _local1; } function GetInverse():Vector2D{ return (new Vector2D(-(x), -(y))); } function GetAdd(_arg1:Vector2D):Vector2D{ var _local2:Vector2D; _local2 = new Vector2D((x + _arg1.x), (y + _arg1.y)); return (_local2); } function SetToZero():void{ x = (y = 0); } function Divide(_arg1:Vector2D):void{ x = (x / _arg1.x); y = (y / _arg1.y); } function GetAngleDegrees():Number{ return (((Math.atan2(y, x) / Math.PI) * 180)); } function DivideScalar(_arg1:Number):void{ x = (x / _arg1); y = (y / _arg1); } function Normalize():void{ var _local1:Number; _local1 = Magnitude(); if (_local1 > 0){ x = (x / _local1); y = (y / _local1); }; } function GetSubtract(_arg1:Vector2D):Vector2D{ var _local2:Vector2D; _local2 = new Vector2D((x - _arg1.x), (y - _arg1.y)); return (_local2); } function Subtract(_arg1:Vector2D):void{ x = (x - _arg1.x); y = (y - _arg1.y); } function SnapToMajorAxis():void{ if (Math.abs(x) > Math.abs(y)){ y = 0; } else { x = 0; }; Normalize(); } function Invert():void{ x = -(x); y = -(y); } function Magnitude():Number{ return (Math.sqrt(MagnitudeSquared())); } function Rotate(_arg1:Number):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = Math.cos(_arg1); _local3 = Math.sin(_arg1); _local4 = ((_local2 * x) - (_local3 * y)); _local5 = ((_local3 * x) + (_local2 * y)); x = _local4; y = _local5; } function SetToAngleNormal(_arg1:Number):void{ x = Math.cos(_arg1); y = Math.sin(_arg1); } } }//package

Library Items

Symbol 1 FontUsed by:2 299 349 350 353 378 379 380 381 383 384 385 386 387 388 390 391 392 393 394 396 397 414 423 424 429 430 431 432 434 444 446 447 448 449 450 451 452 454 455 456 457 458 459 460 461 462 463 464 465 473 474 477 478 499 500 501 502 505 510 511 512 513 514 1343 1344 1345 1348 1354 1359 1363 1364 1365 1372 1373 1524 1526 1530 1531 1532 1540 1549 1579
Symbol 2 EditableTextUses:1 347Used by:3
Symbol 3 MovieClip {CFreshText}Uses:2
Symbol 4 GraphicUsed by:5 301 538
Symbol 5 MovieClipUses:4Used by:14 17 27 40 49 59 76 86 116 142 153 156 166 173 186 201 218 232 252 287 319 328 337 529 537 556 586 614 636 672 713 718 728 735 744 772 791 814 839 878 889 892 902 915 924 940 965 976 1002 1038 1043 1053 1064 1073 1084 1108 1127 1158 1189
Symbol 6 GraphicUsed by:14
Symbol 7 GraphicUsed by:14
Symbol 8 GraphicUsed by:14
Symbol 9 GraphicUsed by:14
Symbol 10 GraphicUsed by:14
Symbol 11 GraphicUsed by:14
Symbol 12 GraphicUsed by:14
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:5 6 7 8 9 10 11 12 13Used by:15
Symbol 15 MovieClipUses:14Used by:144
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:5 16Used by:18
Symbol 18 MovieClip {coffeeshop_fla.Customer_167}Uses:17Used by:144
Symbol 19 GraphicUsed by:27
Symbol 20 GraphicUsed by:27
Symbol 21 GraphicUsed by:27
Symbol 22 GraphicUsed by:27
Symbol 23 GraphicUsed by:27
Symbol 24 GraphicUsed by:27
Symbol 25 GraphicUsed by:27
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:5 19 20 21 22 23 24 25 26Used by:60
Symbol 28 GraphicUsed by:40
Symbol 29 GraphicUsed by:40
Symbol 30 GraphicUsed by:40
Symbol 31 GraphicUsed by:40
Symbol 32 GraphicUsed by:40
Symbol 33 GraphicUsed by:40
Symbol 34 GraphicUsed by:40
Symbol 35 GraphicUsed by:40
Symbol 36 GraphicUsed by:40
Symbol 37 GraphicUsed by:40
Symbol 38 GraphicUsed by:40
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:5 28 29 30 31 32 33 34 35 36 37 38 39Used by:60
Symbol 41 GraphicUsed by:49
Symbol 42 GraphicUsed by:49
Symbol 43 GraphicUsed by:49
Symbol 44 GraphicUsed by:49
Symbol 45 GraphicUsed by:49
Symbol 46 GraphicUsed by:49
Symbol 47 GraphicUsed by:49
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:5 41 42 43 44 45 46 47 48Used by:60
Symbol 50 GraphicUsed by:59
Symbol 51 GraphicUsed by:59
Symbol 52 GraphicUsed by:59
Symbol 53 GraphicUsed by:59
Symbol 54 GraphicUsed by:59
Symbol 55 GraphicUsed by:59
Symbol 56 GraphicUsed by:59
Symbol 57 GraphicUsed by:59
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:5 50 51 52 53 54 55 56 57 58Used by:60
Symbol 60 MovieClip {coffeeshop_fla.Customer_169}Uses:27 40 49 59Used by:144
Symbol 61 GraphicUsed by:76
Symbol 62 GraphicUsed by:76
Symbol 63 GraphicUsed by:76
Symbol 64 GraphicUsed by:76 218 1108
Symbol 65 GraphicUsed by:76 218 1108
Symbol 66 GraphicUsed by:76
Symbol 67 GraphicUsed by:76 218
Symbol 68 GraphicUsed by:76
Symbol 69 GraphicUsed by:76
Symbol 70 GraphicUsed by:76
Symbol 71 GraphicUsed by:76
Symbol 72 GraphicUsed by:76
Symbol 73 GraphicUsed by:76
Symbol 74 GraphicUsed by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:5 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75Used by:77
Symbol 77 MovieClip {coffeeshop_fla.Customer_174}Uses:76Used by:144
Symbol 78 GraphicUsed by:86
Symbol 79 GraphicUsed by:86
Symbol 80 GraphicUsed by:86
Symbol 81 GraphicUsed by:86
Symbol 82 GraphicUsed by:86
Symbol 83 GraphicUsed by:86
Symbol 84 GraphicUsed by:86
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:5 78 79 80 81 82 83 84 85Used by:87
Symbol 87 MovieClip {coffeeshop_fla.Customer_176}Uses:86Used by:144
Symbol 88 GraphicUsed by:116
Symbol 89 GraphicUsed by:116
Symbol 90 GraphicUsed by:116
Symbol 91 GraphicUsed by:116
Symbol 92 GraphicUsed by:116
Symbol 93 GraphicUsed by:116
Symbol 94 GraphicUsed by:116
Symbol 95 GraphicUsed by:116
Symbol 96 GraphicUsed by:116 252 1158
Symbol 97 GraphicUsed by:116 252
Symbol 98 GraphicUsed by:116
Symbol 99 GraphicUsed by:116 252
Symbol 100 GraphicUsed by:116 252
Symbol 101 GraphicUsed by:116 252
Symbol 102 GraphicUsed by:116
Symbol 103 GraphicUsed by:116
Symbol 104 GraphicUsed by:116
Symbol 105 GraphicUsed by:116
Symbol 106 GraphicUsed by:116 252
Symbol 107 GraphicUsed by:116
Symbol 108 GraphicUsed by:116
Symbol 109 GraphicUsed by:116
Symbol 110 GraphicUsed by:116
Symbol 111 GraphicUsed by:116
Symbol 112 GraphicUsed by:116 252
Symbol 113 GraphicUsed by:116
Symbol 114 GraphicUsed by:116 252
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:5 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115Used by:117
Symbol 117 MovieClip {coffeeshop_fla.Customer_178}Uses:116Used by:144
Symbol 118 GraphicUsed by:142
Symbol 119 GraphicUsed by:142
Symbol 120 GraphicUsed by:142
Symbol 121 GraphicUsed by:142
Symbol 122 GraphicUsed by:142
Symbol 123 GraphicUsed by:142
Symbol 124 GraphicUsed by:142
Symbol 125 GraphicUsed by:142
Symbol 126 GraphicUsed by:142
Symbol 127 GraphicUsed by:142
Symbol 128 GraphicUsed by:142
Symbol 129 GraphicUsed by:142
Symbol 130 GraphicUsed by:142
Symbol 131 GraphicUsed by:142
Symbol 132 GraphicUsed by:142
Symbol 133 GraphicUsed by:142
Symbol 134 GraphicUsed by:142
Symbol 135 GraphicUsed by:142
Symbol 136 GraphicUsed by:142
Symbol 137 GraphicUsed by:142
Symbol 138 GraphicUsed by:142
Symbol 139 GraphicUsed by:142
Symbol 140 GraphicUsed by:142
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:5 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141Used by:143
Symbol 143 MovieClip {coffeeshop_fla.Customer_180}Uses:142Used by:144
Symbol 144 MovieClip {CCustomerPurseDog}Uses:15 18 60 77 87 117 143Used by:1577
Symbol 145 GraphicUsed by:153
Symbol 146 GraphicUsed by:153
Symbol 147 GraphicUsed by:153
Symbol 148 GraphicUsed by:153
Symbol 149 GraphicUsed by:153
Symbol 150 GraphicUsed by:153
Symbol 151 GraphicUsed by:153
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:5 145 146 147 148 149 150 151 152Used by:154
Symbol 154 MovieClipUses:153Used by:289
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:5 155Used by:157
Symbol 157 MovieClip {coffeeshop_fla.Customer_147}Uses:156Used by:289
Symbol 158 GraphicUsed by:166
Symbol 159 GraphicUsed by:166
Symbol 160 GraphicUsed by:166
Symbol 161 GraphicUsed by:166
Symbol 162 GraphicUsed by:166
Symbol 163 GraphicUsed by:166
Symbol 164 GraphicUsed by:166
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:5 158 159 160 161 162 163 164 165Used by:202
Symbol 167 GraphicUsed by:173
Symbol 168 GraphicUsed by:173
Symbol 169 GraphicUsed by:173
Symbol 170 GraphicUsed by:173
Symbol 171 GraphicUsed by:173
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:5 167 168 169 170 171 172Used by:202
Symbol 174 GraphicUsed by:186
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:175Used by:186 201 218 232 252
Symbol 177 GraphicUsed by:186
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:186 201 232 252 287
Symbol 180 GraphicUsed by:186
Symbol 181 GraphicUsed by:186
Symbol 182 GraphicUsed by:186
Symbol 183 GraphicUsed by:186
Symbol 184 GraphicUsed by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:5 174 176 177 179 180 181 182 183 184 185Used by:202
Symbol 187 GraphicUsed by:201
Symbol 188 GraphicUsed by:201
Symbol 189 GraphicUsed by:201
Symbol 190 GraphicUsed by:201
Symbol 191 GraphicUsed by:201
Symbol 192 GraphicUsed by:201
Symbol 193 GraphicUsed by:201
Symbol 194 GraphicUsed by:201
Symbol 195 GraphicUsed by:201
Symbol 196 GraphicUsed by:201
Symbol 197 GraphicUsed by:201
Symbol 198 GraphicUsed by:201
Symbol 199 GraphicUsed by:201
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClipUses:5 187 176 188 179 189 190 191 192 193 194 195 196 197 198 199 200Used by:202
Symbol 202 MovieClip {coffeeshop_fla.Customer_149}Uses:166 173 186 201Used by:289
Symbol 203 GraphicUsed by:218
Symbol 204 GraphicUsed by:218
Symbol 205 GraphicUsed by:218
Symbol 206 GraphicUsed by:218
Symbol 207 GraphicUsed by:218
Symbol 208 GraphicUsed by:218
Symbol 209 GraphicUsed by:218
Symbol 210 GraphicUsed by:218
Symbol 211 GraphicUsed by:218
Symbol 212 GraphicUsed by:218
Symbol 213 GraphicUsed by:218
Symbol 214 GraphicUsed by:218
Symbol 215 GraphicUsed by:218
Symbol 216 GraphicUsed by:218
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:5 203 176 204 205 206 207 208 64 65 209 210 67 211 212 213 214 215 216 217Used by:219
Symbol 219 MovieClip {coffeeshop_fla.Customer_156}Uses:218Used by:289
Symbol 220 GraphicUsed by:232
Symbol 221 GraphicUsed by:232
Symbol 222 GraphicUsed by:232
Symbol 223 GraphicUsed by:232
Symbol 224 GraphicUsed by:232
Symbol 225 GraphicUsed by:232
Symbol 226 GraphicUsed by:232
Symbol 227 GraphicUsed by:232
Symbol 228 GraphicUsed by:232
Symbol 229 GraphicUsed by:232
Symbol 230 GraphicUsed by:232
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClipUses:5 220 176 221 179 222 223 224 225 226 227 228 229 230 231Used by:233
Symbol 233 MovieClip {coffeeshop_fla.Customer_158}Uses:232Used by:289
Symbol 234 GraphicUsed by:252
Symbol 235 GraphicUsed by:252
Symbol 236 GraphicUsed by:252
Symbol 237 GraphicUsed by:252
Symbol 238 GraphicUsed by:252
Symbol 239 GraphicUsed by:252
Symbol 240 GraphicUsed by:252
Symbol 241 GraphicUsed by:252
Symbol 242 GraphicUsed by:252
Symbol 243 GraphicUsed by:252
Symbol 244 GraphicUsed by:252
Symbol 245 GraphicUsed by:252
Symbol 246 GraphicUsed by:252
Symbol 247 GraphicUsed by:252
Symbol 248 GraphicUsed by:252
Symbol 249 GraphicUsed by:252
Symbol 250 GraphicUsed by:252
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:5 234 179 235 236 237 176 238 239 240 241 96 97 99 100 101 242 243 244 245 246 106 247 248 249 112 114 250 251Used by:253
Symbol 253 MovieClip {coffeeshop_fla.Customer_160}Uses:252Used by:289
Symbol 254 GraphicUsed by:287
Symbol 255 GraphicUsed by:287
Symbol 256 GraphicUsed by:287
Symbol 257 GraphicUsed by:287
Symbol 258 GraphicUsed by:287
Symbol 259 GraphicUsed by:287
Symbol 260 GraphicUsed by:287
Symbol 261 GraphicUsed by:287
Symbol 262 GraphicUsed by:287
Symbol 263 GraphicUsed by:287
Symbol 264 GraphicUsed by:287
Symbol 265 GraphicUsed by:287
Symbol 266 GraphicUsed by:287
Symbol 267 GraphicUsed by:287
Symbol 268 GraphicUsed by:287
Symbol 269 GraphicUsed by:287
Symbol 270 GraphicUsed by:287
Symbol 271 GraphicUsed by:287
Symbol 272 GraphicUsed by:287
Symbol 273 GraphicUsed by:287
Symbol 274 GraphicUsed by:287
Symbol 275 GraphicUsed by:287
Symbol 276 GraphicUsed by:287
Symbol 277 GraphicUsed by:287
Symbol 278 GraphicUsed by:287
Symbol 279 GraphicUsed by:287
Symbol 280 GraphicUsed by:287
Symbol 281 GraphicUsed by:287
Symbol 282 GraphicUsed by:287
Symbol 283 GraphicUsed by:287
Symbol 284 GraphicUsed by:287
Symbol 285 GraphicUsed by:287
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClipUses:5 254 179 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286Used by:288
Symbol 288 MovieClip {coffeeshop_fla.Customer_162}Uses:287Used by:289
Symbol 289 MovieClip {CCustomerBizGirl}Uses:154 157 202 219 233 253 288Used by:1577
Symbol 290 GraphicUsed by:338
Symbol 291 GraphicUsed by:338 366 1456  Timeline
Symbol 292 GraphicUsed by:296
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:293Used by:296
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:292 294 295Used by:338
Symbol 297 FontUsed by:298 300 344 346 368 440 469 470 471 472 475 476 480 485 493 494 495 496 497 506 516 517 522 1368 1370 1371 1375 1406 1424 1432 1447 1448 1455 1457 1461 1463 1508 1514 1521 1527
Symbol 298 TextUses:297Used by:338
Symbol 299 TextUses:1Used by:338
Symbol 300 TextUses:297Used by:338
Symbol 301 MovieClipUses:4Used by:310 1198 1208 1216 1225 1252 1268 1277 1294 1326
Symbol 302 GraphicUsed by:310
Symbol 303 GraphicUsed by:310
Symbol 304 GraphicUsed by:310
Symbol 305 GraphicUsed by:310
Symbol 306 GraphicUsed by:310
Symbol 307 GraphicUsed by:310
Symbol 308 GraphicUsed by:310
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClipUses:301 302 303 304 305 306 307 308 309Used by:338 1192
Symbol 311 GraphicUsed by:319
Symbol 312 GraphicUsed by:319
Symbol 313 GraphicUsed by:319
Symbol 314 GraphicUsed by:319
Symbol 315 GraphicUsed by:319
Symbol 316 GraphicUsed by:319
Symbol 317 GraphicUsed by:319
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:5 311 312 313 314 315 316 317 318Used by:338 716
Symbol 320 GraphicUsed by:328
Symbol 321 GraphicUsed by:328
Symbol 322 GraphicUsed by:328
Symbol 323 GraphicUsed by:328
Symbol 324 GraphicUsed by:328
Symbol 325 GraphicUsed by:328
Symbol 326 GraphicUsed by:328
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:5 320 321 322 323 324 325 326 327Used by:338 1041
Symbol 329 GraphicUsed by:337
Symbol 330 GraphicUsed by:337
Symbol 331 GraphicUsed by:337
Symbol 332 GraphicUsed by:337
Symbol 333 GraphicUsed by:337
Symbol 334 GraphicUsed by:337
Symbol 335 GraphicUsed by:337
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClipUses:5 329 330 331 332 333 334 335 336Used by:338 527
Symbol 338 MovieClipUses:290 291 296 298 299 300 310 319 328 337Used by:345
Symbol 339 GraphicUsed by:343
Symbol 340 GraphicUsed by:341
Symbol 341 MovieClipUses:340Used by:343
Symbol 342 GraphicUsed by:343
Symbol 343 MovieClipUses:339 341 342Used by:345
Symbol 344 TextUses:297Used by:345
Symbol 345 MovieClip {CCoffeeLoader}Uses:338 343 344Used by:Timeline
Symbol 346 TextUses:297Used by:Timeline
Symbol 347 FontUsed by:2 348 349 350 354 378 379 380 383 384 386 387 388 390 391 392 393 394 396 397 414 423 424 505 513 514 1372 1524 1526 1540 1549 1578 1579
Symbol 348 TextUses:347Used by:Timeline
Symbol 349 EditableTextUses:1 347Used by:Timeline
Symbol 350 EditableTextUses:1 347Used by:Timeline
Symbol 351 MovieClip {CPageTabs}Used by:490 1577
Symbol 352 GraphicUsed by:373
Symbol 353 TextUses:1Used by:373
Symbol 354 TextUses:347Used by:373
Symbol 355 GraphicUsed by:356 1464
Symbol 356 MovieClipUses:355Used by:372
Symbol 357 GraphicUsed by:358
Symbol 358 MovieClipUses:357Used by:359
Symbol 359 MovieClipUses:358Used by:366 1456
Symbol 360 GraphicUsed by:361
Symbol 361 MovieClipUses:360Used by:362
Symbol 362 MovieClipUses:361Used by:366 1456
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClipUses:363Used by:365
Symbol 365 MovieClipUses:364Used by:366 1456
Symbol 366 MovieClipUses:291 359 362 365Used by:372 1436 1464
Symbol 367 GraphicUsed by:372 1464
Symbol 368 EditableTextUses:297Used by:372
Symbol 369 GraphicUsed by:372 1464
Symbol 370 GraphicUsed by:372 1464
Symbol 371 GraphicUsed by:372 1464
Symbol 372 MovieClip {CButtonMenu}Uses:356 366 367 368 369 370 371Used by:373 1374 1456 1577
Symbol 373 MovieClip {CQuitConfirm}Uses:352 353 354 372Used by:491 1577
Symbol 374 GraphicUsed by:375
Symbol 375 MovieClip {CGraph}Uses:374Used by:426 519 1577
Symbol 376 GraphicUsed by:377
Symbol 377 MovieClipUses:376Used by:398
Symbol 378 EditableTextUses:1 347Used by:398
Symbol 379 EditableTextUses:1 347Used by:398
Symbol 380 EditableTextUses:1 347Used by:398
Symbol 381 TextUses:1Used by:398
Symbol 382 GraphicUsed by:398
Symbol 383 EditableTextUses:1 347Used by:398
Symbol 384 EditableTextUses:1 347Used by:398
Symbol 385 TextUses:1Used by:398
Symbol 386 EditableTextUses:1 347Used by:398
Symbol 387 EditableTextUses:1 347Used by:398
Symbol 388 EditableTextUses:1 347Used by:398
Symbol 389 GraphicUsed by:398
Symbol 390 EditableTextUses:1 347Used by:398
Symbol 391 EditableTextUses:1 347Used by:398
Symbol 392 EditableTextUses:1 347Used by:398
Symbol 393 EditableTextUses:1 347Used by:398
Symbol 394 EditableTextUses:1 347Used by:398
Symbol 395 GraphicUsed by:398
Symbol 396 EditableTextUses:1 347Used by:398
Symbol 397 EditableTextUses:1 347Used by:398
Symbol 398 MovieClip {CHUDWeatherDisplay}Uses:377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397Used by:520
Symbol 399 GraphicUsed by:406
Symbol 400 FontUsed by:401 408 412
Symbol 401 TextUses:400Used by:406
Symbol 402 GraphicUsed by:403 498 1418 1473
Symbol 403 MovieClipUses:402Used by:406
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClip {mcSymbolReputation}Uses:404Used by:406 1577
Symbol 406 MovieClip {CHUDReputationDisplay}Uses:399 401 403 405Used by:520
Symbol 407 GraphicUsed by:411
Symbol 408 EditableTextUses:400Used by:411
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClipUses:409Used by:411
Symbol 411 MovieClip {CHUDCashDisplay}Uses:407 408 410Used by:520
Symbol 412 EditableTextUses:400Used by:520
Symbol 413 GraphicUsed by:421
Symbol 414 EditableTextUses:1 347Used by:421
Symbol 415 GraphicUsed by:421
Symbol 416 GraphicUsed by:421
Symbol 417 GraphicUsed by:421
Symbol 418 GraphicUsed by:421
Symbol 419 GraphicUsed by:421
Symbol 420 GraphicUsed by:421
Symbol 421 MovieClip {CButtonStartTheDay}Uses:413 414 415 416 417 418 419 420Used by:491 1577
Symbol 422 GraphicUsed by:490
Symbol 423 EditableTextUses:1 347Used by:426
Symbol 424 EditableTextUses:1 347Used by:426
Symbol 425 MovieClipUsed by:426 519 1419 1456
Symbol 426 MovieClip {CHUDPreparingStats}Uses:375 423 424 425Used by:490
Symbol 427 GraphicUsed by:489
Symbol 428 GraphicUsed by:439 467
Symbol 429 EditableTextUses:1Used by:439
Symbol 430 EditableTextUses:1Used by:439
Symbol 431 EditableTextUses:1Used by:439
Symbol 432 EditableTextUses:1Used by:439
Symbol 433 GraphicUsed by:438 466
Symbol 434 EditableTextUses:1Used by:438
Symbol 435 GraphicUsed by:438 466
Symbol 436 GraphicUsed by:438 466
Symbol 437 GraphicUsed by:438 466
Symbol 438 MovieClip {CSliderHandlePrice}Uses:433 434 435 436 437Used by:439
Symbol 439 MovieClip {CSliderPrice}Uses:428 429 430 431 432 438Used by:489 507 1577
Symbol 440 TextUses:297Used by:489
Symbol 441 GraphicUsed by:442 1352  Timeline
Symbol 442 MovieClipUses:441Used by:489
Symbol 443 GraphicUsed by:453
Symbol 444 TextUses:1Used by:453
Symbol 445 GraphicUsed by:453 468
Symbol 446 TextUses:1Used by:453
Symbol 447 EditableTextUses:1Used by:453
Symbol 448 TextUses:1Used by:453
Symbol 449 EditableTextUses:1Used by:453
Symbol 450 TextUses:1Used by:453
Symbol 451 EditableTextUses:1Used by:453
Symbol 452 EditableTextUses:1Used by:453
Symbol 453 MovieClip {CHUDPreparingAdjustmentsInventory}Uses:443 444 445 446 447 448 449 450 451 452Used by:489
Symbol 454 EditableTextUses:1Used by:468
Symbol 455 TextUses:1Used by:468
Symbol 456 EditableTextUses:1Used by:468
Symbol 457 TextUses:1Used by:468
Symbol 458 EditableTextUses:1Used by:468
Symbol 459 TextUses:1Used by:468
Symbol 460 TextUses:1Used by:468
Symbol 461 EditableTextUses:1Used by:467
Symbol 462 EditableTextUses:1Used by:467
Symbol 463 EditableTextUses:1Used by:467
Symbol 464 EditableTextUses:1Used by:467
Symbol 465 EditableTextUses:1Used by:466
Symbol 466 MovieClip {CSliderHandle}Uses:433 465 435 436 437Used by:467
Symbol 467 MovieClip {CSlider}Uses:428 461 462 463 464 466Used by:468 1577
Symbol 468 MovieClip {CHUDPreparingAdjustmentsRecipe}Uses:445 454 455 456 457 458 459 460 467Used by:489
Symbol 469 TextUses:297Used by:489
Symbol 470 TextUses:297Used by:489
Symbol 471 TextUses:297Used by:489
Symbol 472 TextUses:297Used by:489
Symbol 473 TextUses:1Used by:489
Symbol 474 EditableTextUses:1Used by:489
Symbol 475 TextUses:297Used by:489
Symbol 476 TextUses:297Used by:489
Symbol 477 TextUses:1Used by:489
Symbol 478 EditableTextUses:1Used by:489
Symbol 479 GraphicUsed by:484 486 518
Symbol 480 EditableTextUses:297Used by:484
Symbol 481 GraphicUsed by:484 486 518
Symbol 482 GraphicUsed by:484 486 518
Symbol 483 GraphicUsed by:484 486 518
Symbol 484 MovieClip {CButtonUndoLastPurchase}Uses:479 480 481 482 483Used by:489 1577
Symbol 485 EditableTextUses:297Used by:486
Symbol 486 MovieClip {CButtonQuit}Uses:479 485 481 482 483Used by:489 1577
Symbol 487 GraphicUsed by:488
Symbol 488 MovieClipUses:487Used by:489
Symbol 489 MovieClip {CHUDPreparingAdjustments}Uses:427 439 440 442 453 468 469 470 471 472 473 474 475 476 477 478 484 486 488Used by:490
Symbol 490 MovieClip {CHUDPreparingPage}Uses:422 351 426 489Used by:491
Symbol 491 MovieClip {CHUDModePreparing}Uses:421 490 373Used by:520
Symbol 492 GraphicUsed by:503
Symbol 493 TextUses:297Used by:503
Symbol 494 TextUses:297Used by:503
Symbol 495 TextUses:297Used by:503
Symbol 496 TextUses:297Used by:503
Symbol 497 TextUses:297Used by:503
Symbol 498 MovieClipUses:402Used by:503
Symbol 499 EditableTextUses:1Used by:503
Symbol 500 EditableTextUses:1Used by:503
Symbol 501 EditableTextUses:1Used by:503
Symbol 502 EditableTextUses:1Used by:503
Symbol 503 MovieClip {CHUDServingInventory}Uses:492 493 494 495 496 497 498 499 500 501 502Used by:508
Symbol 504 GraphicUsed by:507
Symbol 505 EditableTextUses:1 347Used by:507
Symbol 506 TextUses:297Used by:507
Symbol 507 MovieClip {CHUDServingPrice}Uses:504 505 506 439Used by:508
Symbol 508 MovieClip {CHUDModeServing}Uses:503 507Used by:520
Symbol 509 GraphicUsed by:519
Symbol 510 EditableTextUses:1Used by:519
Symbol 511 TextUses:1Used by:519
Symbol 512 EditableTextUses:1Used by:519
Symbol 513 EditableTextUses:1 347Used by:519
Symbol 514 EditableTextUses:1 347Used by:519
Symbol 515 GraphicUsed by:519
Symbol 516 EditableTextUses:297Used by:519
Symbol 517 EditableTextUses:297Used by:518
Symbol 518 MovieClip {CButtonLeaveEndOfDay}Uses:479 517 481 482 483Used by:519 1577
Symbol 519 MovieClip {CHUDModeEndOfDay}Uses:509 375 425 510 511 512 513 514 515 516 518Used by:520
Symbol 520 MovieClip {CHUD}Uses:398 406 411 412 491 508 519Used by:1554 1577
Symbol 521 GraphicUsed by:526
Symbol 522 EditableTextUses:297Used by:526
Symbol 523 GraphicUsed by:526
Symbol 524 GraphicUsed by:526
Symbol 525 GraphicUsed by:526
Symbol 526 MovieClip {CHUDTab}Uses:521 522 523 524 525Used by:1577
Symbol 527 MovieClipUses:337Used by:715
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClipUses:5 528Used by:530
Symbol 530 MovieClip {coffeeshop_fla.Customer_59}Uses:529Used by:715
Symbol 531 GraphicUsed by:537
Symbol 532 GraphicUsed by:537
Symbol 533 GraphicUsed by:537
Symbol 534 GraphicUsed by:537
Symbol 535 GraphicUsed by:537
Symbol 536 GraphicUsed by:537
Symbol 537 MovieClipUses:5 531 532 533 534 535 536Used by:587
Symbol 538 MovieClipUses:4Used by:549
Symbol 539 GraphicUsed by:549
Symbol 540 GraphicUsed by:549
Symbol 541 GraphicUsed by:549
Symbol 542 GraphicUsed by:549
Symbol 543 GraphicUsed by:549
Symbol 544 GraphicUsed by:549
Symbol 545 GraphicUsed by:549
Symbol 546 GraphicUsed by:549
Symbol 547 GraphicUsed by:549
Symbol 548 GraphicUsed by:549
Symbol 549 MovieClipUses:538 539 540 541 542 543 544 545 546 547 548Used by:587
Symbol 550 GraphicUsed by:556
Symbol 551 GraphicUsed by:556
Symbol 552 GraphicUsed by:556
Symbol 553 GraphicUsed by:556
Symbol 554 GraphicUsed by:556
Symbol 555 GraphicUsed by:556
Symbol 556 MovieClipUses:5 550 551 552 553 554 555Used by:587
Symbol 557 GraphicUsed by:586
Symbol 558 GraphicUsed by:586
Symbol 559 GraphicUsed by:586
Symbol 560 GraphicUsed by:586
Symbol 561 GraphicUsed by:586
Symbol 562 GraphicUsed by:586
Symbol 563 GraphicUsed by:586
Symbol 564 GraphicUsed by:586
Symbol 565 GraphicUsed by:586
Symbol 566 GraphicUsed by:586
Symbol 567 GraphicUsed by:586
Symbol 568 GraphicUsed by:586
Symbol 569 GraphicUsed by:586
Symbol 570 GraphicUsed by:586
Symbol 571 GraphicUsed by:586
Symbol 572 GraphicUsed by:586
Symbol 573 GraphicUsed by:586
Symbol 574 GraphicUsed by:586
Symbol 575 GraphicUsed by:586
Symbol 576 GraphicUsed by:586
Symbol 577 GraphicUsed by:586
Symbol 578 GraphicUsed by:586
Symbol 579 GraphicUsed by:586
Symbol 580 GraphicUsed by:586
Symbol 581 GraphicUsed by:586
Symbol 582 GraphicUsed by:586
Symbol 583 GraphicUsed by:586
Symbol 584 GraphicUsed by:586
Symbol 585 GraphicUsed by:586
Symbol 586 MovieClipUses:5 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585Used by:587
Symbol 587 MovieClip {coffeeshop_fla.Customer_61}Uses:537 549 556 586Used by:715
Symbol 588 GraphicUsed by:614
Symbol 589 GraphicUsed by:614
Symbol 590 GraphicUsed by:614
Symbol 591 GraphicUsed by:614
Symbol 592 GraphicUsed by:614
Symbol 593 GraphicUsed by:614
Symbol 594 GraphicUsed by:614
Symbol 595 GraphicUsed by:614
Symbol 596 GraphicUsed by:614
Symbol 597 GraphicUsed by:614
Symbol 598 GraphicUsed by:614
Symbol 599 GraphicUsed by:614
Symbol 600 GraphicUsed by:614
Symbol 601 GraphicUsed by:614
Symbol 602 GraphicUsed by:614
Symbol 603 GraphicUsed by:614
Symbol 604 GraphicUsed by:614
Symbol 605 GraphicUsed by:614
Symbol 606 GraphicUsed by:614
Symbol 607 GraphicUsed by:614
Symbol 608 GraphicUsed by:614
Symbol 609 GraphicUsed by:614
Symbol 610 GraphicUsed by:614
Symbol 611 GraphicUsed by:614
Symbol 612 GraphicUsed by:614
Symbol 613 GraphicUsed by:614
Symbol 614 MovieClipUses:5 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613Used by:615
Symbol 615 MovieClip {coffeeshop_fla.Customer_67}Uses:614Used by:715
Symbol 616 GraphicUsed by:636
Symbol 617 GraphicUsed by:636
Symbol 618 GraphicUsed by:636
Symbol 619 GraphicUsed by:636
Symbol 620 GraphicUsed by:636
Symbol 621 GraphicUsed by:636
Symbol 622 GraphicUsed by:636
Symbol 623 GraphicUsed by:636
Symbol 624 GraphicUsed by:636
Symbol 625 GraphicUsed by:636
Symbol 626 GraphicUsed by:636
Symbol 627 GraphicUsed by:636
Symbol 628 GraphicUsed by:636
Symbol 629 GraphicUsed by:636
Symbol 630 GraphicUsed by:636
Symbol 631 GraphicUsed by:636
Symbol 632 GraphicUsed by:636
Symbol 633 GraphicUsed by:636
Symbol 634 GraphicUsed by:636
Symbol 635 GraphicUsed by:636
Symbol 636 MovieClipUses:5 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635Used by:637
Symbol 637 MovieClip {coffeeshop_fla.Customer_69}Uses:636Used by:715
Symbol 638 GraphicUsed by:672
Symbol 639 GraphicUsed by:672
Symbol 640 GraphicUsed by:672
Symbol 641 GraphicUsed by:672
Symbol 642 GraphicUsed by:672
Symbol 643 GraphicUsed by:672
Symbol 644 GraphicUsed by:672
Symbol 645 GraphicUsed by:672
Symbol 646 GraphicUsed by:672
Symbol 647 GraphicUsed by:672
Symbol 648 GraphicUsed by:672
Symbol 649 GraphicUsed by:672
Symbol 650 GraphicUsed by:672
Symbol 651 GraphicUsed by:672
Symbol 652 GraphicUsed by:672
Symbol 653 GraphicUsed by:672
Symbol 654 GraphicUsed by:672
Symbol 655 GraphicUsed by:672
Symbol 656 GraphicUsed by:672
Symbol 657 GraphicUsed by:672
Symbol 658 GraphicUsed by:672
Symbol 659 GraphicUsed by:672
Symbol 660 GraphicUsed by:672
Symbol 661 GraphicUsed by:672
Symbol 662 GraphicUsed by:672
Symbol 663 GraphicUsed by:672
Symbol 664 GraphicUsed by:672
Symbol 665 GraphicUsed by:672
Symbol 666 GraphicUsed by:672
Symbol 667 GraphicUsed by:672
Symbol 668 GraphicUsed by:672
Symbol 669 GraphicUsed by:672
Symbol 670 GraphicUsed by:672
Symbol 671 GraphicUsed by:672
Symbol 672 MovieClipUses:5 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671Used by:673
Symbol 673 MovieClip {coffeeshop_fla.Customer_71}Uses:672Used by:715
Symbol 674 GraphicUsed by:713
Symbol 675 GraphicUsed by:713
Symbol 676 GraphicUsed by:713
Symbol 677 GraphicUsed by:713
Symbol 678 GraphicUsed by:713
Symbol 679 GraphicUsed by:713
Symbol 680 GraphicUsed by:713
Symbol 681 GraphicUsed by:713
Symbol 682 GraphicUsed by:713
Symbol 683 GraphicUsed by:713
Symbol 684 GraphicUsed by:713
Symbol 685 GraphicUsed by:713
Symbol 686 GraphicUsed by:713
Symbol 687 GraphicUsed by:713
Symbol 688 GraphicUsed by:713
Symbol 689 GraphicUsed by:713
Symbol 690 GraphicUsed by:713
Symbol 691 GraphicUsed by:713
Symbol 692 GraphicUsed by:713
Symbol 693 GraphicUsed by:713
Symbol 694 GraphicUsed by:713
Symbol 695 GraphicUsed by:713
Symbol 696 GraphicUsed by:713
Symbol 697 GraphicUsed by:713
Symbol 698 GraphicUsed by:713
Symbol 699 GraphicUsed by:713
Symbol 700 GraphicUsed by:713
Symbol 701 GraphicUsed by:713
Symbol 702 GraphicUsed by:713
Symbol 703 GraphicUsed by:713
Symbol 704 GraphicUsed by:713
Symbol 705 GraphicUsed by:713
Symbol 706 GraphicUsed by:713
Symbol 707 GraphicUsed by:713
Symbol 708 GraphicUsed by:713
Symbol 709 GraphicUsed by:713
Symbol 710 GraphicUsed by:713
Symbol 711 GraphicUsed by:713
Symbol 712 GraphicUsed by:713
Symbol 713 MovieClipUses:5 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712Used by:714
Symbol 714 MovieClip {coffeeshop_fla.Customer_73}Uses:713Used by:715
Symbol 715 MovieClip {CCustomerFat}Uses:527 530 587 615 637 673 714Used by:1577
Symbol 716 MovieClipUses:319Used by:880
Symbol 717 GraphicUsed by:718
Symbol 718 MovieClipUses:5 717Used by:719
Symbol 719 MovieClip {coffeeshop_fla.Customer_77}Uses:718Used by:880
Symbol 720 GraphicUsed by:728
Symbol 721 GraphicUsed by:728
Symbol 722 GraphicUsed by:728
Symbol 723 GraphicUsed by:728
Symbol 724 GraphicUsed by:728
Symbol 725 GraphicUsed by:728
Symbol 726 GraphicUsed by:728
Symbol 727 GraphicUsed by:728
Symbol 728 MovieClipUses:5 720 721 722 723 724 725 726 727Used by:773
Symbol 729 GraphicUsed by:735
Symbol 730 GraphicUsed by:735
Symbol 731 GraphicUsed by:735
Symbol 732 GraphicUsed by:735
Symbol 733 GraphicUsed by:735
Symbol 734 GraphicUsed by:735
Symbol 735 MovieClipUses:5 729 730 731 732 733 734Used by:773
Symbol 736 GraphicUsed by:744
Symbol 737 GraphicUsed by:744
Symbol 738 GraphicUsed by:744
Symbol 739 GraphicUsed by:744
Symbol 740 GraphicUsed by:744
Symbol 741 GraphicUsed by:744
Symbol 742 GraphicUsed by:744
Symbol 743 GraphicUsed by:744
Symbol 744 MovieClipUses:5 736 737 738 739 740 741 742 743Used by:773
Symbol 745 GraphicUsed by:772
Symbol 746 GraphicUsed by:772
Symbol 747 GraphicUsed by:772
Symbol 748 GraphicUsed by:772
Symbol 749 GraphicUsed by:772
Symbol 750 GraphicUsed by:772
Symbol 751 GraphicUsed by:772
Symbol 752 GraphicUsed by:772
Symbol 753 GraphicUsed by:772
Symbol 754 GraphicUsed by:772
Symbol 755 GraphicUsed by:772
Symbol 756 GraphicUsed by:772
Symbol 757 GraphicUsed by:772
Symbol 758 GraphicUsed by:772
Symbol 759 GraphicUsed by:772
Symbol 760 GraphicUsed by:772
Symbol 761 GraphicUsed by:772
Symbol 762 GraphicUsed by:772
Symbol 763 GraphicUsed by:772
Symbol 764 GraphicUsed by:772
Symbol 765 GraphicUsed by:772
Symbol 766 GraphicUsed by:772
Symbol 767 GraphicUsed by:772
Symbol 768 GraphicUsed by:772
Symbol 769 GraphicUsed by:772
Symbol 770 GraphicUsed by:772
Symbol 771 GraphicUsed by:772
Symbol 772 MovieClipUses:5 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771Used by:773
Symbol 773 MovieClip {coffeeshop_fla.Customer_79}Uses:728 735 744 772Used by:880
Symbol 774 GraphicUsed by:791
Symbol 775 GraphicUsed by:791
Symbol 776 GraphicUsed by:791
Symbol 777 GraphicUsed by:791
Symbol 778 GraphicUsed by:791
Symbol 779 GraphicUsed by:791
Symbol 780 GraphicUsed by:791
Symbol 781 GraphicUsed by:791
Symbol 782 GraphicUsed by:791
Symbol 783 GraphicUsed by:791
Symbol 784 GraphicUsed by:791
Symbol 785 GraphicUsed by:791
Symbol 786 GraphicUsed by:791
Symbol 787 GraphicUsed by:791
Symbol 788 GraphicUsed by:791
Symbol 789 GraphicUsed by:791
Symbol 790 GraphicUsed by:791
Symbol 791 MovieClipUses:5 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790Used by:792
Symbol 792 MovieClip {coffeeshop_fla.Customer_84}Uses:791Used by:880
Symbol 793 GraphicUsed by:814
Symbol 794 GraphicUsed by:814
Symbol 795 GraphicUsed by:814
Symbol 796 GraphicUsed by:814
Symbol 797 GraphicUsed by:814
Symbol 798 GraphicUsed by:814
Symbol 799 GraphicUsed by:814
Symbol 800 GraphicUsed by:814
Symbol 801 GraphicUsed by:814
Symbol 802 GraphicUsed by:814
Symbol 803 GraphicUsed by:814
Symbol 804 GraphicUsed by:814
Symbol 805 GraphicUsed by:814
Symbol 806 GraphicUsed by:814
Symbol 807 GraphicUsed by:814
Symbol 808 GraphicUsed by:814
Symbol 809 GraphicUsed by:814
Symbol 810 GraphicUsed by:814
Symbol 811 GraphicUsed by:814
Symbol 812 GraphicUsed by:814
Symbol 813 GraphicUsed by:814
Symbol 814 MovieClipUses:5 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813Used by:815
Symbol 815 MovieClip {coffeeshop_fla.Customer_86}Uses:814Used by:880
Symbol 816 GraphicUsed by:839
Symbol 817 GraphicUsed by:839
Symbol 818 GraphicUsed by:839
Symbol 819 GraphicUsed by:839
Symbol 820 GraphicUsed by:839
Symbol 821 GraphicUsed by:839
Symbol 822 GraphicUsed by:839
Symbol 823 GraphicUsed by:839
Symbol 824 GraphicUsed by:839
Symbol 825 GraphicUsed by:839
Symbol 826 GraphicUsed by:839
Symbol 827 GraphicUsed by:839
Symbol 828 GraphicUsed by:839
Symbol 829 GraphicUsed by:839
Symbol 830 GraphicUsed by:839
Symbol 831 GraphicUsed by:839 1002
Symbol 832 GraphicUsed by:839
Symbol 833 GraphicUsed by:839
Symbol 834 GraphicUsed by:839
Symbol 835 GraphicUsed by:839
Symbol 836 GraphicUsed by:839
Symbol 837 GraphicUsed by:839 1002
Symbol 838 GraphicUsed by:839
Symbol 839 MovieClipUses:5 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838Used by:840
Symbol 840 MovieClip {coffeeshop_fla.Customer_88}Uses:839Used by:880
Symbol 841 GraphicUsed by:878
Symbol 842 GraphicUsed by:878
Symbol 843 GraphicUsed by:878
Symbol 844 GraphicUsed by:878
Symbol 845 GraphicUsed by:878
Symbol 846 GraphicUsed by:878
Symbol 847 GraphicUsed by:878
Symbol 848 GraphicUsed by:878
Symbol 849 GraphicUsed by:878
Symbol 850 GraphicUsed by:878
Symbol 851 GraphicUsed by:878
Symbol 852 GraphicUsed by:878
Symbol 853 GraphicUsed by:878
Symbol 854 GraphicUsed by:878
Symbol 855 GraphicUsed by:878
Symbol 856 GraphicUsed by:878
Symbol 857 GraphicUsed by:878
Symbol 858 GraphicUsed by:878
Symbol 859 GraphicUsed by:878
Symbol 860 GraphicUsed by:878
Symbol 861 GraphicUsed by:878
Symbol 862 GraphicUsed by:878
Symbol 863 GraphicUsed by:878
Symbol 864 GraphicUsed by:878
Symbol 865 GraphicUsed by:878
Symbol 866 GraphicUsed by:878
Symbol 867 GraphicUsed by:878
Symbol 868 GraphicUsed by:878
Symbol 869 GraphicUsed by:878
Symbol 870 GraphicUsed by:878
Symbol 871 GraphicUsed by:878
Symbol 872 GraphicUsed by:878
Symbol 873 GraphicUsed by:878
Symbol 874 GraphicUsed by:878
Symbol 875 GraphicUsed by:878
Symbol 876 GraphicUsed by:878
Symbol 877 GraphicUsed by:878
Symbol 878 MovieClipUses:5 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877Used by:879
Symbol 879 MovieClip {coffeeshop_fla.Customer_90}Uses:878Used by:880
Symbol 880 MovieClip {CCustomerGranny}Uses:716 719 773 792 815 840 879Used by:1577
Symbol 881 GraphicUsed by:889
Symbol 882 GraphicUsed by:889
Symbol 883 GraphicUsed by:889
Symbol 884 GraphicUsed by:889
Symbol 885 GraphicUsed by:889
Symbol 886 GraphicUsed by:889
Symbol 887 GraphicUsed by:889
Symbol 888 GraphicUsed by:889
Symbol 889 MovieClipUses:5 881 882 883 884 885 886 887 888Used by:890
Symbol 890 MovieClipUses:889Used by:1040
Symbol 891 GraphicUsed by:892
Symbol 892 MovieClipUses:5 891Used by:893
Symbol 893 MovieClip {coffeeshop_fla.Customer_95}Uses:892Used by:1040
Symbol 894 GraphicUsed by:902
Symbol 895 GraphicUsed by:902
Symbol 896 GraphicUsed by:902
Symbol 897 GraphicUsed by:902
Symbol 898 GraphicUsed by:902
Symbol 899 GraphicUsed by:902
Symbol 900 GraphicUsed by:902
Symbol 901 GraphicUsed by:902
Symbol 902 MovieClipUses:5 894 895 896 897 898 899 900 901Used by:941
Symbol 903 GraphicUsed by:915
Symbol 904 GraphicUsed by:915
Symbol 905 GraphicUsed by:915
Symbol 906 GraphicUsed by:915
Symbol 907 GraphicUsed by:915
Symbol 908 GraphicUsed by:915
Symbol 909 GraphicUsed by:915
Symbol 910 GraphicUsed by:915
Symbol 911 GraphicUsed by:915
Symbol 912 GraphicUsed by:915
Symbol 913 GraphicUsed by:915
Symbol 914 GraphicUsed by:915
Symbol 915 MovieClipUses:5 903 904 905 906 907 908 909 910 911 912 913 914Used by:941
Symbol 916 GraphicUsed by:924
Symbol 917 GraphicUsed by:924
Symbol 918 GraphicUsed by:924
Symbol 919 GraphicUsed by:924
Symbol 920 GraphicUsed by:924
Symbol 921 GraphicUsed by:924
Symbol 922 GraphicUsed by:924
Symbol 923 GraphicUsed by:924
Symbol 924 MovieClipUses:5 916 917 918 919 920 921 922 923Used by:941
Symbol 925 GraphicUsed by:940
Symbol 926 GraphicUsed by:940
Symbol 927 GraphicUsed by:940
Symbol 928 GraphicUsed by:940
Symbol 929 GraphicUsed by:940
Symbol 930 GraphicUsed by:940
Symbol 931 GraphicUsed by:940
Symbol 932 GraphicUsed by:940
Symbol 933 GraphicUsed by:940
Symbol 934 GraphicUsed by:940
Symbol 935 GraphicUsed by:940
Symbol 936 GraphicUsed by:940
Symbol 937 GraphicUsed by:940
Symbol 938 GraphicUsed by:940
Symbol 939 GraphicUsed by:940
Symbol 940 MovieClipUses:5 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939Used by:941
Symbol 941 MovieClip {coffeeshop_fla.Customer_97}Uses:902 915 924 940Used by:1040
Symbol 942 GraphicUsed by:965
Symbol 943 GraphicUsed by:965
Symbol 944 GraphicUsed by:965
Symbol 945 GraphicUsed by:965
Symbol 946 GraphicUsed by:965
Symbol 947 GraphicUsed by:965
Symbol 948 GraphicUsed by:965
Symbol 949 GraphicUsed by:965
Symbol 950 GraphicUsed by:965
Symbol 951 GraphicUsed by:965
Symbol 952 GraphicUsed by:965
Symbol 953 GraphicUsed by:965
Symbol 954 GraphicUsed by:965
Symbol 955 GraphicUsed by:965
Symbol 956 GraphicUsed by:965
Symbol 957 GraphicUsed by:965
Symbol 958 GraphicUsed by:965
Symbol 959 GraphicUsed by:965
Symbol 960 GraphicUsed by:965
Symbol 961 GraphicUsed by:965
Symbol 962 GraphicUsed by:965
Symbol 963 GraphicUsed by:965
Symbol 964 GraphicUsed by:965
Symbol 965 MovieClipUses:5 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964Used by:966
Symbol 966 MovieClip {coffeeshop_fla.Customer_102}Uses:965Used by:1040
Symbol 967 GraphicUsed by:976
Symbol 968 GraphicUsed by:976
Symbol 969 GraphicUsed by:976
Symbol 970 GraphicUsed by:976
Symbol 971 GraphicUsed by:976
Symbol 972 GraphicUsed by:976
Symbol 973 GraphicUsed by:976
Symbol 974 GraphicUsed by:976
Symbol 975 GraphicUsed by:976
Symbol 976 MovieClipUses:5 967 968 969 970 971 972 973 974 975Used by:977
Symbol 977 MovieClip {coffeeshop_fla.Customer_104}Uses:976Used by:1040
Symbol 978 GraphicUsed by:1002
Symbol 979 GraphicUsed by:1002
Symbol 980 GraphicUsed by:1002
Symbol 981 GraphicUsed by:1002
Symbol 982 GraphicUsed by:1002
Symbol 983 GraphicUsed by:1002
Symbol 984 GraphicUsed by:1002
Symbol 985 GraphicUsed by:1002
Symbol 986 GraphicUsed by:1002
Symbol 987 GraphicUsed by:1002
Symbol 988 GraphicUsed by:1002
Symbol 989 GraphicUsed by:1002
Symbol 990 GraphicUsed by:1002
Symbol 991 GraphicUsed by:1002
Symbol 992 GraphicUsed by:1002
Symbol 993 GraphicUsed by:1002
Symbol 994 GraphicUsed by:1002
Symbol 995 GraphicUsed by:1002
Symbol 996 GraphicUsed by:1002
Symbol 997 GraphicUsed by:1002
Symbol 998 GraphicUsed by:1002
Symbol 999 GraphicUsed by:1002
Symbol 1000 GraphicUsed by:1002
Symbol 1001 GraphicUsed by:1002
Symbol 1002 MovieClipUses:5 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 831 996 997 998 999 837 1000 1001Used by:1003
Symbol 1003 MovieClip {coffeeshop_fla.Customer_106}Uses:1002Used by:1040
Symbol 1004 GraphicUsed by:1038
Symbol 1005 GraphicUsed by:1038
Symbol 1006 GraphicUsed by:1038
Symbol 1007 GraphicUsed by:1038
Symbol 1008 GraphicUsed by:1038
Symbol 1009 GraphicUsed by:1038
Symbol 1010 GraphicUsed by:1038
Symbol 1011 GraphicUsed by:1038
Symbol 1012 GraphicUsed by:1038
Symbol 1013 GraphicUsed by:1038
Symbol 1014 GraphicUsed by:1038
Symbol 1015 GraphicUsed by:1038
Symbol 1016 GraphicUsed by:1038
Symbol 1017 GraphicUsed by:1038
Symbol 1018 GraphicUsed by:1038
Symbol 1019 GraphicUsed by:1038
Symbol 1020 GraphicUsed by:1038
Symbol 1021 GraphicUsed by:1038
Symbol 1022 GraphicUsed by:1038
Symbol 1023 GraphicUsed by:1038
Symbol 1024 GraphicUsed by:1038
Symbol 1025 GraphicUsed by:1038
Symbol 1026 GraphicUsed by:1038
Symbol 1027 GraphicUsed by:1038
Symbol 1028 GraphicUsed by:1038
Symbol 1029 GraphicUsed by:1038
Symbol 1030 GraphicUsed by:1038
Symbol 1031 GraphicUsed by:1038
Symbol 1032 GraphicUsed by:1038
Symbol 1033 GraphicUsed by:1038
Symbol 1034 GraphicUsed by:1038
Symbol 1035 GraphicUsed by:1038
Symbol 1036 GraphicUsed by:1038
Symbol 1037 GraphicUsed by:1038
Symbol 1038 MovieClipUses:5 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037Used by:1039
Symbol 1039 MovieClip {coffeeshop_fla.Customer_108}Uses:1038Used by:1040
Symbol 1040 MovieClip {CCustomerPope}Uses:890 893 941 966 977 1003 1039Used by:1577
Symbol 1041 MovieClipUses:328Used by:1191
Symbol 1042 GraphicUsed by:1043
Symbol 1043 MovieClipUses:5 1042Used by:1044
Symbol 1044 MovieClip {coffeeshop_fla.Customer_112}Uses:1043Used by:1191
Symbol 1045 GraphicUsed by:1053
Symbol 1046 GraphicUsed by:1053
Symbol 1047 GraphicUsed by:1053
Symbol 1048 GraphicUsed by:1053
Symbol 1049 GraphicUsed by:1053
Symbol 1050 GraphicUsed by:1053
Symbol 1051 GraphicUsed by:1053
Symbol 1052 GraphicUsed by:1053
Symbol 1053 MovieClipUses:5 1045 1046 1047 1048 1049 1050 1051 1052Used by:1085
Symbol 1054 GraphicUsed by:1064
Symbol 1055 GraphicUsed by:1064
Symbol 1056 GraphicUsed by:1064
Symbol 1057 GraphicUsed by:1064
Symbol 1058 GraphicUsed by:1064
Symbol 1059 GraphicUsed by:1064
Symbol 1060 GraphicUsed by:1064
Symbol 1061 GraphicUsed by:1064
Symbol 1062 GraphicUsed by:1064
Symbol 1063 GraphicUsed by:1064
Symbol 1064 MovieClipUses:5 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063Used by:1085
Symbol 1065 GraphicUsed by:1073
Symbol 1066 GraphicUsed by:1073
Symbol 1067 GraphicUsed by:1073
Symbol 1068 GraphicUsed by:1073
Symbol 1069 GraphicUsed by:1073
Symbol 1070 GraphicUsed by:1073
Symbol 1071 GraphicUsed by:1073
Symbol 1072 GraphicUsed by:1073
Symbol 1073 MovieClipUses:5 1065 1066 1067 1068 1069 1070 1071 1072Used by:1085
Symbol 1074 GraphicUsed by:1084
Symbol 1075 GraphicUsed by:1084
Symbol 1076 GraphicUsed by:1084
Symbol 1077 GraphicUsed by:1084
Symbol 1078 GraphicUsed by:1084
Symbol 1079 GraphicUsed by:1084
Symbol 1080 GraphicUsed by:1084
Symbol 1081 GraphicUsed by:1084
Symbol 1082 GraphicUsed by:1084
Symbol 1083 GraphicUsed by:1084
Symbol 1084 MovieClipUses:5 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083Used by:1085
Symbol 1085 MovieClip {coffeeshop_fla.Customer_114}Uses:1053 1064 1073 1084Used by:1191
Symbol 1086 GraphicUsed by:1108
Symbol 1087 GraphicUsed by:1108
Symbol 1088 GraphicUsed by:1108
Symbol 1089 GraphicUsed by:1108
Symbol 1090 GraphicUsed by:1108
Symbol 1091 GraphicUsed by:1108
Symbol 1092 GraphicUsed by:1108
Symbol 1093 GraphicUsed by:1108
Symbol 1094 GraphicUsed by:1108
Symbol 1095 GraphicUsed by:1108
Symbol 1096 GraphicUsed by:1108
Symbol 1097 GraphicUsed by:1108
Symbol 1098 GraphicUsed by:1108
Symbol 1099 GraphicUsed by:1108
Symbol 1100 GraphicUsed by:1108
Symbol 1101 GraphicUsed by:1108
Symbol 1102 GraphicUsed by:1108
Symbol 1103 GraphicUsed by:1108
Symbol 1104 GraphicUsed by:1108
Symbol 1105 GraphicUsed by:1108
Symbol 1106 GraphicUsed by:1108
Symbol 1107 GraphicUsed by:1108
Symbol 1108 MovieClipUses:5 1086 1087 1088 64 65 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107Used by:1109
Symbol 1109 MovieClip {coffeeshop_fla.Customer_119}Uses:1108Used by:1191
Symbol 1110 GraphicUsed by:1127
Symbol 1111 GraphicUsed by:1127
Symbol 1112 GraphicUsed by:1127
Symbol 1113 GraphicUsed by:1127
Symbol 1114 GraphicUsed by:1127
Symbol 1115 GraphicUsed by:1127
Symbol 1116 GraphicUsed by:1127
Symbol 1117 GraphicUsed by:1127
Symbol 1118 GraphicUsed by:1127
Symbol 1119 GraphicUsed by:1127
Symbol 1120 GraphicUsed by:1127
Symbol 1121 GraphicUsed by:1127
Symbol 1122 GraphicUsed by:1127
Symbol 1123 GraphicUsed by:1127
Symbol 1124 GraphicUsed by:1127
Symbol 1125 GraphicUsed by:1127
Symbol 1126 GraphicUsed by:1127
Symbol 1127 MovieClipUses:5 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126Used by:1128
Symbol 1128 MovieClip {coffeeshop_fla.Customer_121}Uses:1127Used by:1191
Symbol 1129 GraphicUsed by:1158
Symbol 1130 GraphicUsed by:1158
Symbol 1131 GraphicUsed by:1158
Symbol 1132 GraphicUsed by:1158
Symbol 1133 GraphicUsed by:1158
Symbol 1134 GraphicUsed by:1158
Symbol 1135 GraphicUsed by:1158
Symbol 1136 GraphicUsed by:1158
Symbol 1137 GraphicUsed by:1158
Symbol 1138 GraphicUsed by:1158
Symbol 1139 GraphicUsed by:1158
Symbol 1140 GraphicUsed by:1158
Symbol 1141 GraphicUsed by:1158 1294
Symbol 1142 GraphicUsed by:1158 1294
Symbol 1143 GraphicUsed by:1158
Symbol 1144 GraphicUsed by:1158
Symbol 1145 GraphicUsed by:1158
Symbol 1146 GraphicUsed by:1158
Symbol 1147 GraphicUsed by:1158
Symbol 1148 GraphicUsed by:1158 1294
Symbol 1149 GraphicUsed by:1158 1294
Symbol 1150 GraphicUsed by:1158
Symbol 1151 GraphicUsed by:1158
Symbol 1152 GraphicUsed by:1158
Symbol 1153 GraphicUsed by:1158
Symbol 1154 GraphicUsed by:1158
Symbol 1155 GraphicUsed by:1158
Symbol 1156 GraphicUsed by:1158
Symbol 1157 GraphicUsed by:1158
Symbol 1158 MovieClipUses:5 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 96 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157Used by:1159
Symbol 1159 MovieClip {coffeeshop_fla.Customer_123}Uses:1158Used by:1191
Symbol 1160 GraphicUsed by:1189
Symbol 1161 GraphicUsed by:1189
Symbol 1162 GraphicUsed by:1189
Symbol 1163 GraphicUsed by:1189
Symbol 1164 GraphicUsed by:1189
Symbol 1165 GraphicUsed by:1189
Symbol 1166 GraphicUsed by:1189
Symbol 1167 GraphicUsed by:1189
Symbol 1168 GraphicUsed by:1189
Symbol 1169 GraphicUsed by:1189
Symbol 1170 GraphicUsed by:1189
Symbol 1171 GraphicUsed by:1189
Symbol 1172 GraphicUsed by:1189
Symbol 1173 GraphicUsed by:1189
Symbol 1174 GraphicUsed by:1189
Symbol 1175 GraphicUsed by:1189
Symbol 1176 GraphicUsed by:1189
Symbol 1177 GraphicUsed by:1189
Symbol 1178 GraphicUsed by:1189
Symbol 1179 GraphicUsed by:1189
Symbol 1180 GraphicUsed by:1189
Symbol 1181 GraphicUsed by:1189
Symbol 1182 GraphicUsed by:1189
Symbol 1183 GraphicUsed by:1189
Symbol 1184 GraphicUsed by:1189
Symbol 1185 GraphicUsed by:1189
Symbol 1186 GraphicUsed by:1189
Symbol 1187 GraphicUsed by:1189
Symbol 1188 GraphicUsed by:1189
Symbol 1189 MovieClipUses:5 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188Used by:1190
Symbol 1190 MovieClip {coffeeshop_fla.Customer_125}Uses:1189Used by:1191
Symbol 1191 MovieClip {CCustomerPreppie}Uses:1041 1044 1085 1109 1128 1159 1190Used by:1577
Symbol 1192 MovieClipUses:310Used by:1328
Symbol 1193 GraphicUsed by:1198
Symbol 1194 GraphicUsed by:1198
Symbol 1195 GraphicUsed by:1198
Symbol 1196 GraphicUsed by:1198
Symbol 1197 GraphicUsed by:1198
Symbol 1198 MovieClipUses:1193 301 1194 1195 1196 1197Used by:1199
Symbol 1199 MovieClip {coffeeshop_fla.Customer_129}Uses:1198Used by:1328
Symbol 1200 GraphicUsed by:1208
Symbol 1201 GraphicUsed by:1208
Symbol 1202 GraphicUsed by:1208
Symbol 1203 GraphicUsed by:1208
Symbol 1204 GraphicUsed by:1208
Symbol 1205 GraphicUsed by:1208
Symbol 1206 GraphicUsed by:1208
Symbol 1207 GraphicUsed by:1208
Symbol 1208 MovieClipUses:301 1200 1201 1202 1203 1204 1205 1206 1207Used by:1253
Symbol 1209 GraphicUsed by:1216
Symbol 1210 GraphicUsed by:1216
Symbol 1211 GraphicUsed by:1216
Symbol 1212 GraphicUsed by:1216
Symbol 1213 GraphicUsed by:1216
Symbol 1214 GraphicUsed by:1216
Symbol 1215 GraphicUsed by:1216
Symbol 1216 MovieClipUses:1209 301 1210 1211 1212 1213 1214 1215Used by:1253
Symbol 1217 GraphicUsed by:1225
Symbol 1218 GraphicUsed by:1225
Symbol 1219 GraphicUsed by:1225
Symbol 1220 GraphicUsed by:1225
Symbol 1221 GraphicUsed by:1225
Symbol 1222 GraphicUsed by:1225
Symbol 1223 GraphicUsed by:1225
Symbol 1224 GraphicUsed by:1225
Symbol 1225 MovieClipUses:301 1217 1218 1219 1220 1221 1222 1223 1224Used by:1253
Symbol 1226 GraphicUsed by:1252 1268 1277 1294 1326
Symbol 1227 GraphicUsed by:1252
Symbol 1228 GraphicUsed by:1252
Symbol 1229 GraphicUsed by:1252
Symbol 1230 GraphicUsed by:1252
Symbol 1231 GraphicUsed by:1252
Symbol 1232 GraphicUsed by:1252
Symbol 1233 GraphicUsed by:1252
Symbol 1234 GraphicUsed by:1252
Symbol 1235 GraphicUsed by:1252
Symbol 1236 GraphicUsed by:1252
Symbol 1237 GraphicUsed by:1252
Symbol 1238 GraphicUsed by:1252
Symbol 1239 GraphicUsed by:1252
Symbol 1240 GraphicUsed by:1252
Symbol 1241 GraphicUsed by:1252
Symbol 1242 GraphicUsed by:1252
Symbol 1243 GraphicUsed by:1252
Symbol 1244 GraphicUsed by:1252
Symbol 1245 GraphicUsed by:1252
Symbol 1246 GraphicUsed by:1252
Symbol 1247 GraphicUsed by:1252
Symbol 1248 GraphicUsed by:1252
Symbol 1249 GraphicUsed by:1252
Symbol 1250 GraphicUsed by:1252
Symbol 1251 GraphicUsed by:1252
Symbol 1252 MovieClipUses:301 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251Used by:1253
Symbol 1253 MovieClip {coffeeshop_fla.Customer_131}Uses:1208 1216 1225 1252Used by:1328
Symbol 1254 GraphicUsed by:1268
Symbol 1255 GraphicUsed by:1268
Symbol 1256 GraphicUsed by:1268
Symbol 1257 GraphicUsed by:1268
Symbol 1258 GraphicUsed by:1268
Symbol 1259 GraphicUsed by:1268
Symbol 1260 GraphicUsed by:1268
Symbol 1261 GraphicUsed by:1268
Symbol 1262 GraphicUsed by:1268
Symbol 1263 GraphicUsed by:1268
Symbol 1264 GraphicUsed by:1268
Symbol 1265 GraphicUsed by:1268
Symbol 1266 GraphicUsed by:1268
Symbol 1267 GraphicUsed by:1268
Symbol 1268 MovieClipUses:301 1254 1255 1226 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267Used by:1269
Symbol 1269 MovieClip {coffeeshop_fla.Customer_136}Uses:1268Used by:1328
Symbol 1270 GraphicUsed by:1277
Symbol 1271 GraphicUsed by:1277
Symbol 1272 GraphicUsed by:1277
Symbol 1273 GraphicUsed by:1277
Symbol 1274 GraphicUsed by:1277
Symbol 1275 GraphicUsed by:1277
Symbol 1276 GraphicUsed by:1277
Symbol 1277 MovieClipUses:301 1226 1270 1271 1272 1273 1274 1275 1276Used by:1278
Symbol 1278 MovieClip {coffeeshop_fla.Customer_138}Uses:1277Used by:1328
Symbol 1279 GraphicUsed by:1294
Symbol 1280 GraphicUsed by:1294
Symbol 1281 GraphicUsed by:1294
Symbol 1282 GraphicUsed by:1294
Symbol 1283 GraphicUsed by:1294
Symbol 1284 GraphicUsed by:1294
Symbol 1285 GraphicUsed by:1294
Symbol 1286 GraphicUsed by:1294
Symbol 1287 GraphicUsed by:1294
Symbol 1288 GraphicUsed by:1294
Symbol 1289 GraphicUsed by:1294
Symbol 1290 GraphicUsed by:1294
Symbol 1291 GraphicUsed by:1294
Symbol 1292 GraphicUsed by:1294
Symbol 1293 GraphicUsed by:1294
Symbol 1294 MovieClipUses:301 1226 1279 1280 1281 1282 1283 1141 1142 1284 1285 1286 1287 1288 1148 1289 1149 1290 1291 1292 1293Used by:1295
Symbol 1295 MovieClip {coffeeshop_fla.Customer_140}Uses:1294Used by:1328
Symbol 1296 GraphicUsed by:1326
Symbol 1297 GraphicUsed by:1326
Symbol 1298 GraphicUsed by:1326
Symbol 1299 GraphicUsed by:1326
Symbol 1300 GraphicUsed by:1326
Symbol 1301 GraphicUsed by:1326
Symbol 1302 GraphicUsed by:1326
Symbol 1303 GraphicUsed by:1326
Symbol 1304 GraphicUsed by:1326
Symbol 1305 GraphicUsed by:1326
Symbol 1306 GraphicUsed by:1326
Symbol 1307 GraphicUsed by:1326
Symbol 1308 GraphicUsed by:1326
Symbol 1309 GraphicUsed by:1326
Symbol 1310 GraphicUsed by:1326
Symbol 1311 GraphicUsed by:1326
Symbol 1312 GraphicUsed by:1326
Symbol 1313 GraphicUsed by:1326
Symbol 1314 GraphicUsed by:1326
Symbol 1315 GraphicUsed by:1326
Symbol 1316 GraphicUsed by:1326
Symbol 1317 GraphicUsed by:1326
Symbol 1318 GraphicUsed by:1326
Symbol 1319 GraphicUsed by:1326
Symbol 1320 GraphicUsed by:1326
Symbol 1321 GraphicUsed by:1326
Symbol 1322 GraphicUsed by:1326
Symbol 1323 GraphicUsed by:1326
Symbol 1324 GraphicUsed by:1326
Symbol 1325 GraphicUsed by:1326
Symbol 1326 MovieClipUses:301 1226 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325Used by:1327
Symbol 1327 MovieClip {coffeeshop_fla.Customer_142}Uses:1326Used by:1328
Symbol 1328 MovieClip {CCustomer}Uses:1192 1199 1253 1269 1278 1295 1327Used by:1577
Symbol 1329 MovieClipUsed by:1346
Symbol 1330 GraphicUsed by:1334
Symbol 1331 GraphicUsed by:1334 1338 1342
Symbol 1332 GraphicUsed by:1334
Symbol 1333 GraphicUsed by:1334
Symbol 1334 MovieClip {CButtonLeaderboardExtreme}Uses:1330 1331 1332 1333Used by:1346 1577
Symbol 1335 GraphicUsed by:1338
Symbol 1336 GraphicUsed by:1338
Symbol 1337 GraphicUsed by:1338
Symbol 1338 MovieClip {CButtonLeaderboard}Uses:1335 1331 1336 1337Used by:1346 1577
Symbol 1339 GraphicUsed by:1342
Symbol 1340 GraphicUsed by:1342
Symbol 1341 GraphicUsed by:1342
Symbol 1342 MovieClip {CButtonLeaderboardStar}Uses:1339 1331 1340 1341Used by:1346 1577
Symbol 1343 TextUses:1Used by:1346
Symbol 1344 TextUses:1Used by:1346
Symbol 1345 TextUses:1Used by:1346
Symbol 1346 MovieClip {CLeaderboardDisplay}Uses:1329 1334 1338 1342 1343 1344 1345Used by:1380 1577
Symbol 1347 GraphicUsed by:1352
Symbol 1348 EditableTextUses:1Used by:1352
Symbol 1349 GraphicUsed by:1350
Symbol 1350 MovieClipUses:1349Used by:1352
Symbol 1351 GraphicUsed by:1352
Symbol 1352 MovieClip {CLeaderboardWaitBox}Uses:1347 1348 441 1350 1351Used by:1361
Symbol 1353 GraphicUsed by:1360
Symbol 1354 TextUses:1Used by:1360
Symbol 1355 GraphicUsed by:1358
Symbol 1356 GraphicUsed by:1358
Symbol 1357 GraphicUsed by:1358
Symbol 1358 MovieClip {CButtonLeaderboardClose}Uses:1355 1356 1357Used by:1360 1577
Symbol 1359 EditableTextUses:1Used by:1360
Symbol 1360 MovieClip {CLeaderboardErrorBox}Uses:1353 1354 1358 1359Used by:1361 1577
Symbol 1361 MovieClip {CLeaderboardErrorWaitDisplay}Uses:1352 1360Used by:1577  Timeline
Symbol 1362 GraphicUsed by:1366
Symbol 1363 EditableTextUses:1Used by:1366
Symbol 1364 EditableTextUses:1Used by:1366
Symbol 1365 EditableTextUses:1Used by:1366
Symbol 1366 MovieClip {CLeaderboardRow}Uses:1362 1363 1364 1365Used by:1577
Symbol 1367 GraphicUsed by:1374 1380 1428 1474
Symbol 1368 TextUses:297Used by:1374
Symbol 1369 GraphicUsed by:1374
Symbol 1370 TextUses:297Used by:1374
Symbol 1371 TextUses:297Used by:1374
Symbol 1372 EditableTextUses:1 347Used by:1374
Symbol 1373 EditableTextUses:1Used by:1374
Symbol 1374 MovieClip {CMenuEnterHighScore}Uses:1367 1368 1369 1370 1371 372 1372 1373Used by:1577  Timeline
Symbol 1375 TextUses:297Used by:1380
Symbol 1376 GraphicUsed by:1380
Symbol 1377 FontUsed by:1378 1379 1426 1427 1460 1472
Symbol 1378 EditableTextUses:1377 1459Used by:1380
Symbol 1379 TextUses:1377Used by:1380
Symbol 1380 MovieClip {CMenuHighScores}Uses:1367 1375 1376 1346 1378 1379Used by:1577
Symbol 1381 GraphicUsed by:1382
Symbol 1382 MovieClipUses:1381Used by:1393 1395 1396 1398
Symbol 1383 GraphicUsed by:1384
Symbol 1384 MovieClipUses:1383Used by:1393 1395 1396 1398
Symbol 1385 GraphicUsed by:1386
Symbol 1386 MovieClipUses:1385Used by:1393 1395 1396 1398
Symbol 1387 GraphicUsed by:1388
Symbol 1388 MovieClipUses:1387Used by:1393 1395 1396 1398
Symbol 1389 GraphicUsed by:1390
Symbol 1390 MovieClipUses:1389Used by:1393 1395 1396 1398
Symbol 1391 GraphicUsed by:1392
Symbol 1392 MovieClipUses:1391Used by:1393 1395 1396 1398
Symbol 1393 MovieClipUses:1382 1384 1386 1388 1390 1392Used by:1399
Symbol 1394 GraphicUsed by:1395
Symbol 1395 MovieClipUses:1382 1384 1386 1388 1390 1392 1394Used by:1399
Symbol 1396 MovieClipUses:1382 1384 1386 1388 1390 1392Used by:1399
Symbol 1397 GraphicUsed by:1398
Symbol 1398 MovieClipUses:1382 1384 1386 1388 1390 1392 1397Used by:1399
Symbol 1399 MovieClip {coffeeshop_fla.allbackgrounds_197}Uses:1393 1395 1396 1398Used by:1419
Symbol 1400 GraphicUsed by:1419
Symbol 1401 GraphicUsed by:1405
Symbol 1402 FontUsed by:1403 1404
Symbol 1403 TextUses:1402Used by:1405
Symbol 1404 TextUses:1402Used by:1405
Symbol 1405 MovieClipUses:1401 1403 1404Used by:1419
Symbol 1406 EditableTextUses:297Used by:1419
Symbol 1407 GraphicUsed by:1419
Symbol 1408 GraphicUsed by:1413
Symbol 1409 GraphicUsed by:1410
Symbol 1410 MovieClipUses:1409Used by:1411
Symbol 1411 MovieClipUses:1410Used by:1412
Symbol 1412 MovieClipUses:1411Used by:1413
Symbol 1413 MovieClipUses:1408 1412Used by:1419
Symbol 1414 BitmapUsed by:1415
Symbol 1415 GraphicUses:1414Used by:1416
Symbol 1416 MovieClipUses:1415Used by:1417
Symbol 1417 MovieClipUses:1416Used by:1418
Symbol 1418 MovieClipUses:402 1417Used by:1419
Symbol 1419 MovieClip {CSceneReal}Uses:1399 1400 1405 1406 425 1407 1413 1418Used by:1420
Symbol 1420 MovieClip {CScene}Uses:1419Used by:1554 1577
Symbol 1421 FontUsed by:1422
Symbol 1422 TextUses:1421Used by:1428
Symbol 1423 GraphicUsed by:1428
Symbol 1424 TextUses:297Used by:1428
Symbol 1425 GraphicUsed by:1428
Symbol 1426 TextUses:1377Used by:1428
Symbol 1427 EditableTextUses:1377 1459Used by:1428
Symbol 1428 MovieClip {CMenuCredits}Uses:1367 1422 1423 1424 1425 1426 1427Used by:1577
Symbol 1429 GraphicUsed by:1430
Symbol 1430 MovieClipUses:1429Used by:1436
Symbol 1431 GraphicUsed by:1436
Symbol 1432 EditableTextUses:297Used by:1436
Symbol 1433 GraphicUsed by:1436
Symbol 1434 GraphicUsed by:1436
Symbol 1435 GraphicUsed by:1436
Symbol 1436 MovieClip {CButtonPlay}Uses:1430 366 1431 1432 1433 1434 1435Used by:1456 1577
Symbol 1437 GraphicUsed by:1446
Symbol 1438 GraphicUsed by:1439
Symbol 1439 MovieClipUses:1438Used by:1440
Symbol 1440 MovieClipUses:1439Used by:1441 1443
Symbol 1441 MovieClipUses:1440Used by:1444
Symbol 1442 GraphicUsed by:1443
Symbol 1443 MovieClipUses:1442 1440Used by:1444
Symbol 1444 MovieClip {coffeeshop_fla.Logo_221}Uses:1441 1443Used by:1446
Symbol 1445 GraphicUsed by:1446
Symbol 1446 MovieClip {CCoffeeLogo}Uses:1437 1444 1445Used by:1456
Symbol 1447 TextUses:297Used by:1456
Symbol 1448 TextUses:297Used by:1456
Symbol 1449 GraphicUsed by:1453
Symbol 1450 GraphicUsed by:1453
Symbol 1451 GraphicUsed by:1453
Symbol 1452 GraphicUsed by:1453
Symbol 1453 MovieClip {CButtonBack}Uses:1449 1450 1451 1452Used by:1456 1577
Symbol 1454 MovieClipUsed by:1456
Symbol 1455 EditableTextUses:297Used by:1456
Symbol 1456 MovieClip {CMenuIntro}Uses:291 425 372 1436 359 362 365 1446 1447 1448 1453 1454 1455Used by:1577  Timeline
Symbol 1457 TextUses:297Used by:1474
Symbol 1458 GraphicUsed by:1474
Symbol 1459 FontUsed by:1378 1427 1460 1462 1472
Symbol 1460 TextUses:1377 1459Used by:1474
Symbol 1461 EditableTextUses:297Used by:1474
Symbol 1462 TextUses:1459Used by:1474
Symbol 1463 EditableTextUses:297Used by:1464
Symbol 1464 MovieClip {CButtonPlayCommit}Uses:355 366 367 1463 369 370 371Used by:1474 1577
Symbol 1465 GraphicUsed by:1467
Symbol 1466 GraphicUsed by:1467
Symbol 1467 MovieClipUses:1465 1466Used by:1473
Symbol 1468 FontUsed by:1469
Symbol 1469 TextUses:1468Used by:1470
Symbol 1470 MovieClipUses:1469Used by:1473
Symbol 1471 GraphicUsed by:1473
Symbol 1472 EditableTextUses:1377 1459Used by:1473
Symbol 1473 MovieClip {CCheckbox}Uses:402 1467 1470 1471 1472Used by:1474 1522 1577
Symbol 1474 MovieClip {CMenuPlayOptions}Uses:1367 1457 1458 1460 1461 1462 1464 1473Used by:1577
Symbol 1475 GraphicUsed by:1476
Symbol 1476 MovieClip {mcSymbolCoffee}Uses:1475Used by:1577
Symbol 1477 GraphicUsed by:1478
Symbol 1478 MovieClip {mcSymbolDecrease}Uses:1477Used by:1577
Symbol 1479 GraphicUsed by:1480
Symbol 1480 MovieClip {mcSymbolIncrease}Uses:1479Used by:1577
Symbol 1481 GraphicUsed by:1482
Symbol 1482 MovieClip {mcSymbolMilk}Uses:1481Used by:1577
Symbol 1483 GraphicUsed by:1484
Symbol 1484 MovieClipUses:1483Used by:1485
Symbol 1485 MovieClip {mcSymbolPrice}Uses:1484Used by:1577
Symbol 1486 GraphicUsed by:1487
Symbol 1487 MovieClip {mcSymbolSugar}Uses:1486Used by:1577
Symbol 1488 GraphicUsed by:1489
Symbol 1489 MovieClip {mcSymbolThumbsUp}Uses:1488Used by:1577
Symbol 1490 GraphicUsed by:1491
Symbol 1491 MovieClip {mcSymbolWeather}Uses:1490Used by:1577
Symbol 1492 GraphicUsed by:1493
Symbol 1493 MovieClipUses:1492Used by:1494
Symbol 1494 MovieClip {mcSymbolWeatherCold}Uses:1493Used by:1577
Symbol 1495 GraphicUsed by:1496
Symbol 1496 MovieClip {mcSymbolYuck}Uses:1495Used by:1577
Symbol 1497 GraphicUsed by:1498
Symbol 1498 MovieClipUses:1497Used by:1501
Symbol 1499 GraphicUsed by:1500
Symbol 1500 MovieClipUses:1499Used by:1501
Symbol 1501 MovieClip {CThoughtBubble}Uses:1498 1500Used by:1577
Symbol 1502 GraphicUsed by:1503
Symbol 1503 MovieClipUses:1502Used by:1506
Symbol 1504 GraphicUsed by:1505
Symbol 1505 MovieClipUses:1504Used by:1506
Symbol 1506 MovieClip {CThoughtBubbleConsideration}Uses:1503 1505Used by:1577
Symbol 1507 GraphicUsed by:1512
Symbol 1508 EditableTextUses:297Used by:1512
Symbol 1509 GraphicUsed by:1512
Symbol 1510 GraphicUsed by:1512
Symbol 1511 GraphicUsed by:1512
Symbol 1512 MovieClip {CButtonTutorialBack}Uses:1507 1508 1509 1510 1511Used by:1522 1577
Symbol 1513 GraphicUsed by:1518
Symbol 1514 EditableTextUses:297Used by:1518
Symbol 1515 GraphicUsed by:1518
Symbol 1516 GraphicUsed by:1518
Symbol 1517 GraphicUsed by:1518
Symbol 1518 MovieClip {CButtonTutorialNext}Uses:1513 1514 1515 1516 1517Used by:1522 1525 1577
Symbol 1519 MovieClip {CTutorial}Used by:1554 1577
Symbol 1520 GraphicUsed by:1522
Symbol 1521 EditableTextUses:297Used by:1522
Symbol 1522 MovieClip {CTutorialBook}Uses:1520 1473 1518 1512 1521Used by:1577
Symbol 1523 GraphicUsed by:1525
Symbol 1524 EditableTextUses:1 347Used by:1525
Symbol 1525 MovieClip {CTutorialCallout}Uses:1523 1518 1524Used by:1577
Symbol 1526 EditableTextUses:1 347Used by:1528
Symbol 1527 EditableTextUses:297Used by:1528
Symbol 1528 MovieClip {CTutorialPage}Uses:1526 1527Used by:1577
Symbol 1529 GraphicUsed by:1535
Symbol 1530 EditableTextUses:1Used by:1535
Symbol 1531 EditableTextUses:1Used by:1535
Symbol 1532 EditableTextUses:1Used by:1535
Symbol 1533 GraphicUsed by:1535
Symbol 1534 GraphicUsed by:1535
Symbol 1535 MovieClip {CButtonBuy}Uses:1529 1530 1531 1532 1533 1534Used by:1577
Symbol 1536 GraphicUsed by:1538
Symbol 1537 GraphicUsed by:1538
Symbol 1538 MovieClipUses:1536 1537Used by:1544
Symbol 1539 GraphicUsed by:1544
Symbol 1540 EditableTextUses:1 347Used by:1544
Symbol 1541 GraphicUsed by:1544
Symbol 1542 GraphicUsed by:1544
Symbol 1543 GraphicUsed by:1544
Symbol 1544 MovieClip {CButtonStatFolder}Uses:1538 1539 1540 1541 1542 1543Used by:1577
Symbol 1545 GraphicUsed by:1547
Symbol 1546 GraphicUsed by:1547
Symbol 1547 MovieClipUses:1545 1546Used by:1553
Symbol 1548 GraphicUsed by:1553
Symbol 1549 EditableTextUses:1 347Used by:1553
Symbol 1550 GraphicUsed by:1553
Symbol 1551 GraphicUsed by:1553
Symbol 1552 GraphicUsed by:1553
Symbol 1553 MovieClip {CButtonGraphStatToggle}Uses:1547 1548 1549 1550 1551 1552Used by:1577
Symbol 1554 MovieClip {CCoffeeShopGame}Uses:1420 520 1519Used by:1577  Timeline
Symbol 1555 Sound {ambient_fair}Used by:1577
Symbol 1556 Sound {ambient_rainy}Used by:1577
Symbol 1557 Sound {ambient_cold}Used by:1577
Symbol 1558 Sound {audio_gain}Used by:1577
Symbol 1559 Sound {audio_pay}Used by:1577
Symbol 1560 Sound {music_menu}Used by:1577
Symbol 1561 Sound {consideration_bad}Used by:1577
Symbol 1562 Sound {consideration_good}Used by:1577
Symbol 1563 Sound {reaction_middling}Used by:1577
Symbol 1564 Sound {menu_button_beep1}Used by:1577
Symbol 1565 Sound {menu_button_beep2}Used by:1577
Symbol 1566 Sound {music_bold}Used by:1577
Symbol 1567 Sound {music_calm}Used by:1577
Symbol 1568 Sound {purchase}Used by:1577
Symbol 1569 Sound {reaction_displeased}Used by:1577
Symbol 1570 Sound {reaction_pleased}Used by:1577
Symbol 1571 Sound {morning}Used by:1577
Symbol 1572 Sound {reaction_vomit0}Used by:1577
Symbol 1573 Sound {reaction_vomit1}Used by:1577
Symbol 1574 Sound {reaction_vomit2}Used by:1577
Symbol 1575 Sound {reaction_vomit3}Used by:1577
Symbol 1576 Sound {reaction_vomit4}Used by:1577
Symbol 1577 MovieClip {coffeeshop_fla.Precacher_13}Uses:351 373 375 520 526 715 880 1040 1191 1328 289 144 1346 1361 1366 1374 1380 1360 1338 1334 1342 1358 1420 1428 1456 1474 1476 1478 1480 1482 1485 405 1487 1489 1491 1494 1496 1501 1506 1512 1518 1519 1522 1525 1528 1453 1535 518 372 1436 1464 486 421 1544 1553 484 1473 467 439 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576Used by:Timeline
Symbol 1578 EditableTextUses:347Used by:Timeline
Symbol 1579 EditableTextUses:1 347Used by:Timeline

Instance Names

"_textVersion"Frame 1Symbol 349 EditableText
"_gameLoader"Frame 6Symbol 345 MovieClip {CCoffeeLoader}
"_menuIntro"Frame 9Symbol 1456 MovieClip {CMenuIntro}
"_errorAndWaitDisplay"Frame 9Symbol 1361 MovieClip {CLeaderboardErrorWaitDisplay}
"_textVersion"Frame 9Symbol 1578 EditableText
"_game"Frame 10Symbol 1554 MovieClip {CCoffeeShopGame}
"_submitHighScore"Frame 50Symbol 1374 MovieClip {CMenuEnterHighScore}
"_myText"Symbol 3 MovieClip {CFreshText} Frame 1Symbol 2 EditableText
"_attractMode"Symbol 345 MovieClip {CCoffeeLoader} Frame 1Symbol 338 MovieClip
"_cup"Symbol 345 MovieClip {CCoffeeLoader} Frame 1Symbol 343 MovieClip
"_waftingBackground"Symbol 372 MovieClip {CButtonMenu} Frame 1Symbol 366 MovieClip
"_myText"Symbol 372 MovieClip {CButtonMenu} Frame 1Symbol 368 EditableText
"_buttonYes"Symbol 373 MovieClip {CQuitConfirm} Frame 1Symbol 372 MovieClip {CButtonMenu}
"_buttonNo"Symbol 373 MovieClip {CQuitConfirm} Frame 1Symbol 372 MovieClip {CButtonMenu}
"_textDescription"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 1Symbol 378 EditableText
"_textTemperature"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 1Symbol 379 EditableText
"_textDegreesSymbol"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 1Symbol 380 EditableText
"_textTime"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 1Symbol 383 EditableText
"_textDayNumber"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 1Symbol 384 EditableText
"_textDescription"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 13Symbol 386 EditableText
"_textTemperature"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 13Symbol 387 EditableText
"_textDegreesSymbol"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 13Symbol 388 EditableText
"_textTime"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 13Symbol 390 EditableText
"_textDayNumber"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 13Symbol 391 EditableText
"_textDescription"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 25Symbol 392 EditableText
"_textTemperature"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 25Symbol 393 EditableText
"_textDegreesSymbol"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 25Symbol 394 EditableText
"_textTime"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 25Symbol 396 EditableText
"_textDayNumber"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 25Symbol 397 EditableText
"_barReputation"Symbol 406 MovieClip {CHUDReputationDisplay} Frame 1Symbol 403 MovieClip
"_textCash"Symbol 411 MovieClip {CHUDCashDisplay} Frame 1Symbol 408 EditableText
"_myText"Symbol 421 MovieClip {CButtonStartTheDay} Frame 1Symbol 414 EditableText
"_graph"Symbol 426 MovieClip {CHUDPreparingStats} Frame 1Symbol 375 MovieClip {CGraph}
"_textHorizontalUnit"Symbol 426 MovieClip {CHUDPreparingStats} Frame 1Symbol 423 EditableText
"_noDataMessage"Symbol 426 MovieClip {CHUDPreparingStats} Frame 1Symbol 424 EditableText
"_buttonHost"Symbol 426 MovieClip {CHUDPreparingStats} Frame 1Symbol 425 MovieClip
"_myText"Symbol 438 MovieClip {CSliderHandlePrice} Frame 1Symbol 434 EditableText
"_textMinima"Symbol 439 MovieClip {CSliderPrice} Frame 1Symbol 429 EditableText
"_textMaxima"Symbol 439 MovieClip {CSliderPrice} Frame 1Symbol 430 EditableText
"_textMinimaDescrip"Symbol 439 MovieClip {CSliderPrice} Frame 1Symbol 431 EditableText
"_textMaximaDescrip"Symbol 439 MovieClip {CSliderPrice} Frame 1Symbol 432 EditableText
"_handle"Symbol 439 MovieClip {CSliderPrice} Frame 1Symbol 438 MovieClip {CSliderHandlePrice}
"_textAmtCups"Symbol 453 MovieClip {CHUDPreparingAdjustmentsInventory} Frame 1Symbol 447 EditableText
"_textAmtCoffee"Symbol 453 MovieClip {CHUDPreparingAdjustmentsInventory} Frame 1Symbol 449 EditableText
"_textAmtMilk"Symbol 453 MovieClip {CHUDPreparingAdjustmentsInventory} Frame 1Symbol 451 EditableText
"_textAmtSugar"Symbol 453 MovieClip {CHUDPreparingAdjustmentsInventory} Frame 1Symbol 452 EditableText
"_myText"Symbol 466 MovieClip {CSliderHandle} Frame 1Symbol 465 EditableText
"_textMinima"Symbol 467 MovieClip {CSlider} Frame 1Symbol 461 EditableText
"_textMaxima"Symbol 467 MovieClip {CSlider} Frame 1Symbol 462 EditableText
"_textMinimaDescrip"Symbol 467 MovieClip {CSlider} Frame 1Symbol 463 EditableText
"_textMaximaDescrip"Symbol 467 MovieClip {CSlider} Frame 1Symbol 464 EditableText
"_handle"Symbol 467 MovieClip {CSlider} Frame 1Symbol 466 MovieClip {CSliderHandle}
"_textAmtCoffee"Symbol 468 MovieClip {CHUDPreparingAdjustmentsRecipe} Frame 1Symbol 454 EditableText
"_textAmtMilk"Symbol 468 MovieClip {CHUDPreparingAdjustmentsRecipe} Frame 1Symbol 456 EditableText
"_textAmtSugar"Symbol 468 MovieClip {CHUDPreparingAdjustmentsRecipe} Frame 1Symbol 458 EditableText
"_sliderCoffee"Symbol 468 MovieClip {CHUDPreparingAdjustmentsRecipe} Frame 1Symbol 467 MovieClip {CSlider}
"_sliderMilk"Symbol 468 MovieClip {CHUDPreparingAdjustmentsRecipe} Frame 1Symbol 467 MovieClip {CSlider}
"_sliderSugar"Symbol 468 MovieClip {CHUDPreparingAdjustmentsRecipe} Frame 1Symbol 467 MovieClip {CSlider}
"_myText"Symbol 484 MovieClip {CButtonUndoLastPurchase} Frame 1Symbol 480 EditableText
"_myText"Symbol 486 MovieClip {CButtonQuit} Frame 1Symbol 485 EditableText
"_sliderPrice"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 439 MovieClip {CSliderPrice}
"_maskInventory"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 442 MovieClip
"_adjustmentsInventory"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 453 MovieClip {CHUDPreparingAdjustmentsInventory}
"_maskRecipe"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 442 MovieClip
"_adjustmentsRecipe"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 468 MovieClip {CHUDPreparingAdjustmentsRecipe}
"_textNumServingsAvailable"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 474 EditableText
"_textServingLimiter"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 478 EditableText
"_buttonUndoLastPurchase"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 484 MovieClip {CButtonUndoLastPurchase}
"_buttonQuit"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 486 MovieClip {CButtonQuit}
"_divider"Symbol 489 MovieClip {CHUDPreparingAdjustments} Frame 1Symbol 488 MovieClip
"_tabs"Symbol 490 MovieClip {CHUDPreparingPage} Frame 1Symbol 351 MovieClip {CPageTabs}
"_stats"Symbol 490 MovieClip {CHUDPreparingPage} Frame 1Symbol 426 MovieClip {CHUDPreparingStats}
"_adjustments"Symbol 490 MovieClip {CHUDPreparingPage} Frame 1Symbol 489 MovieClip {CHUDPreparingAdjustments}
"_buttonStartTheDay"Symbol 491 MovieClip {CHUDModePreparing} Frame 1Symbol 421 MovieClip {CButtonStartTheDay}
"_page"Symbol 491 MovieClip {CHUDModePreparing} Frame 1Symbol 490 MovieClip {CHUDPreparingPage}
"_quitWarningBox"Symbol 491 MovieClip {CHUDModePreparing} Frame 1Symbol 373 MovieClip {CQuitConfirm}
"_barCups"Symbol 503 MovieClip {CHUDServingInventory} Frame 1Symbol 498 MovieClip
"_textAmtCups"Symbol 503 MovieClip {CHUDServingInventory} Frame 1Symbol 499 EditableText
"_barCoffee"Symbol 503 MovieClip {CHUDServingInventory} Frame 1Symbol 498 MovieClip
"_textAmtCoffee"Symbol 503 MovieClip {CHUDServingInventory} Frame 1Symbol 500 EditableText
"_barMilk"Symbol 503 MovieClip {CHUDServingInventory} Frame 1Symbol 498 MovieClip
"_textAmtMilk"Symbol 503 MovieClip {CHUDServingInventory} Frame 1Symbol 501 EditableText
"_barSugar"Symbol 503 MovieClip {CHUDServingInventory} Frame 1Symbol 498 MovieClip
"_textAmtSugar"Symbol 503 MovieClip {CHUDServingInventory} Frame 1Symbol 502 EditableText
"_textPrice"Symbol 507 MovieClip {CHUDServingPrice} Frame 1Symbol 505 EditableText
"_slider"Symbol 507 MovieClip {CHUDServingPrice} Frame 1Symbol 439 MovieClip {CSliderPrice}
"_inventoryDisplay"Symbol 508 MovieClip {CHUDModeServing} Frame 1Symbol 503 MovieClip {CHUDServingInventory}
"_priceAdjustment"Symbol 508 MovieClip {CHUDModeServing} Frame 1Symbol 507 MovieClip {CHUDServingPrice}
"_myText"Symbol 518 MovieClip {CButtonLeaveEndOfDay} Frame 1Symbol 517 EditableText
"_graph"Symbol 519 MovieClip {CHUDModeEndOfDay} Frame 1Symbol 375 MovieClip {CGraph}
"_buttonHost"Symbol 519 MovieClip {CHUDModeEndOfDay} Frame 1Symbol 425 MovieClip
"_textHorizontalUnit"Symbol 519 MovieClip {CHUDModeEndOfDay} Frame 1Symbol 510 EditableText
"_textTemperature"Symbol 519 MovieClip {CHUDModeEndOfDay} Frame 1Symbol 512 EditableText
"_textSummary"Symbol 519 MovieClip {CHUDModeEndOfDay} Frame 1Symbol 513 EditableText
"_textSpoilage"Symbol 519 MovieClip {CHUDModeEndOfDay} Frame 1Symbol 514 EditableText
"_textTitle"Symbol 519 MovieClip {CHUDModeEndOfDay} Frame 1Symbol 516 EditableText
"_buttonContinue"Symbol 519 MovieClip {CHUDModeEndOfDay} Frame 1Symbol 518 MovieClip {CButtonLeaveEndOfDay}
"_weatherDisplay"Symbol 520 MovieClip {CHUD} Frame 1Symbol 398 MovieClip {CHUDWeatherDisplay}
"_reputationDisplay"Symbol 520 MovieClip {CHUD} Frame 1Symbol 406 MovieClip {CHUDReputationDisplay}
"_cashDisplay"Symbol 520 MovieClip {CHUD} Frame 1Symbol 411 MovieClip {CHUDCashDisplay}
"_modePreparing"Symbol 520 MovieClip {CHUD} Frame 1Symbol 491 MovieClip {CHUDModePreparing}
"_modeServing"Symbol 520 MovieClip {CHUD} Frame 1Symbol 508 MovieClip {CHUDModeServing}
"_modeEndOfDay"Symbol 520 MovieClip {CHUD} Frame 1Symbol 519 MovieClip {CHUDModeEndOfDay}
"_myText"Symbol 526 MovieClip {CHUDTab} Frame 1Symbol 522 EditableText
"mc_scoreTableHost"Symbol 1346 MovieClip {CLeaderboardDisplay} Frame 1Symbol 1329 MovieClip
"btn_home"Symbol 1346 MovieClip {CLeaderboardDisplay} Frame 1Symbol 1334 MovieClip {CButtonLeaderboardExtreme}
"btn_end"Symbol 1346 MovieClip {CLeaderboardDisplay} Frame 1Symbol 1334 MovieClip {CButtonLeaderboardExtreme}
"btn_pageUp"Symbol 1346 MovieClip {CLeaderboardDisplay} Frame 1Symbol 1338 MovieClip {CButtonLeaderboard}
"btn_pageDown"Symbol 1346 MovieClip {CLeaderboardDisplay} Frame 1Symbol 1338 MovieClip {CButtonLeaderboard}
"btn_me"Symbol 1346 MovieClip {CLeaderboardDisplay} Frame 1Symbol 1342 MovieClip {CButtonLeaderboardStar}
"_textWaitMessage"Symbol 1352 MovieClip {CLeaderboardWaitBox} Frame 1Symbol 1348 EditableText
"btn_close"Symbol 1360 MovieClip {CLeaderboardErrorBox} Frame 1Symbol 1358 MovieClip {CButtonLeaderboardClose}
"_textError"Symbol 1360 MovieClip {CLeaderboardErrorBox} Frame 1Symbol 1359 EditableText
"_waitBox"Symbol 1361 MovieClip {CLeaderboardErrorWaitDisplay} Frame 1Symbol 1352 MovieClip {CLeaderboardWaitBox}
"_errorBox"Symbol 1361 MovieClip {CLeaderboardErrorWaitDisplay} Frame 1Symbol 1360 MovieClip {CLeaderboardErrorBox}
"_textRank"Symbol 1366 MovieClip {CLeaderboardRow} Frame 1Symbol 1363 EditableText
"_textName"Symbol 1366 MovieClip {CLeaderboardRow} Frame 1Symbol 1364 EditableText
"_textScore"Symbol 1366 MovieClip {CLeaderboardRow} Frame 1Symbol 1365 EditableText
"_buttonSkip"Symbol 1374 MovieClip {CMenuEnterHighScore} Frame 1Symbol 372 MovieClip {CButtonMenu}
"_buttonSubmit"Symbol 1374 MovieClip {CMenuEnterHighScore} Frame 1Symbol 372 MovieClip {CButtonMenu}
"_textScore"Symbol 1374 MovieClip {CMenuEnterHighScore} Frame 1Symbol 1372 EditableText
"_textName"Symbol 1374 MovieClip {CMenuEnterHighScore} Frame 1Symbol 1373 EditableText
"_leaderboardWeekly"Symbol 1380 MovieClip {CMenuHighScores} Frame 1Symbol 1346 MovieClip {CLeaderboardDisplay}
"_leaderboardAllTime"Symbol 1380 MovieClip {CMenuHighScores} Frame 1Symbol 1346 MovieClip {CLeaderboardDisplay}
"_textPeriodTitle"Symbol 1380 MovieClip {CMenuHighScores} Frame 1Symbol 1378 EditableText
"_backdrop"Symbol 1419 MovieClip {CSceneReal} Frame 1Symbol 1399 MovieClip {coffeeshop_fla.allbackgrounds_197}
"_soldOutSign"Symbol 1419 MovieClip {CSceneReal} Frame 1Symbol 1405 MovieClip
"_storeName"Symbol 1419 MovieClip {CSceneReal} Frame 1Symbol 1406 EditableText
"_customerHost"Symbol 1419 MovieClip {CSceneReal} Frame 1Symbol 425 MovieClip
"_weatherRain"Symbol 1419 MovieClip {CSceneReal} Frame 1Symbol 1413 MovieClip
"_weatherSnow"Symbol 1419 MovieClip {CSceneReal} Frame 1Symbol 1418 MovieClip
"_realScene"Symbol 1420 MovieClip {CScene} Frame 1Symbol 1419 MovieClip {CSceneReal}
"_myText"Symbol 1436 MovieClip {CButtonPlay} Frame 1Symbol 1432 EditableText
"_maskA"Symbol 1444 MovieClip {coffeeshop_fla.Logo_221} Frame 1Symbol 1441 MovieClip
"_scrolling"Symbol 1444 MovieClip {coffeeshop_fla.Logo_221} Frame 1Symbol 1443 MovieClip
"_steamA"Symbol 1446 MovieClip {CCoffeeLogo} Frame 1Symbol 1444 MovieClip {coffeeshop_fla.Logo_221}
"_steamB"Symbol 1446 MovieClip {CCoffeeLogo} Frame 1Symbol 1444 MovieClip {coffeeshop_fla.Logo_221}
"_steamC"Symbol 1446 MovieClip {CCoffeeLogo} Frame 1Symbol 1444 MovieClip {coffeeshop_fla.Logo_221}
"_customerHost"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 425 MovieClip
"_buttonCredits"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 372 MovieClip {CButtonMenu}
"_buttonHighScores"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 372 MovieClip {CButtonMenu}
"_buttonMoreGames"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 372 MovieClip {CButtonMenu}
"_buttonPlay"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 1436 MovieClip {CButtonPlay}
"_letterboxLowerB"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 359 MovieClip
"_letterboxLowerD"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 362 MovieClip
"_letterboxLowerA"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 365 MovieClip
"_buttonBack"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 1453 MovieClip {CButtonBack}
"_innerMenuHost"Symbol 1456 MovieClip {CMenuIntro} Frame 1Symbol 1454 MovieClip
"_waftingBackground"Symbol 1464 MovieClip {CButtonPlayCommit} Frame 1Symbol 366 MovieClip
"_myText"Symbol 1464 MovieClip {CButtonPlayCommit} Frame 1Symbol 1463 EditableText
"_myHighlight"Symbol 1473 MovieClip {CCheckbox} Frame 1Symbol 1467 MovieClip
"_myCheck"Symbol 1473 MovieClip {CCheckbox} Frame 1Symbol 1470 MovieClip
"_myText"Symbol 1473 MovieClip {CCheckbox} Frame 1Symbol 1472 EditableText
"_textShopName"Symbol 1474 MovieClip {CMenuPlayOptions} Frame 1Symbol 1461 EditableText
"_buttonPlayCommit"Symbol 1474 MovieClip {CMenuPlayOptions} Frame 1Symbol 1464 MovieClip {CButtonPlayCommit}
"_checkboxShowTutorial"Symbol 1474 MovieClip {CMenuPlayOptions} Frame 1Symbol 1473 MovieClip {CCheckbox}
"_back"Symbol 1501 MovieClip {CThoughtBubble} Frame 1Symbol 1498 MovieClip
"_border"Symbol 1501 MovieClip {CThoughtBubble} Frame 1Symbol 1500 MovieClip
"_back"Symbol 1506 MovieClip {CThoughtBubbleConsideration} Frame 1Symbol 1503 MovieClip
"_border"Symbol 1506 MovieClip {CThoughtBubbleConsideration} Frame 1Symbol 1505 MovieClip
"_myText"Symbol 1512 MovieClip {CButtonTutorialBack} Frame 1Symbol 1508 EditableText
"_myText"Symbol 1518 MovieClip {CButtonTutorialNext} Frame 1Symbol 1514 EditableText
"_checkboxShowTutorial"Symbol 1522 MovieClip {CTutorialBook} Frame 1Symbol 1473 MovieClip {CCheckbox}
"_buttonNext"Symbol 1522 MovieClip {CTutorialBook} Frame 1Symbol 1518 MovieClip {CButtonTutorialNext}
"_buttonBack"Symbol 1522 MovieClip {CTutorialBook} Frame 1Symbol 1512 MovieClip {CButtonTutorialBack}
"_textPageNumber"Symbol 1522 MovieClip {CTutorialBook} Frame 1Symbol 1521 EditableText
"_buttonNext"Symbol 1525 MovieClip {CTutorialCallout} Frame 1Symbol 1518 MovieClip {CButtonTutorialNext}
"_textMessage"Symbol 1525 MovieClip {CTutorialCallout} Frame 1Symbol 1524 EditableText
"_textMessage"Symbol 1528 MovieClip {CTutorialPage} Frame 1Symbol 1526 EditableText
"_textTitle"Symbol 1528 MovieClip {CTutorialPage} Frame 1Symbol 1527 EditableText
"_myText"Symbol 1535 MovieClip {CButtonBuy} Frame 1Symbol 1530 EditableText
"_textCost"Symbol 1535 MovieClip {CButtonBuy} Frame 1Symbol 1531 EditableText
"_textCostPerUnit"Symbol 1535 MovieClip {CButtonBuy} Frame 1Symbol 1532 EditableText
"_background"Symbol 1544 MovieClip {CButtonStatFolder} Frame 1Symbol 1538 MovieClip
"_myText"Symbol 1544 MovieClip {CButtonStatFolder} Frame 1Symbol 1540 EditableText
"_background"Symbol 1553 MovieClip {CButtonGraphStatToggle} Frame 1Symbol 1547 MovieClip
"_myText"Symbol 1553 MovieClip {CButtonGraphStatToggle} Frame 1Symbol 1549 EditableText
"_scene"Symbol 1554 MovieClip {CCoffeeShopGame} Frame 1Symbol 1420 MovieClip {CScene}
"_hud"Symbol 1554 MovieClip {CCoffeeShopGame} Frame 1Symbol 520 MovieClip {CHUD}
"_tutorial"Symbol 1554 MovieClip {CCoffeeShopGame} Frame 1Symbol 1519 MovieClip {CTutorial}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
Protect (24)Timeline Frame 10 bytes ""

Labels

"oldversion"Frame 1
"loaderwait"Frame 6
"intromenu"Frame 9
"game"Frame 10
"game disappear"Frame 35
"enter high score"Frame 50
"hideEnterHighScore"Frame 62
"invaliddomain"Frame 72
"walking"Symbol 144 MovieClip {CCustomerPurseDog} Frame 1
"considering"Symbol 144 MovieClip {CCustomerPurseDog} Frame 2
"consuming"Symbol 144 MovieClip {CCustomerPurseDog} Frame 3
"reaction - pleased"Symbol 144 MovieClip {CCustomerPurseDog} Frame 4
"reaction - middling"Symbol 144 MovieClip {CCustomerPurseDog} Frame 5
"reaction - displeased"Symbol 144 MovieClip {CCustomerPurseDog} Frame 6
"reaction - vomiting"Symbol 144 MovieClip {CCustomerPurseDog} Frame 7
"walking"Symbol 289 MovieClip {CCustomerBizGirl} Frame 1
"considering"Symbol 289 MovieClip {CCustomerBizGirl} Frame 2
"consuming"Symbol 289 MovieClip {CCustomerBizGirl} Frame 3
"reaction - pleased"Symbol 289 MovieClip {CCustomerBizGirl} Frame 4
"reaction - middling"Symbol 289 MovieClip {CCustomerBizGirl} Frame 5
"reaction - displeased"Symbol 289 MovieClip {CCustomerBizGirl} Frame 6
"reaction - vomiting"Symbol 289 MovieClip {CCustomerBizGirl} Frame 7
"disappear"Symbol 345 MovieClip {CCoffeeLoader} Frame 2
"disabled"Symbol 372 MovieClip {CButtonMenu} Frame 1
"out"Symbol 372 MovieClip {CButtonMenu} Frame 2
"over"Symbol 372 MovieClip {CButtonMenu} Frame 3
"down"Symbol 372 MovieClip {CButtonMenu} Frame 4
"maximized"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 1
"minimize"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 2
"minimized"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 13
"maximize"Symbol 398 MovieClip {CHUDWeatherDisplay} Frame 14
"disabled"Symbol 421 MovieClip {CButtonStartTheDay} Frame 1
"out"Symbol 421 MovieClip {CButtonStartTheDay} Frame 2
"over"Symbol 421 MovieClip {CButtonStartTheDay} Frame 3
"down"Symbol 421 MovieClip {CButtonStartTheDay} Frame 4
"disabled"Symbol 438 MovieClip {CSliderHandlePrice} Frame 1
"out"Symbol 438 MovieClip {CSliderHandlePrice} Frame 2
"over"Symbol 438 MovieClip {CSliderHandlePrice} Frame 3
"down"Symbol 438 MovieClip {CSliderHandlePrice} Frame 4
"disabled"Symbol 466 MovieClip {CSliderHandle} Frame 1
"out"Symbol 466 MovieClip {CSliderHandle} Frame 2
"over"Symbol 466 MovieClip {CSliderHandle} Frame 3
"down"Symbol 466 MovieClip {CSliderHandle} Frame 4
"disabled"Symbol 484 MovieClip {CButtonUndoLastPurchase} Frame 1
"out"Symbol 484 MovieClip {CButtonUndoLastPurchase} Frame 2
"over"Symbol 484 MovieClip {CButtonUndoLastPurchase} Frame 3
"down"Symbol 484 MovieClip {CButtonUndoLastPurchase} Frame 4
"disabled"Symbol 486 MovieClip {CButtonQuit} Frame 1
"out"Symbol 486 MovieClip {CButtonQuit} Frame 2
"over"Symbol 486 MovieClip {CButtonQuit} Frame 3
"down"Symbol 486 MovieClip {CButtonQuit} Frame 4
"appear"Symbol 508 MovieClip {CHUDModeServing} Frame 1
"disappear"Symbol 508 MovieClip {CHUDModeServing} Frame 16
"disabled"Symbol 518 MovieClip {CButtonLeaveEndOfDay} Frame 1
"out"Symbol 518 MovieClip {CButtonLeaveEndOfDay} Frame 2
"over"Symbol 518 MovieClip {CButtonLeaveEndOfDay} Frame 3
"down"Symbol 518 MovieClip {CButtonLeaveEndOfDay} Frame 4
"appear"Symbol 520 MovieClip {CHUD} Frame 1
"bald"Symbol 520 MovieClip {CHUD} Frame 15
"bald to preparing"Symbol 520 MovieClip {CHUD} Frame 16
"preparing"Symbol 520 MovieClip {CHUD} Frame 31
"preparing to serving"Symbol 520 MovieClip {CHUD} Frame 32
"serving"Symbol 520 MovieClip {CHUD} Frame 60
"serving to end of day"Symbol 520 MovieClip {CHUD} Frame 61
"end of day"Symbol 520 MovieClip {CHUD} Frame 75
"end of day to preparing"Symbol 520 MovieClip {CHUD} Frame 76
"end of day to disappear"Symbol 520 MovieClip {CHUD} Frame 92
"disappeared"Symbol 520 MovieClip {CHUD} Frame 110
"disabled"Symbol 526 MovieClip {CHUDTab} Frame 1
"out"Symbol 526 MovieClip {CHUDTab} Frame 2
"over"Symbol 526 MovieClip {CHUDTab} Frame 3
"down"Symbol 526 MovieClip {CHUDTab} Frame 4
"walking"Symbol 715 MovieClip {CCustomerFat} Frame 1
"considering"Symbol 715 MovieClip {CCustomerFat} Frame 2
"consuming"Symbol 715 MovieClip {CCustomerFat} Frame 3
"reaction - pleased"Symbol 715 MovieClip {CCustomerFat} Frame 4
"reaction - middling"Symbol 715 MovieClip {CCustomerFat} Frame 5
"reaction - displeased"Symbol 715 MovieClip {CCustomerFat} Frame 6
"reaction - vomiting"Symbol 715 MovieClip {CCustomerFat} Frame 7
"walking"Symbol 880 MovieClip {CCustomerGranny} Frame 1
"considering"Symbol 880 MovieClip {CCustomerGranny} Frame 2
"consuming"Symbol 880 MovieClip {CCustomerGranny} Frame 3
"reaction - pleased"Symbol 880 MovieClip {CCustomerGranny} Frame 4
"reaction - middling"Symbol 880 MovieClip {CCustomerGranny} Frame 5
"reaction - displeased"Symbol 880 MovieClip {CCustomerGranny} Frame 6
"reaction - vomiting"Symbol 880 MovieClip {CCustomerGranny} Frame 7
"walking"Symbol 1040 MovieClip {CCustomerPope} Frame 1
"considering"Symbol 1040 MovieClip {CCustomerPope} Frame 2
"consuming"Symbol 1040 MovieClip {CCustomerPope} Frame 3
"reaction - pleased"Symbol 1040 MovieClip {CCustomerPope} Frame 4
"reaction - middling"Symbol 1040 MovieClip {CCustomerPope} Frame 5
"reaction - displeased"Symbol 1040 MovieClip {CCustomerPope} Frame 6
"reaction - vomiting"Symbol 1040 MovieClip {CCustomerPope} Frame 7
"walking"Symbol 1191 MovieClip {CCustomerPreppie} Frame 1
"considering"Symbol 1191 MovieClip {CCustomerPreppie} Frame 2
"consuming"Symbol 1191 MovieClip {CCustomerPreppie} Frame 3
"reaction - pleased"Symbol 1191 MovieClip {CCustomerPreppie} Frame 4
"reaction - middling"Symbol 1191 MovieClip {CCustomerPreppie} Frame 5
"reaction - displeased"Symbol 1191 MovieClip {CCustomerPreppie} Frame 6
"reaction - vomiting"Symbol 1191 MovieClip {CCustomerPreppie} Frame 7
"walking"Symbol 1328 MovieClip {CCustomer} Frame 1
"considering"Symbol 1328 MovieClip {CCustomer} Frame 2
"consuming"Symbol 1328 MovieClip {CCustomer} Frame 3
"reaction - pleased"Symbol 1328 MovieClip {CCustomer} Frame 4
"reaction - middling"Symbol 1328 MovieClip {CCustomer} Frame 5
"reaction - displeased"Symbol 1328 MovieClip {CCustomer} Frame 6
"reaction - vomiting"Symbol 1328 MovieClip {CCustomer} Frame 7
"out"Symbol 1334 MovieClip {CButtonLeaderboardExtreme} Frame 1
"over"Symbol 1334 MovieClip {CButtonLeaderboardExtreme} Frame 2
"down"Symbol 1334 MovieClip {CButtonLeaderboardExtreme} Frame 3
"out"Symbol 1338 MovieClip {CButtonLeaderboard} Frame 1
"over"Symbol 1338 MovieClip {CButtonLeaderboard} Frame 2
"down"Symbol 1338 MovieClip {CButtonLeaderboard} Frame 3
"out"Symbol 1342 MovieClip {CButtonLeaderboardStar} Frame 1
"over"Symbol 1342 MovieClip {CButtonLeaderboardStar} Frame 2
"down"Symbol 1342 MovieClip {CButtonLeaderboardStar} Frame 3
"out"Symbol 1358 MovieClip {CButtonLeaderboardClose} Frame 1
"over"Symbol 1358 MovieClip {CButtonLeaderboardClose} Frame 2
"down"Symbol 1358 MovieClip {CButtonLeaderboardClose} Frame 3
"fair"Symbol 1399 MovieClip {coffeeshop_fla.allbackgrounds_197} Frame 1
"rainy"Symbol 1399 MovieClip {coffeeshop_fla.allbackgrounds_197} Frame 9
"hot"Symbol 1399 MovieClip {coffeeshop_fla.allbackgrounds_197} Frame 19
"cold"Symbol 1399 MovieClip {coffeeshop_fla.allbackgrounds_197} Frame 30
"disabled"Symbol 1436 MovieClip {CButtonPlay} Frame 1
"out"Symbol 1436 MovieClip {CButtonPlay} Frame 2
"over"Symbol 1436 MovieClip {CButtonPlay} Frame 3
"down"Symbol 1436 MovieClip {CButtonPlay} Frame 4
"disabled"Symbol 1453 MovieClip {CButtonBack} Frame 1
"out"Symbol 1453 MovieClip {CButtonBack} Frame 2
"over"Symbol 1453 MovieClip {CButtonBack} Frame 3
"down"Symbol 1453 MovieClip {CButtonBack} Frame 4
"appear minimized"Symbol 1456 MovieClip {CMenuIntro} Frame 1
"minimized after appear"Symbol 1456 MovieClip {CMenuIntro} Frame 16
"appear"Symbol 1456 MovieClip {CMenuIntro} Frame 17
"shown"Symbol 1456 MovieClip {CMenuIntro} Frame 150
"minimize"Symbol 1456 MovieClip {CMenuIntro} Frame 151
"minimized"Symbol 1456 MovieClip {CMenuIntro} Frame 183
"restore"Symbol 1456 MovieClip {CMenuIntro} Frame 184
"gotoplay"Symbol 1456 MovieClip {CMenuIntro} Frame 216
"disabled"Symbol 1464 MovieClip {CButtonPlayCommit} Frame 1
"out"Symbol 1464 MovieClip {CButtonPlayCommit} Frame 2
"over"Symbol 1464 MovieClip {CButtonPlayCommit} Frame 3
"down"Symbol 1464 MovieClip {CButtonPlayCommit} Frame 4
"out"Symbol 1467 MovieClip Frame 1
"over"Symbol 1467 MovieClip Frame 2
"down"Symbol 1467 MovieClip Frame 3
"disabled"Symbol 1512 MovieClip {CButtonTutorialBack} Frame 1
"out"Symbol 1512 MovieClip {CButtonTutorialBack} Frame 2
"over"Symbol 1512 MovieClip {CButtonTutorialBack} Frame 3
"down"Symbol 1512 MovieClip {CButtonTutorialBack} Frame 4
"disabled"Symbol 1518 MovieClip {CButtonTutorialNext} Frame 1
"out"Symbol 1518 MovieClip {CButtonTutorialNext} Frame 2
"over"Symbol 1518 MovieClip {CButtonTutorialNext} Frame 3
"down"Symbol 1518 MovieClip {CButtonTutorialNext} Frame 4
"disabled"Symbol 1535 MovieClip {CButtonBuy} Frame 1
"out"Symbol 1535 MovieClip {CButtonBuy} Frame 2
"over"Symbol 1535 MovieClip {CButtonBuy} Frame 3
"down"Symbol 1535 MovieClip {CButtonBuy} Frame 4
"selected"Symbol 1538 MovieClip Frame 1
"unselected"Symbol 1538 MovieClip Frame 2
"disabled"Symbol 1544 MovieClip {CButtonStatFolder} Frame 1
"out"Symbol 1544 MovieClip {CButtonStatFolder} Frame 2
"over"Symbol 1544 MovieClip {CButtonStatFolder} Frame 3
"down"Symbol 1544 MovieClip {CButtonStatFolder} Frame 4
"selected"Symbol 1547 MovieClip Frame 1
"unselected"Symbol 1547 MovieClip Frame 2
"disabled"Symbol 1553 MovieClip {CButtonGraphStatToggle} Frame 1
"out"Symbol 1553 MovieClip {CButtonGraphStatToggle} Frame 2
"over"Symbol 1553 MovieClip {CButtonGraphStatToggle} Frame 3
"down"Symbol 1553 MovieClip {CButtonGraphStatToggle} Frame 4




http://swfchan.com/6/29315/info.shtml
Created: 19/5 -2019 23:58:19 Last modified: 19/5 -2019 23:58:19 Server time: 02/05 -2024 13:43:37