Section 1
//livesIcon_17 (PumpkinCatch_fla.livesIcon_17)
package PumpkinCatch_fla {
import flash.display.*;
public dynamic class livesIcon_17 extends MovieClip {
public function livesIcon_17(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PumpkinCatch_fla
Section 2
//barColor_56 (rihannasrevenge_2009_fla.barColor_56)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class barColor_56 extends MovieClip {
public function barColor_56(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 3
//barColor2_58 (rihannasrevenge_2009_fla.barColor2_58)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class barColor2_58 extends MovieClip {
public function barColor2_58(){
addFrameScript(29, frame30);
}
function frame30(){
gotoAndPlay(1);
}
}
}//package rihannasrevenge_2009_fla
Section 4
//BlueStarInner_77 (rihannasrevenge_2009_fla.BlueStarInner_77)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class BlueStarInner_77 extends MovieClip {
public function BlueStarInner_77(){
addFrameScript(98, frame99);
}
function frame99(){
gotoAndPlay(1);
}
}
}//package rihannasrevenge_2009_fla
Section 5
//btnJoinkersGrow_20 (rihannasrevenge_2009_fla.btnJoinkersGrow_20)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class btnJoinkersGrow_20 extends MovieClip {
public function btnJoinkersGrow_20(){
addFrameScript(3, frame4);
}
function frame4(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 6
//btnJoinkersShrink_19 (rihannasrevenge_2009_fla.btnJoinkersShrink_19)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class btnJoinkersShrink_19 extends MovieClip {
public function btnJoinkersShrink_19(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 7
//Charge_57 (rihannasrevenge_2009_fla.Charge_57)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Charge_57 extends MovieClip {
public var barColor:MovieClip;
public var circleText:MovieClip;
public var barMask:MovieClip;
public function Charge_57(){
addFrameScript(0, frame1, 34, frame35);
}
function frame1(){
stop();
}
function frame35(){
gotoAndPlay(2);
}
}
}//package rihannasrevenge_2009_fla
Section 8
//Chris1_30 (rihannasrevenge_2009_fla.Chris1_30)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Chris1_30 extends MovieClip {
public var chrisInner:MovieClip;
}
}//package rihannasrevenge_2009_fla
Section 9
//ChrisHealth_54 (rihannasrevenge_2009_fla.ChrisHealth_54)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class ChrisHealth_54 extends MovieClip {
public var barColor:MovieClip;
public var barMask:MovieClip;
}
}//package rihannasrevenge_2009_fla
Section 10
//ChrisInner_31 (rihannasrevenge_2009_fla.ChrisInner_31)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class ChrisInner_31 extends MovieClip {
public var chrisLeft:MovieClip;
public var chrisMouth:MovieClip;
public var hat:MovieClip;
public var chrisRight:MovieClip;
}
}//package rihannasrevenge_2009_fla
Section 11
//Chrisleftface_33 (rihannasrevenge_2009_fla.Chrisleftface_33)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Chrisleftface_33 extends MovieClip {
public function Chrisleftface_33(){
addFrameScript(1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function frame10(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame8(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 12
//Chrisrightface_32 (rihannasrevenge_2009_fla.Chrisrightface_32)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Chrisrightface_32 extends MovieClip {
public function Chrisrightface_32(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function frame10(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 13
//Combo_62 (rihannasrevenge_2009_fla.Combo_62)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Combo_62 extends MovieClip {
public var comboAnim:MovieClip;
public function Combo_62(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 14
//ComboAnim_63 (rihannasrevenge_2009_fla.ComboAnim_63)
package rihannasrevenge_2009_fla {
import flash.display.*;
import flash.text.*;
public dynamic class ComboAnim_63 extends MovieClip {
public var comboCountText:TextField;
}
}//package rihannasrevenge_2009_fla
Section 15
//EndGameDialog_67 (rihannasrevenge_2009_fla.EndGameDialog_67)
package rihannasrevenge_2009_fla {
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class EndGameDialog_67 extends MovieClip {
public var link2:MovieClip;
public var btnJoinkers2:SimpleButton;
public var scoreText:TextField;
public function EndGameDialog_67(){
addFrameScript(0, frame1);
}
function frame1(){
btnJoinkers2.addEventListener(MouseEvent.CLICK, onLogoClick2);
link2.buttonMode = true;
link2.addEventListener(MouseEvent.CLICK, onLogoClick2);
}
public function onLogoClick2(_arg1:MouseEvent):void{
var request1:URLRequest;
var evt = _arg1;
request1 = new URLRequest(((("http://www.joinkers.com/index.php?sid=" + MovieClip(parent).trackingSid) + "&gid=") + MovieClip(parent).trackingGid));
try {
navigateToURL(request1, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
}
}//package rihannasrevenge_2009_fla
Section 16
//Enemy_25 (rihannasrevenge_2009_fla.Enemy_25)
package rihannasrevenge_2009_fla {
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Enemy_25 extends MovieClip {
public var chris2:MovieClip;
public var chris3:MovieClip;
public var chris1:MovieClip;
public var hatOff:MovieClip;
public function Enemy_25(){
addFrameScript(0, frame1, 1, frame2, 19, frame20, 20, frame21, 39, frame40, 40, frame41, 55, frame56, 56, frame57, 71, frame72, 95, frame96, 96, frame97, 174, frame175);
}
function frame72(){
gotoAndStop("straight");
}
function frame97(){
chris1.chrisInner.chrisLeft.gotoAndStop((Math.floor((MovieClip(parent).damageLeft / 6)) + 1));
chris1.chrisInner.chrisRight.gotoAndStop((Math.floor((MovieClip(parent).damageRight / 6)) + 1));
if (((MovieClip(parent).isHatReady) && (MovieClip(parent).isHatOff))){
chris1.chrisInner.hat.alpha = 0;
};
}
function frame1(){
chris1.chrisInner.chrisLeft.gotoAndStop((Math.floor((MovieClip(parent).damageLeft / 6)) + 1));
chris1.chrisInner.chrisRight.gotoAndStop((Math.floor((MovieClip(parent).damageRight / 6)) + 1));
if (((MovieClip(parent).isHatReady) && (MovieClip(parent).isHatOff))){
chris1.chrisInner.hat.alpha = 0;
};
stop();
}
function frame96(){
gotoAndStop("straight");
}
function frame20(){
gotoAndStop("straight");
}
function frame21(){
chris1.chrisInner.chrisLeft.gotoAndStop((Math.floor((MovieClip(parent).damageLeft / 6)) + 1));
chris1.chrisInner.chrisRight.gotoAndStop((Math.floor((MovieClip(parent).damageRight / 6)) + 1));
if (((MovieClip(parent).isHatReady) && (MovieClip(parent).isHatOff))){
chris1.chrisInner.hat.alpha = 0;
};
}
function frame2(){
chris1.chrisInner.chrisLeft.gotoAndStop((Math.floor((MovieClip(parent).damageLeft / 6)) + 1));
chris1.chrisInner.chrisRight.gotoAndStop((Math.floor((MovieClip(parent).damageRight / 6)) + 1));
if (((MovieClip(parent).isHatReady) && (MovieClip(parent).isHatOff))){
chris1.chrisInner.hat.alpha = 0;
};
}
function frame40(){
gotoAndStop("straight");
}
function frame41(){
chris2.chrisInner.gotoAndStop((Math.floor((MovieClip(parent).damageLeft / 2)) + 1));
if (((MovieClip(parent).isHatReady) && (!(MovieClip(parent).isHatOff)))){
hatOff.x = 36;
hatOff.y = -56;
MovieClip(parent).isHatOff = true;
};
}
function frame175(){
if (!MovieClip(parent).isEndGame){
MovieClip(parent).displayEndGameScreen();
MovieClip(parent).isEndGame = true;
};
stop();
}
function frame56(){
gotoAndStop("straight");
}
function frame57(){
chris3.chrisInner.gotoAndStop((Math.floor((MovieClip(parent).damageRight / 2)) + 1));
if (((MovieClip(parent).isHatReady) && (!(MovieClip(parent).isHatOff)))){
hatOff.x = 36;
hatOff.y = -56;
MovieClip(parent).isHatOff = true;
};
}
}
}//package rihannasrevenge_2009_fla
Section 17
//HatOff_39 (rihannasrevenge_2009_fla.HatOff_39)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class HatOff_39 extends MovieClip {
public function HatOff_39(){
addFrameScript(34, frame35);
}
function frame35(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 18
//Hithead_37 (rihannasrevenge_2009_fla.Hithead_37)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Hithead_37 extends MovieClip {
public var chrisInner:MovieClip;
}
}//package rihannasrevenge_2009_fla
Section 19
//Hithead2_41 (rihannasrevenge_2009_fla.Hithead2_41)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Hithead2_41 extends MovieClip {
public var chrisInner:MovieClip;
}
}//package rihannasrevenge_2009_fla
Section 20
//Hitheadleftside_42 (rihannasrevenge_2009_fla.Hitheadleftside_42)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Hitheadleftside_42 extends MovieClip {
public function Hitheadleftside_42(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame18(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame19(){
stop();
}
function frame25(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame22(){
stop();
}
function frame16(){
stop();
}
function frame8(){
stop();
}
function frame21(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
function frame23(){
stop();
}
function frame24(){
stop();
}
function frame28(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
function frame31(){
stop();
}
function frame34(){
stop();
}
function frame27(){
stop();
}
function frame11(){
stop();
}
function frame29(){
stop();
}
function frame33(){
stop();
}
function frame26(){
stop();
}
function frame32(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 21
//Hitheadrightside_38 (rihannasrevenge_2009_fla.Hitheadrightside_38)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Hitheadrightside_38 extends MovieClip {
public function Hitheadrightside_38(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame18(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame19(){
stop();
}
function frame25(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame22(){
stop();
}
function frame16(){
stop();
}
function frame8(){
stop();
}
function frame21(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
function frame23(){
stop();
}
function frame24(){
stop();
}
function frame28(){
stop();
}
function frame36(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
function frame31(){
stop();
}
function frame34(){
stop();
}
function frame27(){
stop();
}
function frame11(){
stop();
}
function frame35(){
stop();
}
function frame37(){
stop();
}
function frame29(){
stop();
}
function frame33(){
stop();
}
function frame26(){
stop();
}
function frame32(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 22
//Lefthook_48 (rihannasrevenge_2009_fla.Lefthook_48)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Lefthook_48 extends MovieClip {
public function Lefthook_48(){
addFrameScript(0, frame1, 7, frame8, 15, frame16);
}
function frame16(){
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame8(){
gotoAndStop(1);
}
}
}//package rihannasrevenge_2009_fla
Section 23
//LevelStartDialog_70 (rihannasrevenge_2009_fla.LevelStartDialog_70)
package rihannasrevenge_2009_fla {
import flash.display.*;
import flash.text.*;
public dynamic class LevelStartDialog_70 extends MovieClip {
public var currentLevel:TextField;
}
}//package rihannasrevenge_2009_fla
Section 24
//MainTimeline (rihannasrevenge_2009_fla.MainTimeline)
package rihannasrevenge_2009_fla {
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var currentAnimation:String;
public var blueStarX:BlueStarX;
public var isFirstHit:Boolean;
public var ballShadow:Array;
public var damageLeft:int;
public var endGameDelay:int;
public var comboCount:int;
public var isDying;
public var levelStartDialog:MovieClip;
public var blueStars:Array;
public var blueStarCreationLevels:Array;
public var redStarX:RedStarX;
public var isKeyDownSPACE:Boolean;
public var isChild:Array;
public var isKeyDownDOWN:Boolean;
public var redStars:Array;
public var ball_aY_increment:Number;
public var killCount:int;
public var ball_aY:Number;
public var uppercut:MovieClip;
public var hasLetterPlayed:Array;
public var timeTens:int;
public var i:int;
public var j:int;
public var k:int;
public var redStarCount:int;
public var isPauseable:Boolean;
public var chargeAmt:Number;
public var numBalls:int;
public var preloader:MovieClip;
public var playerScore:int;
public var comboFrame:int;
public var maxCombo:MovieClip;
public var loadingText:MovieClip;
public var mouseY_current:Number;
public var trackingSid:int;
public var player_dX:int;
public var isHatOff:Boolean;
public var stats:MovieClip;
public var endGameDialogCountdown:int;
public var levelStartDialogCountdown:int;
public var maxComboCount;
public var scoreBonus:MovieClip;
public var mouseX_prev:Number;
public var redStarCreationLevels:Array;
public var playerLives:int;
public var blueStarCount:int;
public var howToPlay:MovieClip;
public var timerMin:int;
public var enemyPosition:String;
public var invincibleDuration:int;
public var invincibleCountdown:int;
public var numSounds:int;
public var pauseDialog:MovieClip;
public var levelStartDelay:int;
public var timerSecTens:int;
public var isEndGame:Boolean;
public var isPaused:Boolean;
public var isInvincible:Boolean;
public var animationCountdown:int;
public var endGameDialog:MovieClip;
public var isGameover:Boolean;
public var isHatReady:Boolean;
public var isLastRight:Boolean;
public var numBlueStarX:int;
public var lastHit:String;
public var isGameoverTriggered:Boolean;
public var timeOnes:int;
public var isPlayerDying:Boolean;
public var sounds:Array;
public var isKeyDownRIGHT:Boolean;
public var numBlueStars:int;
public var playNextLetter;
public var rightHook:MovieClip;
public var isDeath;
public var framesPerLevel:int;
public var isStartOfLevel:Boolean;
public var stageWidth:int;
public var mouseY_prev:Number;
public var letterNum;
public var trackingGid:int;
public var combo:MovieClip;
public var enemy:MovieClip;
public var soundNames:Array;
public var currentLevel:int;
public var isUppercutting:Boolean;
public var mouseX_current:Number;
public var isCharged:Boolean;
public var btnPlay:SimpleButton;
public var isKeyDownSHIFT:Boolean;
public var isKeyDownLEFT:Boolean;
public var timerSecOnes:int;
public var ballFallProbability:int;
public var btnJoinkers:SimpleButton;
public var btnHowToPlay:SimpleButton;
public var stageHeight:int;
public var leftHook:MovieClip;
public var frameCounter:int;
public var chrisHealth:Number;
public var numRedStarX:int;
public var letterNumMax;
public var comboMult:int;
public var groundY:int;
public var damageRight:int;
public var isKeyDownUP:Boolean;
public var format:TextFormat;
public var numRedStars:int;
public var ball:Array;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function createStarsIfReady():void{
i = 0;
while (i < blueStarCreationLevels.length) {
if ((((comboCount >= blueStarCreationLevels[i])) && ((numBlueStars == i)))){
createBlueStar();
};
i++;
};
i = 0;
while (i < redStarCreationLevels.length) {
if ((((comboCount >= redStarCreationLevels[i])) && ((numRedStars == i)))){
createRedStar();
};
i++;
};
}
public function removeLevelStartScreen():void{
isPaused = false;
isPauseable = true;
levelStartDialog.x = -(stageWidth);
levelStartDialog.y = -(stageHeight);
}
public function onUnpauseClick(_arg1:MouseEvent):void{
pauseUnpauseGame();
}
public function movePlayer(){
}
public function onKeyboardUp(_arg1:KeyboardEvent){
switch (_arg1.keyCode){
case Keyboard.LEFT:
isKeyDownLEFT = false;
if (((((((!(isPaused)) && (!(isGameover)))) && (!(isDying)))) && (!(isEndGame)))){
swingLeft();
};
break;
case Keyboard.RIGHT:
isKeyDownRIGHT = false;
if (((((((!(isPaused)) && (!(isGameover)))) && (!(isDying)))) && (!(isEndGame)))){
swingRight();
};
break;
case Keyboard.UP:
isKeyDownUP = false;
if (((((((((!(isPaused)) && (!(isGameover)))) && (!(isDying)))) && (!(isEndGame)))) && (isCharged))){
swingUppercut();
};
break;
case Keyboard.DOWN:
isKeyDownDOWN = false;
break;
case Keyboard.SPACE:
isKeyDownSPACE = false;
break;
case Keyboard.SHIFT:
isKeyDownSHIFT = false;
break;
case 80:
pauseUnpauseGame();
break;
};
}
public function displayLevelStartScreen():void{
isPaused = true;
isPauseable = false;
levelStartDialog.x = (stageWidth / 2);
levelStartDialog.y = (stageHeight / 2);
levelStartDialog.currentLevel.text = String(currentLevel);
setChildIndex(levelStartDialog, (this.numChildren - 1));
levelStartDialogCountdown = levelStartDelay;
}
public function onBtnJoinkersClick(_arg1:MouseEvent):void{
var request1:URLRequest;
var evt = _arg1;
request1 = new URLRequest(((("http://www.joinkers.com/index.php?sid=" + trackingSid) + "&gid=") + trackingGid));
try {
navigateToURL(request1, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
function frame3(){
stop();
isFirstHit = true;
isHatReady = false;
isHatOff = false;
isLastRight = true;
comboCount = 0;
maxComboCount = 0;
damageRight = 0;
damageLeft = 0;
isUppercutting = false;
isDeath = false;
isDying = false;
chrisHealth = 152;
chargeAmt = 0;
isCharged = false;
timeOnes = 9;
timeTens = 5;
comboMult = 1;
comboFrame = 11;
isEndGame = false;
isGameoverTriggered = false;
levelStartDelay = 30;
levelStartDialogCountdown = 0;
endGameDelay = 60;
endGameDialogCountdown = -1;
stageWidth = 550;
stageHeight = 400;
frameCounter = 0;
i = 0;
j = 0;
k = 0;
isPaused = false;
isPauseable = true;
invincibleDuration = 100;
invincibleCountdown = 0;
currentAnimation = "Stopped";
animationCountdown = 0;
isKeyDownLEFT = false;
isKeyDownRIGHT = false;
isKeyDownUP = false;
isKeyDownDOWN = false;
isKeyDownSPACE = false;
isKeyDownSHIFT = false;
blueStars = new Array();
numBlueStarX = 0;
blueStarCreationLevels = new Array(5, 10, 20, 30, 40, 50);
redStars = new Array();
numRedStarX = 0;
redStarCreationLevels = new Array(75);
enemyPosition = "center";
lastHit = "left";
restartGame();
soundNames = new Array("punch1.mp3", "punch2.mp3", "punch3.mp3", "punch4.mp3", "miss1.mp3", "hurt1.mp3", "hurt2.mp3");
numSounds = 7;
sounds = new Array();
sounds[0] = new punch1();
sounds[1] = new punch2();
sounds[2] = new punch3();
sounds[3] = new punch4();
sounds[4] = new miss1();
sounds[5] = new hurt1();
sounds[6] = new hurt2();
combo.comboAnim.comboCountText.autoSize = TextFieldAutoSize.CENTER;
format = new TextFormat();
format = combo.comboAnim.comboCountText.getTextFormat();
addEventListener(Event.ENTER_FRAME, onFrameEnter);
stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyboardDown);
stage.addEventListener(KeyboardEvent.KEY_UP, onKeyboardUp);
pauseDialog.btnContinue.addEventListener(MouseEvent.CLICK, onUnpauseClick);
framesPerLevel = 250;
player_dX = 0;
ballFallProbability = 20;
ball = new Array();
isChild = new Array();
ballShadow = new Array();
ball_aY = 0.9;
ball_aY_increment = 0.3;
numBalls = 0;
groundY = 362;
}
public function startLevel(){
isStartOfLevel = false;
}
public function hitTestObject1(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Boolean=true, _arg4:int=0xFF):Rectangle{
var _local5:Rectangle;
var _local6:Rectangle;
var _local7:Rectangle;
var _local8:BitmapData;
var _local9:Matrix;
var _local10:Rectangle;
if (_arg1.hitTestObject(_arg2)){
_local5 = _arg1.getBounds(_arg1.parent);
_local6 = _arg2.getBounds(_arg2.parent);
_local7 = _local5.intersection(_local6);
_local7.x = Math.floor(_local7.x);
_local7.y = Math.floor(_local7.y);
_local7.width = Math.ceil(_local7.width);
_local7.height = Math.ceil(_local7.height);
if ((((_local7.width < 1)) || ((_local7.height < 1)))){
return (null);
};
if (!_arg3){
return (_local7);
};
_local8 = new BitmapData(_local7.width, _local7.height, false);
_local9 = _arg1.transform.concatenatedMatrix;
_local9.translate(-(_local7.left), -(_local7.top));
_local8.draw(_arg1, _local9, new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, _arg4));
_local9 = _arg2.transform.concatenatedMatrix;
_local9.translate(-(_local7.left), -(_local7.top));
_local8.draw(_arg2, _local9, new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, _arg4), "difference");
_local10 = _local8.getColorBoundsRect(4294967295, 4278255615);
if (_local10.width == 0){
return (null);
};
_local10.offset(_local7.left, _local7.top);
return (_local10);
//unresolved jump
};
return (null);
}
function frame2(){
stop();
btnPlay.addEventListener(MouseEvent.CLICK, onBtnPlayClick);
btnHowToPlay.addEventListener(MouseEvent.CLICK, onBtnHowToPlayClick);
btnJoinkers.addEventListener(MouseEvent.CLICK, onBtnJoinkersClick);
}
function frame1(){
trackingSid = 4;
trackingGid = 48;
stop();
addEventListener(Event.ENTER_FRAME, loading);
letterNum = 0;
letterNumMax = 0;
hasLetterPlayed = new Array();
hasLetterPlayed[0] = false;
hasLetterPlayed[1] = false;
hasLetterPlayed[2] = false;
hasLetterPlayed[3] = false;
hasLetterPlayed[4] = false;
hasLetterPlayed[5] = false;
hasLetterPlayed[6] = false;
hasLetterPlayed[7] = false;
hasLetterPlayed[8] = false;
hasLetterPlayed[9] = false;
playNextLetter = false;
}
public function restartGame():void{
isGameover = false;
isStartOfLevel = true;
currentLevel = 1;
playerScore = 0;
timerSecOnes = 0;
timerSecTens = 0;
timerMin = 0;
numBlueStars = 0;
numRedStars = 0;
redStarCount = 0;
blueStarCount = 0;
initializeGameSpecificVariables();
}
public function onKeyboardDown(_arg1:KeyboardEvent){
switch (_arg1.keyCode){
case Keyboard.LEFT:
isKeyDownLEFT = true;
break;
case Keyboard.RIGHT:
isKeyDownRIGHT = true;
break;
case Keyboard.UP:
isKeyDownUP = true;
break;
case Keyboard.DOWN:
isKeyDownDOWN = true;
break;
case Keyboard.SPACE:
isKeyDownSPACE = true;
break;
case Keyboard.SHIFT:
isKeyDownSHIFT = true;
break;
};
}
public function displayEndGameScreen():void{
isPaused = true;
isPauseable = false;
endGameDialog.scoreText.text = playerScore;
endGameDialog.x = (stageWidth / 2);
endGameDialog.y = (stageHeight / 2);
setChildIndex(endGameDialog, (this.numChildren - 1));
endGameDialogCountdown = endGameDelay;
}
public function onFrameEnter(_arg1:Event):void{
if (((!(isPaused)) && (!(isGameover)))){
frameCounter++;
if (comboFrame < 100){
comboFrame++;
};
if (isStartOfLevel){
startLevel();
displayLevelStartScreen();
};
createStarsIfReady();
if (!isPlayerDying){
movePlayer();
};
if (!isInvincible){
checkPlayerCollisions();
} else {
handleInvincibility();
};
clearFinishedStarAnimation();
nextLevelIfReady();
handlePlayerAnimation();
moveEnemies();
handleEnemyDeaths();
updateStats();
if ((((chargeAmt > 0.2)) && (!(isCharged)))){
chargeAmt = (chargeAmt - 0.2);
};
if (isUppercutting){
sounds[Math.floor((Math.random() * 4))].play();
if (Math.floor((Math.random() * 3)) == 0){
sounds[(Math.floor((Math.random() * 2)) + 5)].play();
};
};
};
if ((((levelStartDialogCountdown < 0)) && (!(isPauseable)))){
removeLevelStartScreen();
} else {
levelStartDialogCountdown--;
};
if ((((endGameDialogCountdown == 0)) && (!(isGameoverTriggered)))){
isGameoverTriggered = true;
};
if ((((endGameDialogCountdown < 0)) && (!(isPauseable)))){
} else {
if (endGameDialogCountdown > 0){
endGameDialogCountdown--;
};
};
if ((((chrisHealth <= 0)) && (!(isDeath)))){
isDying = true;
enemy.gotoAndPlay("death");
isDeath = true;
scoreBonus.alpha = 1;
scoreBonus.scoreBonusAnim.scoreBonusText.text = ("x" + ((timeOnes + (timeTens * 10)) + 1));
scoreBonus.gotoAndPlay(1);
playerScore = (playerScore * ((timeOnes + (timeTens * 10)) + 1));
};
}
public function handleUppercut(_arg1:Event):void{
_arg1.target.removeEventListener(Event.COMPLETE, handleUppercut);
isUppercutting = false;
}
public function pauseUnpauseGame():void{
if (isPauseable){
if (isPaused){
isPaused = false;
pauseDialog.x = -(stageWidth);
pauseDialog.y = -(stageHeight);
} else {
isPaused = true;
pauseDialog.x = (stageWidth / 2);
pauseDialog.y = (stageHeight / 2);
setChildIndex(pauseDialog, (this.numChildren - 1));
};
};
}
public function handleSpit(_arg1:Event):void{
_arg1.target.removeEventListener(Event.COMPLETE, handleSpit);
stage.removeChild(MovieClip(_arg1.target));
}
public function handlePlayerAnimation():void{
}
public function handleEnemyDeaths():void{
}
public function checkPlayerCollisions(){
}
public function createBlueStar(){
var _local1:BlueStar;
_local1 = new BlueStar();
stage.addChild(_local1);
_local1.addEventListener(Event.COMPLETE, handleSpit);
_local1.x = 454;
_local1.y = 196;
numBlueStars++;
blueStarCount++;
}
public function nextLevelIfReady():void{
}
public function swingLeft():void{
var _local1:int;
var _local2:SpitRight;
if ((((leftHook.currentFrame == 1)) && ((rightHook.currentFrame == 1)))){
if ((((enemyPosition == "center")) || ((((enemyPosition == "left")) && (!(isDying)))))){
isHatReady = true;
enemy.gotoAndPlay("leftHit");
leftHook.gotoAndPlay("hit");
_local1 = (Math.floor((Math.random() * 5)) + 3);
i = 0;
while (i < _local1) {
_local2 = new SpitRight();
stage.addChild(_local2);
_local2.addEventListener(Event.COMPLETE, handleSpit);
_local2.x = ((enemy.x + 240) + Math.floor((Math.random() * 10)));
_local2.y = ((enemy.y + 230) + Math.floor((Math.random() * 10)));
_local2.rotation = (_local2.rotation + (30 + Math.floor((Math.random() * 20))));
_local2.scaleX = (_local2.scaleX + (Math.floor((Math.random() * 5)) * 0.3));
_local2.scaleY = (_local2.scaleY + (Math.floor((Math.random() * 5)) * 0.3));
i++;
};
damageLeft++;
lastHit = "left";
chrisHealth = (chrisHealth - (0.5 + (comboCount * 0.2)));
if (((chargeAmt + 10) + (comboCount * 1.6)) < 100){
chargeAmt = (chargeAmt + (10 + (comboCount * 1.6)));
} else {
chargeAmt = 100;
isCharged = true;
stats.charge.gotoAndPlay(2);
};
if (comboFrame > 10){
comboFrame = 1;
} else {
comboFrame = 1;
};
sounds[Math.floor((Math.random() * 4))].play();
if (Math.floor((Math.random() * 10)) == 0){
sounds[(Math.floor((Math.random() * 2)) + 5)].play();
};
playerScore++;
if (((isLastRight) && (!(isFirstHit)))){
if ((((combo.currentFrame < 25)) || ((comboCount == 0)))){
comboCount++;
combo.alpha = 1;
if ((44 + (comboCount * 2)) < 125){
format.size = (44 + (comboCount * 2));
} else {
format.size = 126;
};
combo.comboAnim.comboCountText.defaultTextFormat = format;
combo.comboAnim.comboCountText.text = ("x" + comboCount);
combo.gotoAndPlay(1);
playerScore = (playerScore + comboCount);
};
};
isLastRight = false;
isFirstHit = false;
} else {
sounds[4].play();
leftHook.gotoAndPlay("miss");
};
};
}
public function handleInvincibility():void{
}
public function initializeGameSpecificVariables():void{
isPlayerDying = false;
playerLives = 5;
killCount = 0;
}
public function moveEnemies(){
if ((((((enemy.currentFrame == 1)) || ((((enemy.currentFrame >= 63)) && ((enemy.currentFrame <= 72)))))) && ((lastHit == "right")))){
if (Math.floor((Math.random() * 20)) == 0){
enemy.gotoAndPlay("rightDodge");
enemyPosition = "left";
};
};
if ((((((enemy.currentFrame == 1)) || ((((enemy.currentFrame >= 47)) && ((enemy.currentFrame <= 55)))))) && ((lastHit == "left")))){
if (Math.floor((Math.random() * 20)) == 0){
enemy.gotoAndPlay("leftDodge");
enemyPosition = "right";
};
};
if ((((((enemy.currentFrame == 1)) || ((enemy.currentFrame == 20)))) || ((enemy.currentFrame == 40)))){
enemyPosition = "center";
};
}
public function loading(_arg1:Event){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = stage.loaderInfo.bytesTotal;
_local3 = stage.loaderInfo.bytesLoaded;
_local4 = Math.round(((_local3 * 100) / _local2));
loadingText.gotoAndPlay(_local4);
letterNumMax = (Math.floor((_local4 / 10)) - 1);
if ((((letterNum <= letterNumMax)) && (!(hasLetterPlayed[letterNum])))){
playNextLetter = true;
};
if (playNextLetter){
switch (letterNum){
case 0:
preloader.mask1.J.play();
break;
case 1:
preloader.mask1.O.play();
break;
case 2:
preloader.mask1.I.play();
break;
case 3:
preloader.mask1.N.play();
break;
case 4:
preloader.mask1.K.play();
break;
case 5:
preloader.mask1._E.play();
break;
case 6:
preloader.mask1.R.play();
break;
case 7:
preloader.mask1.S.play();
break;
case 8:
preloader.mask1.com.play();
break;
case 9:
preloader.mask1.dot.play();
break;
};
playNextLetter = false;
hasLetterPlayed[letterNum] = true;
letterNum++;
};
if (preloader.mask1.dot.currentFrame >= 29){
removeEventListener(Event.ENTER_FRAME, loading);
gotoAndPlay("Title");
};
}
public function onBtnPlayClick(_arg1:MouseEvent):void{
this.gotoAndStop("Game");
}
public function updateStats(){
var _local1:BlurFilter;
var _local2:ColorTransform;
stats.chrisHealthBar.barMask.width = chrisHealth;
stats.charge.barMask.width = chargeAmt;
stats.charge.circleText.rotation = (stats.charge.circleText.rotation + (1 + (chargeAmt * 0.2)));
_local1 = new BlurFilter((chargeAmt * 0.05), (chargeAmt * 0.05), 3);
stats.charge.circleText.filters = [_local1];
_local2 = new ColorTransform(1, 1, 1, 1, (chargeAmt * 3), (chargeAmt * 2), 1, 1);
stats.charge.circleText.transform.colorTransform = _local2;
stats.livesText.text = String(playerLives);
stats.scoreText.text = String(playerScore);
stats.levelText.text = String(currentLevel);
stats.blueStarCountText.text = String(blueStarCount);
stats.redStarCountText.text = String(redStarCount);
comboMult = Math.ceil((-((comboFrame - 101)) / 10));
stats.chrisHealthBar.barColor.gotoAndPlay(comboFrame);
if (comboCount > maxComboCount){
maxComboCount = comboCount;
maxCombo.alpha = 1;
maxCombo.maxComboCountText.text = ("x" + maxComboCount);
};
if (combo.currentFrame == 25){
comboCount = 0;
};
if ((frameCounter % 30) == 0){
if (((!((((timeOnes == 0)) && ((timeTens == 0))))) && (!(isDying)))){
if (timeOnes == 0){
timeOnes = 9;
timeTens--;
} else {
timeOnes--;
};
} else {
if (((!(isEndGame)) && (!(isDying)))){
displayEndGameScreen();
isEndGame = true;
};
};
stats.timeOnesText.text = String(timeOnes);
stats.timeTensText.text = String(timeTens);
if (timerSecOnes == 9){
timerSecOnes = 0;
if (timerSecTens == 5){
timerSecTens = 0;
timerMin++;
} else {
timerSecTens++;
};
} else {
timerSecOnes++;
};
stats.timerSecOnesText.text = String(timerSecOnes);
stats.timerSecTensText.text = String(timerSecTens);
stats.timerMinText.text = String(timerMin);
};
}
public function onBtnHowToPlayClick(_arg1:MouseEvent):void{
howToPlay.alpha = 1;
howToPlay.addEventListener(MouseEvent.CLICK, onHowToPlayClick);
}
public function swingUppercut():void{
if ((((leftHook.currentFrame == 1)) && ((rightHook.currentFrame == 1)))){
if ((((((enemyPosition == "center")) || ((enemyPosition == "left")))) || ((((enemyPosition == "right")) && (!(isDying)))))){
enemy.gotoAndPlay("uppercut");
uppercut.gotoAndPlay("hit");
isUppercutting = true;
uppercut.addEventListener(Event.COMPLETE, handleUppercut);
damageLeft = (damageLeft + 5);
damageRight = (damageRight + 5);
lastHit = "left";
chrisHealth = (chrisHealth - (1.5 * (1 + (comboCount * 0.2))));
chargeAmt = 0;
isCharged = false;
stats.charge.gotoAndStop(1);
if (comboFrame > 10){
comboFrame = 1;
} else {
comboFrame = 1;
};
sounds[Math.floor((Math.random() * 4))].play();
sounds[(Math.floor((Math.random() * 2)) + 5)].play();
playerScore++;
if ((((combo.currentFrame < 25)) || ((comboCount == 0)))){
comboCount = (comboCount + 3);
combo.alpha = 1;
if ((44 + (comboCount * 2)) < 125){
format.size = (44 + (comboCount * 2));
} else {
format.size = 126;
};
combo.comboAnim.comboCountText.defaultTextFormat = format;
combo.comboAnim.comboCountText.text = ("x" + comboCount);
combo.gotoAndPlay(1);
playerScore = (playerScore + (3 * comboCount));
};
isLastRight = false;
isFirstHit = false;
} else {
sounds[4].play();
uppercut.gotoAndPlay("miss");
};
};
}
public function clearFinishedStarAnimation():void{
if ((((numBlueStarX == 1)) && ((blueStarX.currentFrame == 20)))){
removeChild(blueStarX);
numBlueStarX = 0;
};
if ((((numRedStarX == 1)) && ((redStarX.currentFrame == 20)))){
removeChild(redStarX);
numRedStarX = 0;
};
}
public function swingRight():void{
var _local1:int;
var _local2:SpitLeft;
if ((((leftHook.currentFrame == 1)) && ((rightHook.currentFrame == 1)))){
if ((((enemyPosition == "center")) || ((((enemyPosition == "right")) && (!(isDying)))))){
isHatReady = true;
enemy.gotoAndPlay("rightHit");
rightHook.gotoAndPlay("hit");
_local1 = (Math.floor((Math.random() * 5)) + 3);
i = 0;
while (i < _local1) {
_local2 = new SpitLeft();
stage.addChild(_local2);
_local2.addEventListener(Event.COMPLETE, handleSpit);
_local2.x = ((enemy.x - 60) - Math.floor((Math.random() * 10)));
_local2.y = ((enemy.y + 230) + Math.floor((Math.random() * 10)));
_local2.rotation = (_local2.rotation - (30 + Math.floor((Math.random() * 20))));
_local2.scaleX = (_local2.scaleX + (Math.floor((Math.random() * 5)) * 0.3));
_local2.scaleY = (_local2.scaleY + (Math.floor((Math.random() * 5)) * 0.3));
i++;
};
damageRight++;
lastHit = "right";
chrisHealth = (chrisHealth - (0.5 + (comboCount * 0.2)));
if (((chargeAmt + 10) + (comboCount * 1.6)) < 100){
chargeAmt = (chargeAmt + (10 + (comboCount * 1.6)));
} else {
chargeAmt = 100;
isCharged = true;
stats.charge.gotoAndPlay(2);
};
if (comboFrame > 10){
comboFrame = 1;
} else {
comboFrame = 1;
};
sounds[Math.floor((Math.random() * 4))].play();
if (Math.floor((Math.random() * 10)) == 0){
sounds[(Math.floor((Math.random() * 2)) + 5)].play();
};
playerScore++;
if (((!(isLastRight)) && (!(isFirstHit)))){
if ((((combo.currentFrame < 25)) || ((comboCount == 0)))){
comboCount++;
combo.alpha = 1;
if ((44 + (comboCount * 2)) < 125){
format.size = (44 + (comboCount * 2));
} else {
format.size = 126;
};
combo.comboAnim.comboCountText.defaultTextFormat = format;
combo.comboAnim.comboCountText.text = ("x" + comboCount);
combo.gotoAndPlay(1);
playerScore = (playerScore + comboCount);
};
};
isLastRight = true;
isFirstHit = false;
} else {
sounds[4].play();
rightHook.gotoAndPlay("miss");
};
};
}
public function onHowToPlayClick(_arg1:MouseEvent):void{
howToPlay.alpha = 0;
howToPlay.removeEventListener(MouseEvent.CLICK, onHowToPlayClick);
}
public function createRedStar(){
var _local1:RedStar;
_local1 = new RedStar();
stage.addChild(_local1);
_local1.addEventListener(Event.COMPLETE, handleSpit);
_local1.x = 454;
_local1.y = 196;
numRedStars++;
redStarCount++;
}
}
}//package rihannasrevenge_2009_fla
Section 25
//Mask_2 (rihannasrevenge_2009_fla.Mask_2)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Mask_2 extends MovieClip {
public var I:MovieClip;
public var N:MovieClip;
public var K:MovieClip;
public var R:MovieClip;
public var dot:MovieClip;
public var O:MovieClip;
public var S:MovieClip;
public var J:MovieClip;
public var com:MovieClip;
public var _E:MovieClip;
}
}//package rihannasrevenge_2009_fla
Section 26
//maxCombo_64 (rihannasrevenge_2009_fla.maxCombo_64)
package rihannasrevenge_2009_fla {
import flash.display.*;
import flash.text.*;
public dynamic class maxCombo_64 extends MovieClip {
public var maxComboCountText:TextField;
}
}//package rihannasrevenge_2009_fla
Section 27
//mc_preloader_1 (rihannasrevenge_2009_fla.mc_preloader_1)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class mc_preloader_1 extends MovieClip {
public var mask1:MovieClip;
}
}//package rihannasrevenge_2009_fla
Section 28
//Mouth_34 (rihannasrevenge_2009_fla.Mouth_34)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Mouth_34 extends MovieClip {
public function Mouth_34(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 29
//PauseDialog_71 (rihannasrevenge_2009_fla.PauseDialog_71)
package rihannasrevenge_2009_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class PauseDialog_71 extends MovieClip {
public var btnContinue:SimpleButton;
public var btnJoinkers:SimpleButton;
public function PauseDialog_71(){
addFrameScript(0, frame1);
}
function frame1(){
btnJoinkers.addEventListener(MouseEvent.CLICK, onLogoClick);
}
public function onLogoClick(_arg1:MouseEvent):void{
var request1:URLRequest;
var evt = _arg1;
request1 = new URLRequest("http://www.joinkers.com");
try {
navigateToURL(request1, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
}
}//package rihannasrevenge_2009_fla
Section 30
//Preloader_com_11 (rihannasrevenge_2009_fla.Preloader_com_11)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_com_11 extends MovieClip {
public function Preloader_com_11(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 31
//Preloader_dot_12 (rihannasrevenge_2009_fla.Preloader_dot_12)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_dot_12 extends MovieClip {
public function Preloader_dot_12(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 32
//Preloader_E_8 (rihannasrevenge_2009_fla.Preloader_E_8)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_E_8 extends MovieClip {
public function Preloader_E_8(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 33
//Preloader_I_5 (rihannasrevenge_2009_fla.Preloader_I_5)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_I_5 extends MovieClip {
public function Preloader_I_5(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 34
//Preloader_J_3 (rihannasrevenge_2009_fla.Preloader_J_3)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_J_3 extends MovieClip {
public function Preloader_J_3(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 35
//Preloader_K_7 (rihannasrevenge_2009_fla.Preloader_K_7)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_K_7 extends MovieClip {
public function Preloader_K_7(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 36
//Preloader_N_6 (rihannasrevenge_2009_fla.Preloader_N_6)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_N_6 extends MovieClip {
public function Preloader_N_6(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 37
//Preloader_O_4 (rihannasrevenge_2009_fla.Preloader_O_4)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_O_4 extends MovieClip {
public function Preloader_O_4(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 38
//Preloader_R_9 (rihannasrevenge_2009_fla.Preloader_R_9)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_R_9 extends MovieClip {
public function Preloader_R_9(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 39
//Preloader_S_10 (rihannasrevenge_2009_fla.Preloader_S_10)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class Preloader_S_10 extends MovieClip {
public function Preloader_S_10(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 40
//RedStarInner_80 (rihannasrevenge_2009_fla.RedStarInner_80)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class RedStarInner_80 extends MovieClip {
public function RedStarInner_80(){
addFrameScript(98, frame99);
}
function frame99(){
gotoAndPlay(1);
}
}
}//package rihannasrevenge_2009_fla
Section 41
//ScoreBonus_65 (rihannasrevenge_2009_fla.ScoreBonus_65)
package rihannasrevenge_2009_fla {
import flash.display.*;
public dynamic class ScoreBonus_65 extends MovieClip {
public var scoreBonusAnim:MovieClip;
public function ScoreBonus_65(){
addFrameScript(149, frame150);
}
function frame150(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 42
//ScoreBonusAnim_66 (rihannasrevenge_2009_fla.ScoreBonusAnim_66)
package rihannasrevenge_2009_fla {
import flash.display.*;
import flash.text.*;
public dynamic class ScoreBonusAnim_66 extends MovieClip {
public var scoreBonusText:TextField;
}
}//package rihannasrevenge_2009_fla
Section 43
//Stats_51 (rihannasrevenge_2009_fla.Stats_51)
package rihannasrevenge_2009_fla {
import flash.events.*;
import flash.geom.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Stats_51 extends MovieClip {
public var timeTensText:TextField;
public var timerSecTensText:TextField;
public var blueStarCountText:TextField;
public var timeOnesText:TextField;
public var timerSecOnesText:TextField;
public var timerMinText:TextField;
public var redStarCountText:TextField;
public var chrisHealthBar:MovieClip;
public var charge:MovieClip;
public var btnJoinkers:SimpleButton;
public var levelText:TextField;
public var livesText:TextField;
public var scoreText:TextField;
public function Stats_51(){
addFrameScript(0, frame1);
}
function frame1(){
btnJoinkers.addEventListener(MouseEvent.CLICK, onLogoClick);
}
public function onLogoClick(_arg1:MouseEvent):void{
var request1:URLRequest;
var evt = _arg1;
request1 = new URLRequest(((("http://www.joinkers.com/index.php?sid=" + MovieClip(parent).trackingSid) + "&gid=") + MovieClip(parent).trackingGid));
try {
navigateToURL(request1, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
}
}//package rihannasrevenge_2009_fla
Section 44
//Uppercut_50 (rihannasrevenge_2009_fla.Uppercut_50)
package rihannasrevenge_2009_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Uppercut_50 extends MovieClip {
public function Uppercut_50(){
addFrameScript(0, frame1, 13, frame14);
}
function frame14(){
dispatchEvent(new Event(Event.COMPLETE));
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package rihannasrevenge_2009_fla
Section 45
//BlueStar (BlueStar)
package {
import flash.events.*;
import flash.display.*;
public dynamic class BlueStar extends MovieClip {
public function BlueStar(){
addFrameScript(19, frame20);
}
function frame20(){
dispatchEvent(new Event(Event.COMPLETE));
}
}
}//package
Section 46
//BlueStarX (BlueStarX)
package {
import flash.events.*;
import flash.display.*;
public dynamic class BlueStarX extends MovieClip {
public function BlueStarX(){
addFrameScript(19, frame20);
}
function frame20(){
dispatchEvent(new Event(Event.COMPLETE));
}
}
}//package
Section 47
//hurt1 (hurt1)
package {
import flash.media.*;
public dynamic class hurt1 extends Sound {
}
}//package
Section 48
//hurt2 (hurt2)
package {
import flash.media.*;
public dynamic class hurt2 extends Sound {
}
}//package
Section 49
//miss1 (miss1)
package {
import flash.media.*;
public dynamic class miss1 extends Sound {
}
}//package
Section 50
//Preloader (Preloader)
package {
import flash.display.*;
public dynamic class Preloader extends MovieClip {
}
}//package
Section 51
//punch1 (punch1)
package {
import flash.media.*;
public dynamic class punch1 extends Sound {
}
}//package
Section 52
//punch2 (punch2)
package {
import flash.media.*;
public dynamic class punch2 extends Sound {
}
}//package
Section 53
//punch3 (punch3)
package {
import flash.media.*;
public dynamic class punch3 extends Sound {
}
}//package
Section 54
//punch4 (punch4)
package {
import flash.media.*;
public dynamic class punch4 extends Sound {
}
}//package
Section 55
//RedStar (RedStar)
package {
import flash.events.*;
import flash.display.*;
public dynamic class RedStar extends MovieClip {
public function RedStar(){
addFrameScript(19, frame20);
}
function frame20(){
dispatchEvent(new Event(Event.COMPLETE));
}
}
}//package
Section 56
//RedStarX (RedStarX)
package {
import flash.events.*;
import flash.display.*;
public dynamic class RedStarX extends MovieClip {
public function RedStarX(){
addFrameScript(19, frame20);
}
function frame20(){
dispatchEvent(new Event(Event.COMPLETE));
}
}
}//package
Section 57
//SpitLeft (SpitLeft)
package {
import flash.events.*;
import flash.display.*;
public dynamic class SpitLeft extends MovieClip {
public function SpitLeft(){
addFrameScript(9, frame10);
}
function frame10(){
dispatchEvent(new Event(Event.COMPLETE));
}
}
}//package
Section 58
//SpitRight (SpitRight)
package {
import flash.events.*;
import flash.display.*;
public dynamic class SpitRight extends MovieClip {
public function SpitRight(){
addFrameScript(9, frame10);
}
function frame10(){
dispatchEvent(new Event(Event.COMPLETE));
}
}
}//package