Section 1
//BlankBtn (com.pizza.BlankBtn)
package com.pizza {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class BlankBtn extends MovieClip {
public var txt:TextField;
public function BlankBtn(_arg1:String=""){
addFrameScript(0, frame1);
txt.text = _arg1;
txt.mouseEnabled = false;
buttonMode = true;
addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
addEventListener(MouseEvent.ROLL_OUT, mouseOutHandler);
addEventListener(MouseEvent.ROLL_OVER, mouseOverHandler);
}
private function mouseOutHandler(_arg1:MouseEvent):void{
gotoAndStop(1);
}
public function mouseDownHandler(_arg1:MouseEvent):void{
}
function frame1(){
stop();
}
private function mouseOverHandler(_arg1:MouseEvent):void{
gotoAndStop(2);
}
}
}//package com.pizza
Section 2
//BurdenSheet (com.pizza.BurdenSheet)
package com.pizza {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class BurdenSheet extends MovieClip {
private var index_arr:Array;
private var prop_arr:Array;
private var posX:Number;
private var posY:Number;
private var spring:Number;// = 0.2
private var prop_cont:Sprite;
private var prop_board:PropBoard;
private var obj_arr:Array;
private var boardH:Number;
private var boardX:Number;
private var boardY:Number;
public var propIndex:Number;
private var vx:Number;// = 0
public var vy:Number;// = 10
private var prop_mask:PropMask;
public var sign_out:Boolean;// = false
private var prop_cover:Cover;
private var elasticTimer:Timer;
public var moveTimer:Timer;
private var friction:Number;// = 0.8
public function BurdenSheet(_arg1:Number, _arg2:Number){
prop_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9);
index_arr = new Array();
prop_cont = new Sprite();
prop_mask = new PropMask();
prop_board = new PropBoard();
prop_cover = new Cover();
obj_arr = new Array();
super();
boardX = _arg1;
boardY = _arg2;
boardH = (100 * 9);
initSheet();
}
private function cellHandler(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, cellHandler);
var _local2:int;
while (_local2 < obj_arr.length) {
obj_arr[_local2].cell.gotoAndStop(1);
_local2++;
};
}
private function delayAction(_arg1:Number, _arg2:int, _arg3:Function):void{
var _local4:Timer = new Timer(_arg1, _arg2);
_local4.addEventListener(TimerEvent.TIMER, _arg3);
_local4.start();
}
private function addProp():void{
var _local2:Prop;
var _local1:int;
while (_local1 < prop_arr.length) {
_local2 = new Prop();
_local2.x = 0;
_local2.y = (_local1 * 100);
_local2.gotoAndStop(prop_arr[_local1]);
prop_cont.addChild(_local2);
obj_arr.push(_local2);
delayAction(300, 1, cellHandler);
_local1++;
};
prop_cont.mask = prop_mask;
}
private function initSheet():void{
prop_board.x = boardX;
prop_board.y = boardY;
addChild(prop_board);
prop_cont.x = (boardX + 10);
prop_cont.y = (boardY - boardH);
addChild(prop_cont);
prop_mask.x = boardX;
prop_mask.y = boardY;
addChild(prop_mask);
prop_cover.x = boardX;
prop_cover.y = boardY;
prop_cover.name = "prop_cover";
addChild(prop_cover);
}
private function initArr():void{
sortArr(prop_arr);
prop_arr.push(prop_arr[0]);
prop_arr.push(prop_arr[1]);
var _local1:int;
while (_local1 < prop_arr.length) {
index_arr.push(prop_arr[_local1]);
_local1++;
};
index_arr.reverse();
}
private function elasticMove(_arg1:TimerEvent):void{
vx = (vx + ((posX - prop_cont.x) * spring));
vy = (vy + ((posY - prop_cont.y) * spring));
vx = (vx * friction);
vy = (vy * friction);
prop_cont.x = (prop_cont.x + vx);
prop_cont.y = (prop_cont.y + vy);
_arg1.updateAfterEvent();
}
public function burdenStart():void{
buttonMode = true;
initArr();
addProp();
prop_cover.gotoAndPlay(2);
addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
moveTimer = new Timer(50, 0);
moveTimer.addEventListener(TimerEvent.TIMER, moveProp);
moveTimer.start();
}
private function mouseDownHandler(_arg1:Event):void{
var _local2:Number;
if (!sign_out){
buttonMode = false;
_local2 = Math.floor(((prop_cont.y - (boardY - boardH)) / 100));
posX = prop_cont.x;
posY = (((boardY - boardH) + (_local2 * 100)) + 50);
elasticTimer = new Timer(10, 120);
elasticTimer.addEventListener(TimerEvent.TIMER, elasticMove);
elasticTimer.addEventListener(TimerEvent.TIMER_COMPLETE, elasticStop);
elasticTimer.start();
removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
moveTimer.removeEventListener(TimerEvent.TIMER, moveProp);
dispatchEvent(new ElasticEvent(ElasticEvent.ACTION, index_arr[(_local2 + 1)]));
};
}
private function sortArr(_arg1:Array):void{
var _local3:int;
var _local4:Number;
var _local2:* = 0;
while (_local2 < _arg1.length) {
_local3 = Math.floor((Math.random() * _arg1.length));
_local4 = _arg1[_local2];
_arg1[_local2] = _arg1[_local3];
_arg1[_local3] = _local4;
_local2++;
};
}
private function moveProp(_arg1:TimerEvent):void{
if (prop_cont.y >= boardY){
prop_cont.x = (boardX + 10);
prop_cont.y = ((boardY - boardH) + vy);
};
prop_cont.y = (prop_cont.y + vy);
_arg1.updateAfterEvent();
}
private function elasticStop(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, elasticMove);
_arg1.target.removeEventListener(TimerEvent.TIMER_COMPLETE, elasticStop);
}
}
}//package com.pizza
Section 3
//ElasticEvent (com.pizza.ElasticEvent)
package com.pizza {
import flash.events.*;
public class ElasticEvent extends Event {
public var printIndex:Number;
public static const ACTION = "elasticAction";
public function ElasticEvent(_arg1:String, _arg2:Number, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
printIndex = _arg2;
}
override public function clone():Event{
var _local1:ElasticEvent = new ElasticEvent(type, printIndex, bubbles, cancelable);
return (_local1);
}
override public function toString():String{
return (formatToString("ElasticEvent", "type", "bubbles", "cancelable", "eventPhase", "printIndex"));
}
}
}//package com.pizza
Section 4
//InstBtn (com.pizza.InstBtn)
package com.pizza {
import flash.events.*;
public class InstBtn extends BlankBtn {
public static const ACTION:String = "InstAction";
public function InstBtn(_arg1:String){
super(_arg1);
}
override public function mouseDownHandler(_arg1:MouseEvent):void{
trace(("mouseDownHandler:" + this));
disAction();
}
private function disAction():void{
dispatchEvent(new Event(InstBtn.ACTION));
}
}
}//package com.pizza
Section 5
//MoreBtn (com.pizza.MoreBtn)
package com.pizza {
import flash.events.*;
public class MoreBtn extends BlankBtn {
public static const ACTION:String = "MoreAction";
public function MoreBtn(_arg1:String){
super(_arg1);
}
override public function mouseDownHandler(_arg1:MouseEvent):void{
trace(("mouseDownHandler:" + this));
disAction();
}
private function disAction():void{
dispatchEvent(new Event(MoreBtn.ACTION));
}
}
}//package com.pizza
Section 6
//Pizza (com.pizza.Pizza)
package com.pizza {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
public class Pizza extends MovieClip {
private var burden_index:Number;
private var level:Number;// = 0
public var preload:MovieClip;
private var count:Number;// = 0
private var drop_arr:Array;
private var score:Number;// = 0
private var class_arr:Array;
private var bgmChannel:SoundChannel;
public var horn_btn:MovieClip;
public var time_bar:MovieClip;
public var roast:MovieClip;
private var level_arr:Array;
private var mute:Boolean;// = false
private var lifeTimer:Timer;
private var time_score:Number;// = 0
private var help:Help;
public var levelTxt:TextField;
private var bgm:BackgroundMelodySound;
private var burden_arr:Array;
private var play_btn:BlankBtn;
public var backpre:MovieClip;
private var url_str:String;// = "http://www.rainbowdressup.com/"
private var bgm_position:Number;
private var inst_btn:BlankBtn;
private var max:Number;// = 5
private var mesg:MesgBoard;
private var more_btn:BlankBtn;
private var ques_arr:Array;
public var scoreTxt:TextField;
public function Pizza(){
ques_arr = new Array();
burden_arr = new Array();
drop_arr = new Array();
lifeTimer = new Timer(1000);
class_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9);
level_arr = new Array(1, 3, 4, 5, 5, 5);
bgm = new BackgroundMelodySound();
super();
addFrameScript(0, frame1, 1, frame2, 6, frame7);
trace("Got everything I need...");
}
private function addPlayButton(_arg1:BlankBtn, _arg2:String, _arg3:Number, _arg4:Number):void{
_arg1 = new PlayBtn(_arg2);
_arg1.x = _arg3;
_arg1.y = _arg4;
_arg1.name = "play";
addChild(_arg1);
_arg1.addEventListener(PlayBtn.ACTION, playHandler);
}
private function initTry(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, initTry);
mesg.try_btn.buttonMode = true;
mesg.try_btn.addEventListener(MouseEvent.MOUSE_DOWN, tryHandler);
mesg.more_btn.buttonMode = true;
mesg.more_btn.addEventListener(MouseEvent.MOUSE_DOWN, moreHandler);
}
private function delayAction(_arg1:Number, _arg2:int, _arg3:Function):void{
var _local4:Timer = new Timer(_arg1, _arg2);
_local4.addEventListener(TimerEvent.TIMER, _arg3);
_local4.start();
}
public function doGoto(_arg1:Event){
navigateToURL(new URLRequest("http://www.rainbowdressup.com"), "_blank");
}
private function disBurden():void{
var _local2:BurdenSheet;
burden_index = 0;
drop_arr = new Array();
burden_arr = new Array();
var _local1:int;
while (_local1 < max) {
_local2 = new BurdenSheet((30 + (_local1 * 130)), 135);
addChild(_local2);
burden_arr.push(_local2);
if (_local1 < ques_arr.length){
_local2.propIndex = ques_arr[_local1];
_local2.addEventListener(ElasticEvent.ACTION, printBurden);
};
_local1++;
};
burden_arr[burden_index].burdenStart();
dropMaterial(1);
}
private function tryHandler(_arg1:Event):void{
_arg1.target.removeEventListener(MouseEvent.MOUSE_DOWN, tryHandler);
trace("try");
mesg.visible = false;
delayAction(1500, 1, resetQuesHandler);
}
private function timeOutHandler(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, timeCountHandler);
_arg1.target.removeEventListener(TimerEvent.TIMER_COMPLETE, timeOutHandler);
trace("fail");
count = 0;
burden_arr[burden_index].moveTimer.stop();
burden_arr[burden_index].sign_out = true;
mesg.gotoAndPlay("try");
mesg.visible = true;
this.swapChildrenAt(getChildIndex(mesg), (this.numChildren - 1));
delayAction(1000, 1, initTry);
}
private function initNext(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, initNext);
mesg.next_btn.buttonMode = true;
mesg.next_btn.addEventListener(MouseEvent.MOUSE_DOWN, nextHandler);
mesg.more_btn.buttonMode = true;
mesg.more_btn.addEventListener(MouseEvent.MOUSE_DOWN, moreHandler);
}
private function instHandler(_arg1:Event):void{
trace("inst");
help.visible = true;
help.close_btn.buttonMode = true;
help.close_btn.addEventListener(MouseEvent.MOUSE_DOWN, closeHandler);
DisplayObject(getChildByName("play")).visible = false;
DisplayObject(getChildByName("inst")).visible = false;
DisplayObject(getChildByName("more")).visible = false;
}
private function resetBurdenHandler(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, resetBurdenHandler);
var _local2:int;
while (_local2 < burden_arr.length) {
removeChild(burden_arr[_local2]);
_local2++;
};
disBurden();
}
private function initAgain(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, initAgain);
mesg.again_btn.buttonMode = true;
mesg.again_btn.addEventListener(MouseEvent.MOUSE_DOWN, againHandler);
mesg.more_btn.buttonMode = true;
mesg.more_btn.addEventListener(MouseEvent.MOUSE_DOWN, moreHandler);
}
private function moreHandler(_arg1:Event):void{
trace("mmore");
var _local2:URLRequest = new URLRequest(url_str);
navigateToURL(_local2, "_blank");
}
private function timeCountHandler(_arg1:TimerEvent):void{
time_score = (_arg1.target.repeatCount - _arg1.target.currentCount);
time_bar.gotoAndStop(Math.floor(((_arg1.target.currentCount / _arg1.target.repeatCount) * 100)));
}
private function closeHandler(_arg1:Event):void{
help.visible = false;
DisplayObject(getChildByName("play")).visible = true;
DisplayObject(getChildByName("inst")).visible = true;
DisplayObject(getChildByName("more")).visible = true;
}
private function disMesg():void{
mesg = new MesgBoard();
mesg.x = 205;
mesg.y = 115;
mesg.visible = false;
addChild(mesg);
help = new Help();
help.x = 125;
help.y = 160;
help.visible = false;
addChild(help);
}
private function dropMaterial(_arg1:Number):void{
var _local2:RipeMaterial = new RipeMaterial();
_local2.scaleX = 1.4;
_local2.scaleY = 1.4;
_local2.x = 282;
_local2.y = 405;
_local2.gotoAndStop(_arg1);
addChild(_local2);
drop_arr.push(_local2);
}
private function broomQues():void{
mesg.visible = false;
var _local1:int;
while (_local1 < drop_arr.length) {
removeChild(drop_arr[_local1]);
_local1++;
};
var _local2:int;
while (_local2 < burden_arr.length) {
removeChild(burden_arr[_local2]);
if (_local2 < ques_arr.length){
removeChild(getChildByName(("material" + _local2)));
};
_local2++;
};
if (lifeTimer.hasEventListener(TimerEvent.TIMER_COMPLETE)){
lifeTimer.removeEventListener(TimerEvent.TIMER, timeCountHandler);
lifeTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, timeOutHandler);
};
}
public function Pizza_start(){
trace("Pizza");
disMesg();
addPlayButton(play_btn, "Play", 85, 300);
addInstButton(inst_btn, "Instructions", 85, 370);
addMoreButton(more_btn, "Play More Games", 85, 440);
}
private function hornHandler(_arg1:Event):void{
if (!mute){
mute = true;
bgm_position = bgmChannel.position;
bgmChannel.stop();
horn_btn.gotoAndStop("off");
} else {
mute = false;
bgmChannel = bgm.play(bgm_position, 1000);
horn_btn.gotoAndStop("on");
};
}
private function disQues():void{
var _local2:Material;
disBurden();
var _local1:int;
while (_local1 < ques_arr.length) {
_local2 = new Material();
_local2.scaleX = 0.9;
_local2.scaleY = 0.9;
_local2.x = (231 + (66 * _local1));
_local2.y = 30;
_local2.name = ("material" + _local1);
_local2.gotoAndStop(ques_arr[_local1]);
addChild(_local2);
_local1++;
};
lifeTimer = new Timer(500, ((40 - level) * 2));
lifeTimer.addEventListener(TimerEvent.TIMER, timeCountHandler);
lifeTimer.addEventListener(TimerEvent.TIMER_COMPLETE, timeOutHandler);
lifeTimer.start();
}
private function sound(_arg1:String):void{
var _local2:CorrectSound;
var _local3:SoundChannel;
var _local4:MissedSound;
var _local5:SoundChannel;
if (_arg1 == "correct"){
_local2 = new CorrectSound();
_local3 = _local2.play();
} else {
if (_arg1 == "missed"){
_local4 = new MissedSound();
_local5 = _local4.play();
} else {
if (_arg1 == "game"){
bgmChannel = bgm.play(0, 1000);
};
};
};
}
private function coverDownHandler(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, coverDownHandler);
var _local2:int;
while (_local2 <= burden_index) {
burden_arr[_local2].getChildByName("prop_cover").gotoAndPlay(16);
_local2++;
};
delayAction(1000, 1, resetBurdenHandler);
}
private function againHandler(_arg1:Event):void{
_arg1.target.removeEventListener(MouseEvent.MOUSE_DOWN, againHandler);
trace("again");
mesg.visible = false;
level = 0;
count = 0;
score = 0;
levelTxt.text = String((level + 1));
scoreTxt.text = String(score);
delayAction(1500, 1, resetQuesHandler);
}
private function printBurden(_arg1:ElasticEvent):void{
trace(((_arg1.target.propIndex + "::") + _arg1.printIndex));
if (_arg1.target.propIndex != _arg1.printIndex){
_arg1.target.getChildByName("prop_cover").gotoAndStop(31);
sound("missed");
delayAction(1000, 1, coverDownHandler);
} else {
if (burden_index < (ques_arr.length - 1)){
burden_index++;
score = (score + time_score);
burden_arr[burden_index].burdenStart();
sound("correct");
dropMaterial((_arg1.printIndex + 1));
} else {
trace("win");
count++;
sound("correct");
dropMaterial((_arg1.printIndex + 1));
dropMaterial(9);
roast.gotoAndPlay(2);
if (count == level_arr[level]){
count = 0;
score = (score + (time_score + 50));
if (level < 5){
level++;
mesg.gotoAndPlay("next");
mesg.visible = true;
this.setChildIndex(mesg, (this.numChildren - 1));
delayAction(1000, 1, initNext);
} else {
trace("replay");
mesg.gotoAndPlay("again");
mesg.visible = true;
this.swapChildrenAt(getChildIndex(mesg), (this.numChildren - 1));
delayAction(1000, 1, initAgain);
};
} else {
delayAction(1500, 1, resetQuesHandler);
};
levelTxt.text = String((level + 1));
scoreTxt.text = String(score);
lifeTimer.stop();
};
};
}
private function initArr():void{
var _local1:int;
ques_arr = new Array();
if (level < 3){
_local1 = 3;
} else {
if (level == 3){
_local1 = 4;
} else {
_local1 = 5;
};
};
var _local2:int;
while (_local2 < class_arr.length) {
ques_arr[_local2] = class_arr[_local2];
_local2++;
};
sortArr(ques_arr);
ques_arr.splice(_local1);
}
private function addInstButton(_arg1:BlankBtn, _arg2:String, _arg3:Number, _arg4:Number):void{
_arg1 = new InstBtn(_arg2);
_arg1.x = _arg3;
_arg1.y = _arg4;
_arg1.name = "inst";
addChild(_arg1);
_arg1.addEventListener(InstBtn.ACTION, instHandler);
}
function frame2(){
stop();
Pizza_start();
}
private function nextHandler(_arg1:Event):void{
_arg1.target.removeEventListener(MouseEvent.MOUSE_DOWN, nextHandler);
trace("next");
mesg.visible = false;
delayAction(1500, 1, resetQuesHandler);
}
private function sortArr(_arg1:Array):void{
var _local3:int;
var _local4:Number;
var _local2:* = 0;
while (_local2 < _arg1.length) {
_local3 = Math.floor((Math.random() * _arg1.length));
_local4 = _arg1[_local2];
_arg1[_local2] = _arg1[_local3];
_arg1[_local3] = _local4;
_local2++;
};
}
private function broomInit():void{
removeChild(DisplayObject(getChildByName("play")));
removeChild(DisplayObject(getChildByName("more")));
}
private function createQues(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, disQues);
horn_btn.buttonMode = true;
horn_btn.addEventListener(MouseEvent.MOUSE_DOWN, hornHandler);
broomQues();
initArr();
disQues();
}
private function addMoreButton(_arg1:BlankBtn, _arg2:String, _arg3:Number, _arg4:Number):void{
_arg1 = new MoreBtn(_arg2);
_arg1.x = _arg3;
_arg1.y = _arg4;
_arg1.name = "more";
addChild(_arg1);
_arg1.addEventListener(MoreBtn.ACTION, moreHandler);
}
function frame7(){
stop();
}
function frame1(){
stop();
MochiBot.track(this, "9a4330fc");
preload.addEventListener(MouseEvent.CLICK, doGoto);
backpre.addEventListener(MouseEvent.CLICK, doGoto);
preload.useHandCursor = true;
backpre.useHandCursor = true;
preload.buttonMode = true;
backpre.buttonMode = true;
}
private function resetQuesHandler(_arg1:TimerEvent):void{
_arg1.target.removeEventListener(TimerEvent.TIMER, resetQuesHandler);
var _local2:int;
while (_local2 <= burden_index) {
burden_arr[_local2].getChildByName("prop_cover").gotoAndPlay(16);
_local2++;
};
delayAction(1000, 1, createQues);
}
private function playHandler(_arg1:Event):void{
trace("play");
broomInit();
sound("game");
gotoAndStop("core");
delayAction(300, 1, createQues);
}
}
}//package com.pizza
Section 7
//PlayBtn (com.pizza.PlayBtn)
package com.pizza {
import flash.events.*;
public class PlayBtn extends BlankBtn {
public static const ACTION:String = "PlayAction";
public function PlayBtn(_arg1:String){
super(_arg1);
}
override public function mouseDownHandler(_arg1:MouseEvent):void{
trace(("mouseDownHandler:" + this));
disAction();
}
private function disAction():void{
dispatchEvent(new Event(PlayBtn.ACTION));
}
}
}//package com.pizza
Section 8
//horn_btn_123 (pizza_fla.horn_btn_123)
package pizza_fla {
import flash.display.*;
public dynamic class horn_btn_123 extends MovieClip {
public function horn_btn_123(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package pizza_fla
Section 9
//pre_rainb_blingblingggggR_15 (pizza_fla.pre_rainb_blingblingggggR_15)
package pizza_fla {
import flash.display.*;
public dynamic class pre_rainb_blingblingggggR_15 extends MovieClip {
public function pre_rainb_blingblingggggR_15(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
}
}
}//package pizza_fla
Section 10
//pre_rainb_flaresR_21 (pizza_fla.pre_rainb_flaresR_21)
package pizza_fla {
import flash.display.*;
public dynamic class pre_rainb_flaresR_21 extends MovieClip {
public function pre_rainb_flaresR_21(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package pizza_fla
Section 11
//pre_rainb_loadingbarR_24 (pizza_fla.pre_rainb_loadingbarR_24)
package pizza_fla {
import flash.display.*;
public dynamic class pre_rainb_loadingbarR_24 extends MovieClip {
public function pre_rainb_loadingbarR_24(){
addFrameScript(239, frame240);
}
function frame240(){
stop();
MovieClip(root).gotoAndPlay("Game");
}
}
}//package pizza_fla
Section 12
//pre_rainb_t1_11 (pizza_fla.pre_rainb_t1_11)
package pizza_fla {
import flash.display.*;
public dynamic class pre_rainb_t1_11 extends MovieClip {
public function pre_rainb_t1_11(){
addFrameScript(19, frame20);
}
function frame20(){
}
}
}//package pizza_fla
Section 13
//pre_rainb_t1R_10 (pizza_fla.pre_rainb_t1R_10)
package pizza_fla {
import flash.display.*;
public dynamic class pre_rainb_t1R_10 extends MovieClip {
public var bar_mc:MovieClip;
public function pre_rainb_t1R_10(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package pizza_fla
Section 14
//RainbowDressup_Preloader_8 (pizza_fla.RainbowDressup_Preloader_8)
package pizza_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class RainbowDressup_Preloader_8 extends MovieClip {
public var playGame:MovieClip;
public var gotoRainbow:MovieClip;
public var loadingbar:MovieClip;
public function RainbowDressup_Preloader_8(){
addFrameScript(0, frame1, 10, frame11, 19, frame20);
}
public function doOut(_arg1:Event){
playGame.gotoAndStop(1);
}
function frame1(){
stop();
}
public function doRainbow(_arg1:Event){
navigateToURL(new URLRequest("http://www.rainbowdressup.com"), "_blank");
}
function frame20(){
stop();
gotoRainbow.addEventListener(MouseEvent.MOUSE_UP, doRainbow);
playGame.addEventListener(MouseEvent.CLICK, doGame);
playGame.addEventListener(MouseEvent.ROLL_OVER, doOver);
playGame.addEventListener(MouseEvent.ROLL_OUT, doOut);
}
function frame11(){
MovieClip(root).gotoAndStop("Game");
}
public function preLoading(_arg1:ProgressEvent):void{
var _local2:Number = _arg1.bytesLoaded;
var _local3:Number = _arg1.bytesTotal;
var _local4:Number = Math.floor(((_local2 / _local3) * 100));
loadingbar.gotoAndStop(_local4);
if (_local4 == 100){
gotoAndPlay("start");
};
}
public function doGame(_arg1:Event){
MovieClip(root).gotoAndStop("Game");
}
public function doOver(_arg1:Event){
playGame.gotoAndStop(2);
}
}
}//package pizza_fla
Section 15
//RainbowDressUpBtn_31 (pizza_fla.RainbowDressUpBtn_31)
package pizza_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class RainbowDressUpBtn_31 extends MovieClip {
public var btn:MovieClip;
public function RainbowDressUpBtn_31(){
addFrameScript(0, frame1);
}
public function goto(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.rainbowdressup.com"));
}
function frame1(){
btn.addEventListener(MouseEvent.CLICK, goto);
}
}
}//package pizza_fla
Section 16
//roast_113 (pizza_fla.roast_113)
package pizza_fla {
import flash.display.*;
public dynamic class roast_113 extends MovieClip {
public function roast_113(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package pizza_fla
Section 17
//time_bar_61 (pizza_fla.time_bar_61)
package pizza_fla {
import flash.display.*;
public dynamic class time_bar_61 extends MovieClip {
public function time_bar_61(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package pizza_fla
Section 18
//Timeline_112 (pizza_fla.Timeline_112)
package pizza_fla {
import flash.display.*;
public dynamic class Timeline_112 extends MovieClip {
public function Timeline_112(){
addFrameScript(0, frame1, 99, frame100);
}
function frame100(){
gotoAndPlay("aaa");
}
function frame1(){
gotoAndPlay("aaa");
}
}
}//package pizza_fla
Section 19
//Timeline_165 (pizza_fla.Timeline_165)
package pizza_fla {
import flash.display.*;
public dynamic class Timeline_165 extends MovieClip {
public function Timeline_165(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package pizza_fla
Section 20
//Timeline_59 (pizza_fla.Timeline_59)
package pizza_fla {
import flash.display.*;
public dynamic class Timeline_59 extends MovieClip {
public function Timeline_59(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package pizza_fla
Section 21
//Timeline_60 (pizza_fla.Timeline_60)
package pizza_fla {
import flash.display.*;
public dynamic class Timeline_60 extends MovieClip {
public function Timeline_60(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package pizza_fla
Section 22
//Timeline_62 (pizza_fla.Timeline_62)
package pizza_fla {
import flash.display.*;
public dynamic class Timeline_62 extends MovieClip {
public function Timeline_62(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package pizza_fla
Section 23
//BackgroundMelodySound (BackgroundMelodySound)
package {
import flash.media.*;
public dynamic class BackgroundMelodySound extends Sound {
}
}//package
Section 24
//CorrectSound (CorrectSound)
package {
import flash.media.*;
public dynamic class CorrectSound extends Sound {
}
}//package
Section 25
//Cover (Cover)
package {
import flash.display.*;
public dynamic class Cover extends MovieClip {
public function Cover(){
addFrameScript(0, frame1, 14, frame15, 29, frame30, 30, frame31);
}
function frame15(){
stop();
}
function frame30(){
stop();
}
function frame31(){
stop();
}
function frame1(){
stop();
}
}
}//package
Section 26
//Help (Help)
package {
import flash.display.*;
public dynamic class Help extends MovieClip {
public var close_btn:MovieClip;
}
}//package
Section 27
//Material (Material)
package {
import flash.display.*;
public dynamic class Material extends MovieClip {
public function Material(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 28
//MesgBoard (MesgBoard)
package {
import flash.display.*;
public dynamic class MesgBoard extends MovieClip {
public var more_btn:MovieClip;
public var try_btn:MovieClip;
public var again_btn:MovieClip;
public var next_btn:MovieClip;
public function MesgBoard(){
addFrameScript(0, frame1, 5, frame6, 14, frame15, 24, frame25);
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame15(){
stop();
}
function frame25(){
stop();
}
}
}//package
Section 29
//MissedSound (MissedSound)
package {
import flash.media.*;
public dynamic class MissedSound extends Sound {
}
}//package
Section 30
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.system.*;
import flash.net.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
if (Security.sandboxType == "localWithFile"){
return (null);
};
var _local3:MochiBot = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
var _local4 = "http://core.mochibot.com/my/core.swf";
var _local5:URLVariables = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
var _local6:String = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
var _local7:URLRequest = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
var _local8:Loader = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 31
//Prop (Prop)
package {
import flash.display.*;
public dynamic class Prop extends MovieClip {
public var cell:MovieClip;
}
}//package
Section 32
//PropBoard (PropBoard)
package {
import flash.display.*;
public dynamic class PropBoard extends MovieClip {
}
}//package
Section 33
//PropMask (PropMask)
package {
import flash.display.*;
public dynamic class PropMask extends MovieClip {
}
}//package
Section 34
//RipeMaterial (RipeMaterial)
package {
import flash.display.*;
public dynamic class RipeMaterial extends MovieClip {
public function RipeMaterial(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package