Section 1
//IntUtil (com.adobe.utils.IntUtil)
package com.adobe.utils {
public class IntUtil {
private static var hexChars:String = "0123456789abcdef";
public static function toHex(_arg1:int, _arg2:Boolean=false):String{
var _local4:int;
var _local5:int;
var _local3 = "";
if (_arg2){
_local4 = 0;
while (_local4 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15))));
_local4++;
};
} else {
_local5 = 0;
while (_local5 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15))));
_local5++;
};
};
return (_local3);
}
public static function ror(_arg1:int, _arg2:int):uint{
var _local3:int = (32 - _arg2);
return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3))));
}
public static function rol(_arg1:int, _arg2:int):int{
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
}
}//package com.adobe.utils
Section 2
//CSoundMan (local.CSoundMan)
package local {
import flash.media.*;
import flash.events.*;
import flash.net.*;
public class CSoundMan {
public var soundVol:Number;// = 0.9
var bufferList:LList;// = null
var loadSoundAlias:String;// = ""
var loadSound:Sound;// = null
public var loadIndex:int;// = 0
var aliasList:LList;// = null
var loadSoundIsMusic:Boolean;// = false
public var soundOn:Boolean;// = true
var loadSoundURL:String;// = ""
public var musicVol:Number;// = 0.6
var playList:LList;// = null
var loadSoundName:String;// = ""
public var loadPercent:Number;// = 0
public function CSoundMan(){
bufferList = new LList();
playList = new LList();
aliasList = new LList();
loadIndex = 0;
}
function LoaderProgress(_arg1:ProgressEvent){
loadPercent = ((Number(_arg1.bytesLoaded) * 100) / Number(_arg1.bytesTotal));
}
public function SetVolume(_arg1:Boolean, _arg2:Number){
var _local4:SoundPlay;
var _local5:SoundTransform;
if (_arg1 == true){
musicVol = _arg2;
} else {
soundVol = _arg2;
};
var _local3:Iterator = playList.GetIterator();
while (_local3.data != null) {
_local4 = SoundPlay(_local3.data);
_local5 = _local4.s.soundTransform;
if (soundOn == false){
_local5.volume = 0;
} else {
if (_local4.music == true){
_local5.volume = musicVol;
} else {
_local5.volume = soundVol;
};
};
_local4.s.soundTransform = _local5;
_local3.Next();
};
}
public function SoundPlaying(_arg1:String):Boolean{
var _local3:SoundPlay;
var _local2:Iterator = playList.GetIterator();
while (_local2.data != null) {
_local3 = SoundPlay(_local2.data);
if (_local3.sName == _arg1){
return (true);
};
_local2.Next();
};
return (false);
}
public function Play(_arg1:String, _arg2:Boolean=false):String{
var _local5:SoundBuffer;
var _local6:Sound;
var _local7:SoundChannel;
var _local8:SoundTransform;
var _local3:Boolean;
if (_arg1 == ""){
return ("");
};
var _local4:Iterator = bufferList.GetIterator();
while (_local4.data != null) {
_local5 = SoundBuffer(_local4.data);
if (_local5.sName == _arg1){
_local6 = _local5.s;
_local7 = _local6.play(0, ((_arg2 == true)) ? 800000 : 0);
_local8 = _local7.soundTransform;
if (soundOn == false){
_local8.volume = 0;
} else {
if (_local5.music == false){
_local8.volume = soundVol;
} else {
_local8.volume = musicVol;
};
};
_local7.soundTransform = _local8;
playList.Push(new SoundPlay(_arg1, _local7, _local5.music));
_local7.addEventListener(Event.SOUND_COMPLETE, SoundCompleteHandler);
_local3 = true;
break;
};
_local4.Next();
};
if (_local3 == false){
return (Play(GetAlias(_arg1), _arg2));
};
return (_arg1);
}
public function StartLoading(){
if (loadIndex >= aliasList.size){
return;
};
var _local1:SoundAlias = SoundAlias(aliasList[loadIndex]);
loadSoundURL = _local1.sURL;
loadSoundName = _local1.sName;
loadSoundAlias = _local1.alias;
loadSoundIsMusic = _local1.music;
loadSound = new Sound();
loadSound.addEventListener(ProgressEvent.PROGRESS, LoaderProgress);
loadSound.addEventListener(Event.COMPLETE, LoaderComplete);
loadSound.addEventListener(IOErrorEvent.IO_ERROR, LoaderError);
loadSound.load(new URLRequest(loadSoundURL));
}
public function RegisterSound(_arg1:String, _arg2:Sound, _arg3:Boolean){
bufferList.Push(new SoundBuffer(_arg1, _arg2, _arg3));
}
public function StopAll(){
var _local2:SoundPlay;
var _local1:Iterator = playList.GetIterator();
while (_local1.data != null) {
_local2 = SoundPlay(_local1.data);
_local2.s.stop();
_local2.s.removeEventListener(Event.SOUND_COMPLETE, SoundCompleteHandler);
_local1.Remove();
};
}
public function Stop(_arg1:String){
var _local3:SoundPlay;
if (_arg1 == ""){
return;
};
var _local2:Iterator = playList.GetIterator();
while (_local2.data != null) {
_local3 = SoundPlay(_local2.data);
if (_local3.sName == _arg1){
_local3.s.stop();
_local3.s.removeEventListener(Event.SOUND_COMPLETE, SoundCompleteHandler);
_local2.Remove();
} else {
_local2.Next();
};
};
}
public function ToggleMute():Boolean{
var _local2:SoundPlay;
var _local3:SoundTransform;
soundOn = !(soundOn);
var _local1:Iterator = playList.GetIterator();
while (_local1.data != null) {
_local2 = SoundPlay(_local1.data);
_local3 = _local2.s.soundTransform;
if (soundOn == false){
_local3.volume = 0;
} else {
if (_local2.music == true){
_local3.volume = musicVol;
} else {
_local3.volume = soundVol;
};
};
_local2.s.soundTransform = _local3;
_local1.Next();
};
return (soundOn);
}
public function LoadSound(_arg1:String, _arg2:String, _arg3:String, _arg4:Boolean=true){
aliasList.Push(new SoundAlias(_arg1, _arg2, _arg3, _arg4));
}
private function SoundCompleteHandler(_arg1:Event):void{
var _local4:SoundPlay;
var _local2:SoundChannel = SoundChannel(_arg1.target);
var _local3:Iterator = playList.GetIterator();
while (_local3.data != null) {
_local4 = SoundPlay(_local3.data);
if (_local4.s == _local2){
_local4.s.removeEventListener(Event.SOUND_COMPLETE, SoundCompleteHandler);
_local3.Remove();
} else {
_local3.Next();
};
};
}
public function Shutdown(){
}
function LoaderError(_arg1:Event){
trace("sound load failed");
loadSound.removeEventListener(Event.COMPLETE, LoaderComplete);
loadSound.removeEventListener(IOErrorEvent.IO_ERROR, LoaderError);
loadIndex++;
StartLoading();
}
public function SoundPosition(_arg1:String):Number{
var _local4:SoundPlay;
var _local2:Number = 0;
var _local3:Iterator = playList.GetIterator();
while (_local3.data != null) {
_local4 = SoundPlay(_local3.data);
if (_local4.sName == _arg1){
_local2 = _local4.s.position;
};
_local3.Next();
};
return (_local2);
}
function LoaderComplete(_arg1:Event){
RegisterSound(loadSoundName, loadSound, loadSoundIsMusic);
loadSound.removeEventListener(ProgressEvent.PROGRESS, LoaderProgress);
loadSound.removeEventListener(Event.COMPLETE, LoaderComplete);
loadSound.removeEventListener(IOErrorEvent.IO_ERROR, LoaderError);
loadIndex++;
StartLoading();
}
function GetAlias(_arg1:String):String{
var _local3:SoundAlias;
var _local2:Iterator = aliasList.GetIterator();
while (_local2.data != null) {
_local3 = SoundAlias(_local2.data);
if (_local3.sName == _arg1){
return (_local3.alias);
};
_local2.Next();
};
return ("");
}
}
}//package local
Section 3
//dancer (local.dancer)
package local {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class dancer extends MovieClip {
private var mTransIn:Boolean;// = true
public var mDanceMode:String;// = "idle"
public var test:MovieClip;
private var mSwitchAmountFall:int;// = 2000
private var mSwitchFrameTime:int;// = 6000
private var frameIndex:int;// = 1
private var mDocumentClass:MovieClip;
private var mSwitchAmountSpinFall:int;// = 3000
private var mSwitchAmount:int;// = 5000
public var mRoundFailed:Boolean;// = false
public function dancer():void{
addFrameScript(0, frame1);
this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function onEnterFrame(_arg1:Event):void{
var _local2:* = Math.round(getTimer());
if (frameIndex == 14){
if (mTransIn == true){
mSwitchFrameTime = (_local2 + mSwitchAmount);
frameIndex = 15;
} else {
mSwitchFrameTime = (_local2 + mSwitchAmount);
frameIndex = 1;
};
} else {
if (frameIndex == 12){
mSwitchFrameTime = (_local2 + mSwitchAmountSpinFall);
frameIndex = Math.ceil((Math.random() * 4));
mDanceMode = "idle";
} else {
if (frameIndex == 13){
mSwitchFrameTime = (_local2 + mSwitchAmountFall);
frameIndex = Math.ceil((Math.random() * 4));
mDanceMode = "idle";
};
};
};
if ((((_local2 >= mSwitchFrameTime)) && ((mRoundFailed == false)))){
switch (mDanceMode){
case "idle":
frameIndex = Math.ceil((Math.random() * 4));
break;
case "spin":
frameIndex = (4 + Math.ceil((Math.random() * 7)));
mDanceMode = "idle";
break;
case "dude":
break;
};
if (frameIndex < 12){
this.gotoAndStop(frameIndex);
mSwitchFrameTime = (_local2 + mSwitchAmount);
};
};
}
public function resetDancer():void{
frameIndex = 1;
mTransIn = true;
mDanceMode = "idle";
mRoundFailed = false;
}
public function handleTransOut():void{
mTransIn = false;
frameIndex = 14;
mDanceMode = "idle";
this.gotoAndStop(14);
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
}
public function killDancer():void{
frameIndex = 16;
this.gotoAndStop(16);
}
public function dispose():void{
this.removeEventListener(Event.ENTER_FRAME, onEnterFrame);
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
function frame1(){
this.stop();
}
public function endRoundFail():void{
frameIndex = 13;
mRoundFailed = true;
this.gotoAndStop(13);
}
public function handleTransIn():void{
mTransIn = true;
frameIndex = 14;
mDanceMode = "dude";
this.gotoAndStop(14);
}
public function girlFall():void{
if (frameIndex <= 4){
frameIndex = 13;
this.gotoAndStop(13);
} else {
if ((((frameIndex >= 5)) && ((frameIndex <= 11)))){
frameIndex = 12;
this.gotoAndStop(12);
};
};
}
public function setDanceMode(_arg1:String):void{
mDanceMode = _arg1;
}
}
}//package local
Section 4
//documentClass (local.documentClass)
package local {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.accessibility.*;
public class documentClass extends MovieClip {
public const LOADER_FRAME:String = "loader";
public const TITLE_FRAME:String = "title";
public const GAME_FRAME:String = "game";
public var mSong4Locked:Boolean;// = true
public var gameMC:gameEngine;
public var SONG_8_EASY:Array;
public var mSong8LockedPrevious:Boolean;// = true
public var mSong8Locked:Boolean;// = true
public var cmpSetObj:mcClip;
public var SONG_5_HARD:Array;
public var SONG_4_NAME:String;// = "body"
public var mHardLocked:Boolean;// = false
public var mSong4LockedPrevious:Boolean;// = true
public var mWhichStage:int;// = 1
public var mShowVersionNum:int;// = 0
public var mHardLockedPrevious:Boolean;// = false
public var lustLengthHard:Number;// = -1
public var SONG_5_EASY:Array;
public var versionNumber:String;// = "1.70"
public var SONG_1_NAME:String;// = "blip"
public var config:XML;
public var mSong5Locked:Boolean;// = true
public var mGameData:gameData;
public var SONG_2_HARD:Array;
public var lustLengthEasy:Number;// = -1
public var mSong5LockedPrevious:Boolean;// = true
public var mSong2HardNumNotes:int;// = 0
public var mSong4HardNumNotes:int;// = 0
public var SONG_2_EASY:Array;
public var mSong6HardNumNotes:int;// = 0
public var mNewHighScore:Boolean;// = false
public var SONG_6_NAME:String;// = "boogie"
public var mSong8HardNumNotes:int;// = 0
public var SONG_7_HARD:Array;
public var mSong2EasyNumNotes:int;// = 0
public var mSong4EasyNumNotes:int;// = 0
public var mSong6EasyNumNotes:int;// = 0
public var mSong8EasyNumNotes:int;// = 0
public var healthRemovalAmountHard:Number;// = -1
public var SONG_7_EASY:Array;
public var mSong6Locked:Boolean;// = true
public var multiUpdateHard:Number;// = -1
public var selectSongMC:selectScreen;
public var SONG_3_NAME:String;// = "PoleDancer"
public var healthRemovalAmountEasy:Number;// = -1
public var SONG_4_HARD:Array;
public var multiUpdateEasy:Number;// = -1
public var mSong6LockedPrevious:Boolean;// = true
public var SONG_4_EASY:Array;
public var SONG_8_NAME:String;// = "doyouthinkaboutme"
public var soundManager:CSoundMan;
public var SONG_1_HARD:Array;
private var mDocumentClass:MovieClip;
public var mSong3Locked:Boolean;// = true
public var SONG_6_HARD:Array;
public var mSong7Locked:Boolean;// = true
public var mDifficultySelected:int;// = 1
public var SONG_5_NAME:String;// = "blipsqueak"
public var mHasPlayedOnce:Boolean;// = false
public var healthUpdateHard:Number;// = -1
public var SONG_1_EASY:Array;
public var SONG_6_EASY:Array;
public var mSong7LockedPrevious:Boolean;// = true
public var mSong3HardNumNotes:int;// = 0
public var mSong7HardNumNotes:int;// = 0
public var mSongSelected:int;// = 0
public var SONG_3_HARD:Array;
public var mJustWon:Boolean;// = false
public var loaderMC:loader;
public var mSong3LockedPrevious:Boolean;// = true
public var mSong1EasyNumNotes:int;// = 0
public var mSong1HardNumNotes:int;// = 0
public var titleMC:title;
public var mSong5EasyNumNotes:int;// = 0
public var mSong5HardNumNotes:int;// = 0
public var mSong7EasyNumNotes:int;// = 0
public var mSong3EasyNumNotes:int;// = 0
public var healthUpdateEasy:Number;// = -1
public var SONG_3_EASY:Array;
public var SONG_2_NAME:String;// = "sex"
public var SONG_8_HARD:Array;
public var SONG_7_NAME:String;// = "hardon"
protected static var _instance:documentClass;
public function documentClass():void{
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
if (_instance){
throw (new Error("CAN NOT INSTANTIATE DOCUMENT CLASS - USE <DocumentClassName>.getInstance()"));
};
_instance = this;
var _local1:int;
while (_local1 < currentLabels.length) {
addFrameScript((currentLabels[_local1].frame - 1), dispatchFrameEvent);
_local1++;
};
soundManager = new CSoundMan();
soundManager.RegisterSound("buttonOver", new S_MouseOver(), false);
soundManager.RegisterSound("buttonDown", new S_MouseDown(), false);
soundManager.RegisterSound("error1", new S_Error1(), false);
soundManager.RegisterSound("error0", new S_Error0(), false);
soundManager.RegisterSound("targetMiss", new S_target_miss(), false);
soundManager.RegisterSound("levelComplete", new S_level_complete(), false);
soundManager.RegisterSound("levelUnlocked", new S_leveL_unlocked(), false);
soundManager.RegisterSound("levelFailed", new S_level_failed(), false);
soundManager.RegisterSound("audienceUnhappy", new S_audience_unhappy(), false);
soundManager.RegisterSound("audienceIdle", new S_audience_idle(), false);
soundManager.RegisterSound("audienceExcited", new S_audience_excited(), false);
soundManager.RegisterSound("audienceEcstatic", new S_audience_ecstatic(), false);
soundManager.RegisterSound("badTarget", new S_bad_target(), false);
soundManager.RegisterSound("lustAvailable", new S_lust_available(), false);
soundManager.RegisterSound("lustActivated", new S_lust_activated(), false);
soundManager.RegisterSound("girlFall1", new S_girl_fall1(), false);
soundManager.RegisterSound("girlFall0", new S_girl_fall0(), false);
soundManager.RegisterSound("corkPop", new S_cork_pop(), false);
soundManager.RegisterSound("jeer1", new S_jeer1(), false);
soundManager.RegisterSound("jeer2", new S_jeer2(), false);
soundManager.RegisterSound("jeer3", new S_jeer3(), false);
soundManager.RegisterSound("jeer4", new S_jeer4(), false);
soundManager.RegisterSound("jeer5", new S_jeer5(), false);
soundManager.RegisterSound("jeer6", new S_jeer6(), false);
soundManager.RegisterSound("level1Cheer1", new S_level1Cheer1(), false);
soundManager.RegisterSound("level1Cheer2", new S_level1Cheer2(), false);
soundManager.RegisterSound("level1Cheer3", new S_level1Cheer3(), false);
soundManager.RegisterSound("level1Cheer4", new S_level1Cheer4(), false);
soundManager.RegisterSound("level2Cheer1", new S_level2Cheer1(), false);
soundManager.RegisterSound("level2Cheer2", new S_level2Cheer2(), false);
soundManager.RegisterSound("level2Cheer3", new S_level2Cheer3(), false);
soundManager.RegisterSound("level2Cheer4", new S_level2Cheer4(), false);
soundManager.RegisterSound("level3Cheer1", new S_level3Cheer1(), false);
soundManager.RegisterSound("level3Cheer2", new S_level3Cheer2(), false);
soundManager.RegisterSound("level3Cheer3", new S_level3Cheer3(), false);
soundManager.RegisterSound("level3Cheer4", new S_level3Cheer4(), false);
soundManager.RegisterSound("menuSong", new S_MenuSong(), true);
soundManager.RegisterSound("sex", new S_sex_mono(), true);
soundManager.RegisterSound("boogie", new S_boogie_mono(), true);
soundManager.RegisterSound("body", new S_body_mono(), true);
soundManager.RegisterSound("blip", new S_house_mono(), true);
soundManager.RegisterSound("blipsqueak", new S_blipsqueak(), true);
soundManager.RegisterSound("doyouthinkaboutme", new S_doyouthinkaboutme(), true);
soundManager.RegisterSound("hardon", new S_hardon(), true);
soundManager.RegisterSound("PoleDancer", new S_PoleDancer(), true);
soundManager.StartLoading();
mGameData = new gameData(this);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.stageFocusRect = false;
loadConfiguration();
readSharedObject();
this.root.accessibilityProperties = new AccessibilityProperties();
this.root.accessibilityProperties.silent = true;
}
protected function loadConfiguration(){
var loader:URLLoader;
var configURL = "config.xml";
if (loaderInfo.parameters.configurl != null){
configURL = loaderInfo.parameters.configurl;
};
try {
loader = new URLLoader(new URLRequest(configURL));
loader.addEventListener(Event.COMPLETE, configLoaded, false, 0, true);
loader.addEventListener(IOErrorEvent.IO_ERROR, ioError, false, 0, true);
loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityError, false, 0, true);
} catch(err:Error) {
trace("Error loading configuration. No back-end functionality will be available.");
trace((" " + err));
};
}
protected function configLoaded(_arg1:Event){
var _local2 = "";
var _local3 = "";
var _local4 = "";
var _local5 = "";
var _local6 = "";
var _local7 = "";
var _local8 = "";
var _local9 = "";
var _local10 = "";
var _local11 = "";
var _local12 = "";
var _local13 = "";
var _local14 = "";
var _local15 = "";
var _local16 = "";
var _local17 = "";
config = new XML(_arg1.target.data);
if (config.song1easy){
_local2 = config.song1easy;
};
if (config.song1hard){
_local3 = config.song1hard;
};
if (config.song2easy){
_local4 = config.song2easy;
};
if (config.song2hard){
_local5 = config.song2hard;
};
if (config.song3easy){
_local6 = config.song3easy;
};
if (config.song3hard){
_local7 = config.song3hard;
};
if (config.song4easy){
_local8 = config.song4easy;
};
if (config.song4hard){
_local9 = config.song4hard;
};
if (config.song5easy){
_local10 = config.song5easy;
};
if (config.song5hard){
_local11 = config.song5hard;
};
if (config.song6easy){
_local12 = config.song6easy;
};
if (config.song6hard){
_local13 = config.song6hard;
};
if (config.song7easy){
_local14 = config.song7easy;
};
if (config.song7hard){
_local15 = config.song7hard;
};
if (config.song8easy){
_local16 = config.song8easy;
};
if (config.song8hard){
_local17 = config.song8hard;
};
if (config.healthUpdateEasy){
healthUpdateEasy = config.healthUpdateEasy;
};
if (config.multiUpdateEasy){
multiUpdateEasy = config.multiUpdateEasy;
};
if (config.lustLengthEasy){
lustLengthEasy = config.lustLengthEasy;
};
if (config.healthRemovalAmountEasy){
healthRemovalAmountEasy = config.healthRemovalAmountEasy;
};
trace(("healthRemovalAmountEasy " + healthRemovalAmountEasy));
if (config.healthUpdateHard){
healthUpdateHard = config.healthUpdateHard;
};
if (config.multiUpdateHard){
multiUpdateHard = config.multiUpdateHard;
};
if (config.lustLengthHard){
lustLengthHard = config.lustLengthHard;
};
if (config.healthRemovalAmountHard){
healthRemovalAmountHard = config.healthRemovalAmountHard;
};
if (config.showVersionNum){
mShowVersionNum = config.showVersionNum;
};
SONG_1_EASY = _local2.split(",");
var _local18:Array = [];
var _local19:int;
var _local20:int;
_local19 = 0;
while (_local19 < SONG_1_EASY.length) {
_local18 = SONG_1_EASY[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong1EasyNumNotes++;
if (_local18[_local20] == 12){
mSong1EasyNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong1EasyNumNotes = (mSong1EasyNumNotes + 3);
};
};
};
_local20++;
};
SONG_1_EASY[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_1_HARD = _local3.split(",");
_local19 = 0;
while (_local19 < SONG_1_HARD.length) {
_local18 = SONG_1_HARD[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong1HardNumNotes++;
if (_local18[_local20] == 12){
mSong1HardNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong1HardNumNotes = (mSong1HardNumNotes + 3);
};
};
};
_local20++;
};
SONG_1_HARD[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_2_EASY = _local4.split(",");
_local19 = 0;
while (_local19 < SONG_2_EASY.length) {
_local18 = SONG_2_EASY[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong2EasyNumNotes++;
if (_local18[_local20] == 12){
mSong2EasyNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong2EasyNumNotes = (mSong2EasyNumNotes + 3);
};
};
};
_local20++;
};
SONG_2_EASY[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_2_HARD = _local5.split(",");
_local19 = 0;
while (_local19 < SONG_2_HARD.length) {
_local18 = SONG_2_HARD[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong2HardNumNotes++;
if (_local18[_local20] == 12){
mSong2HardNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong2HardNumNotes = (mSong2HardNumNotes + 3);
};
};
};
_local20++;
};
SONG_2_HARD[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_3_EASY = _local6.split(",");
_local19 = 0;
while (_local19 < SONG_3_EASY.length) {
_local18 = SONG_3_EASY[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong3EasyNumNotes++;
if (_local18[_local20] == 12){
mSong3EasyNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong3EasyNumNotes = (mSong3EasyNumNotes + 3);
};
};
};
_local20++;
};
SONG_3_EASY[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_3_HARD = _local7.split(",");
_local19 = 0;
while (_local19 < SONG_3_HARD.length) {
_local18 = SONG_3_HARD[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong3HardNumNotes++;
if (_local18[_local20] == 12){
mSong3HardNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong3HardNumNotes = (mSong3HardNumNotes + 3);
};
};
};
_local20++;
};
SONG_3_HARD[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_4_EASY = _local8.split(",");
_local19 = 0;
while (_local19 < SONG_4_EASY.length) {
_local18 = SONG_4_EASY[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong4EasyNumNotes++;
if (_local18[_local20] == 12){
mSong4EasyNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong4EasyNumNotes = (mSong4EasyNumNotes + 3);
};
};
};
_local20++;
};
SONG_4_EASY[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_4_HARD = _local9.split(",");
_local19 = 0;
while (_local19 < SONG_4_HARD.length) {
_local18 = SONG_4_HARD[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong4HardNumNotes++;
if (_local18[_local20] == 12){
mSong4HardNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong4HardNumNotes = (mSong4HardNumNotes + 3);
};
};
};
_local20++;
};
SONG_4_HARD[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_5_EASY = _local10.split(",");
_local19 = 0;
while (_local19 < SONG_5_EASY.length) {
_local18 = SONG_5_EASY[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong5EasyNumNotes++;
if (_local18[_local20] == 12){
mSong5EasyNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong5EasyNumNotes = (mSong5EasyNumNotes + 3);
};
};
};
_local20++;
};
SONG_5_EASY[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_5_HARD = _local11.split(",");
_local19 = 0;
while (_local19 < SONG_5_HARD.length) {
_local18 = SONG_5_HARD[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong5HardNumNotes++;
if (_local18[_local20] == 12){
mSong5HardNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong5HardNumNotes = (mSong5HardNumNotes + 3);
};
};
};
_local20++;
};
SONG_5_HARD[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_6_EASY = _local12.split(",");
_local19 = 0;
while (_local19 < SONG_6_EASY.length) {
_local18 = SONG_6_EASY[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong6EasyNumNotes++;
if (_local18[_local20] == 12){
mSong6EasyNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong6EasyNumNotes = (mSong6EasyNumNotes + 3);
};
};
};
_local20++;
};
SONG_6_EASY[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_6_HARD = _local13.split(",");
_local19 = 0;
while (_local19 < SONG_6_HARD.length) {
_local18 = SONG_6_HARD[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong6HardNumNotes++;
if (_local18[_local20] == 12){
mSong6HardNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong6HardNumNotes = (mSong6HardNumNotes + 3);
};
};
};
_local20++;
};
SONG_6_HARD[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_7_EASY = _local14.split(",");
_local19 = 0;
while (_local19 < SONG_7_EASY.length) {
_local18 = SONG_7_EASY[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong7EasyNumNotes++;
if (_local18[_local20] == 12){
mSong7EasyNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong7EasyNumNotes = (mSong7EasyNumNotes + 3);
};
};
};
_local20++;
};
SONG_7_EASY[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_7_HARD = _local15.split(",");
_local19 = 0;
while (_local19 < SONG_7_HARD.length) {
_local18 = SONG_7_HARD[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong7HardNumNotes++;
if (_local18[_local20] == 12){
mSong7HardNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong7HardNumNotes = (mSong7HardNumNotes + 3);
};
};
};
_local20++;
};
SONG_7_HARD[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_8_EASY = _local16.split(",");
_local19 = 0;
while (_local19 < SONG_8_EASY.length) {
_local18 = SONG_8_EASY[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong8EasyNumNotes++;
if (_local18[_local20] == 12){
mSong8EasyNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong8EasyNumNotes = (mSong8EasyNumNotes + 3);
};
};
};
_local20++;
};
SONG_8_EASY[_local19] = _local18;
_local18 = [];
_local19++;
};
SONG_8_HARD = _local17.split(",");
_local19 = 0;
while (_local19 < SONG_8_HARD.length) {
_local18 = SONG_8_HARD[_local19].split(".");
_local20 = 0;
while (_local20 < _local18.length) {
if ((((_local18[_local20] > 0)) && (!((_local18[_local20] == 10))))){
mSong8HardNumNotes++;
if (_local18[_local20] == 12){
mSong8HardNumNotes++;
} else {
if ((((_local18[_local20] == 14)) || ((_local18[_local20] == 24)))){
mSong8HardNumNotes = (mSong8HardNumNotes + 3);
};
};
};
_local20++;
};
SONG_8_HARD[_local19] = _local18;
_local18 = [];
_local19++;
};
trace(("mSong1EasyNumNotes: " + mSong1EasyNumNotes));
trace(("mSong1HardNumNotes: " + mSong1HardNumNotes));
trace(("mSong2EasyNumNotes: " + mSong2EasyNumNotes));
trace(("mSong2HardNumNotes: " + mSong2HardNumNotes));
trace(("mSong3EasyNumNotes: " + mSong3EasyNumNotes));
trace(("mSong3HardNumNotes: " + mSong3HardNumNotes));
trace(("mSong4EasyNumNotes: " + mSong4EasyNumNotes));
trace(("mSong4HardNumNotes: " + mSong4HardNumNotes));
trace(("mSong5EasyNumNotes: " + mSong5EasyNumNotes));
trace(("mSong5HardNumNotes: " + mSong5HardNumNotes));
trace(("mSong6EasyNumNotes: " + mSong6EasyNumNotes));
trace(("mSong6HardNumNotes: " + mSong6HardNumNotes));
trace(("mSong7EasyNumNotes: " + mSong7EasyNumNotes));
trace(("mSong7HardNumNotes: " + mSong7HardNumNotes));
trace(("mSong8EasyNumNotes: " + mSong8EasyNumNotes));
trace(("mSong8HardNumNotes: " + mSong8HardNumNotes));
}
public function startGameMusic():void{
switch (mWhichStage){
case 1:
case 2:
playSound(SONG_1_NAME);
break;
case 3:
case 4:
playSound(SONG_2_NAME);
break;
case 5:
case 6:
playSound(SONG_3_NAME);
break;
case 7:
case 8:
playSound(SONG_4_NAME);
break;
case 9:
case 10:
playSound(SONG_5_NAME);
break;
case 11:
case 12:
playSound(SONG_6_NAME);
break;
case 13:
case 14:
playSound(SONG_7_NAME);
break;
case 15:
case 16:
playSound(SONG_8_NAME);
break;
};
}
public function getStageData(_arg1:int):Array{
var _local2:Array = [];
switch (mWhichStage){
case 1:
_local2 = SONG_1_EASY[_arg1];
break;
case 2:
_local2 = SONG_1_HARD[_arg1];
break;
case 3:
_local2 = SONG_2_EASY[_arg1];
break;
case 4:
_local2 = SONG_2_HARD[_arg1];
break;
case 5:
_local2 = SONG_3_EASY[_arg1];
break;
case 6:
_local2 = SONG_3_HARD[_arg1];
break;
case 7:
_local2 = SONG_4_EASY[_arg1];
break;
case 8:
_local2 = SONG_4_HARD[_arg1];
break;
case 9:
_local2 = SONG_5_EASY[_arg1];
break;
case 10:
_local2 = SONG_5_HARD[_arg1];
break;
case 11:
_local2 = SONG_6_EASY[_arg1];
break;
case 12:
_local2 = SONG_6_HARD[_arg1];
break;
case 13:
_local2 = SONG_7_EASY[_arg1];
break;
case 14:
_local2 = SONG_7_HARD[_arg1];
break;
case 15:
_local2 = SONG_8_EASY[_arg1];
break;
case 16:
_local2 = SONG_8_HARD[_arg1];
break;
};
return (_local2);
}
public function handleUnlockAndSave():void{
mJustWon = true;
if (mSongSelected == 1){
mSong3Locked = false;
setData("setLock1", 1);
};
if (mSongSelected == 2){
mSong3Locked = false;
setData("setLock2", 1);
};
if (mSongSelected == 3){
mSong4Locked = false;
setData("setLock3", 1);
};
if (mSongSelected == 4){
mSong5Locked = false;
setData("setLock4", 1);
};
if (mSongSelected == 5){
mSong6Locked = false;
setData("setLock5", 1);
};
if (mSongSelected == 6){
mSong7Locked = false;
setData("setLock6", 1);
};
if (mSongSelected == 7){
mSong8Locked = false;
setData("setLock7", 1);
};
if (mSongSelected == 8){
setData("setLock8", 1);
};
writeSharedObject();
}
public function readSharedObject():void{
trace("readSharedObject");
var _local1:SharedObject = SharedObject.getLocal("PoleDancerUserData");
if (_local1.data.name == undefined){
trace("SHARED OBJECT NULL");
writeSharedObject();
} else {
mHardLocked = _local1.data.hardLocked;
mSong3Locked = _local1.data.song3Locked;
mSong4Locked = _local1.data.song4Locked;
mSong5Locked = _local1.data.song5Locked;
mSong6Locked = _local1.data.song6Locked;
mSong7Locked = _local1.data.song7Locked;
mSong8Locked = _local1.data.song8Locked;
mHardLockedPrevious = mHardLocked;
mSong3LockedPrevious = mSong3Locked;
mSong4LockedPrevious = mSong4Locked;
mSong5LockedPrevious = mSong5Locked;
mSong6LockedPrevious = mSong6Locked;
mSong7LockedPrevious = mSong7Locked;
mSong8LockedPrevious = mSong8Locked;
setData("setScore1", _local1.data.song1Score);
setData("setScore2", _local1.data.song2Score);
setData("setScore3", _local1.data.song3Score);
setData("setScore4", _local1.data.song4Score);
setData("setScore5", _local1.data.song5Score);
setData("setScore6", _local1.data.song6Score);
setData("setScore7", _local1.data.song7Score);
setData("setScore8", _local1.data.song8Score);
setData("setAccuracy1", _local1.data.accuracy1);
setData("setAccuracy2", _local1.data.accuracy2);
setData("setAccuracy3", _local1.data.accuracy3);
setData("setAccuracy4", _local1.data.accuracy4);
setData("setAccuracy5", _local1.data.accuracy5);
setData("setAccuracy6", _local1.data.accuracy6);
setData("setAccuracy7", _local1.data.accuracy7);
setData("setAccuracy8", _local1.data.accuracy8);
if (_local1.data.song1Score > 0){
setData("setLock1", 1);
};
if (_local1.data.song2Score > 0){
setData("setLock2", 1);
};
if (_local1.data.song3Score > 0){
setData("setLock3", 1);
};
if (_local1.data.song4Score > 0){
setData("setLock4", 1);
};
if (_local1.data.song5Score > 0){
setData("setLock5", 1);
};
if (_local1.data.song6Score > 0){
setData("setLock6", 1);
};
if (_local1.data.song7Score > 0){
setData("setLock7", 1);
};
if (_local1.data.song8Score > 0){
setData("setLock8", 1);
};
};
}
public function setData(_arg1:String, _arg2:uint=0):void{
mGameData.setData(_arg1, _arg2);
}
public function stopSound(_arg1:String):void{
if (isSoundPlaying(_arg1) == true){
soundManager.Stop(_arg1);
};
}
public function dispose():void{
}
public function getGameMusicPosition():Number{
var _local1:int;
switch (mWhichStage){
case 1:
case 2:
_local1 = getSoundPosition(SONG_1_NAME);
break;
case 3:
case 4:
_local1 = getSoundPosition(SONG_2_NAME);
break;
case 5:
case 6:
_local1 = getSoundPosition(SONG_3_NAME);
break;
case 7:
case 8:
_local1 = getSoundPosition(SONG_4_NAME);
break;
case 9:
case 10:
_local1 = getSoundPosition(SONG_5_NAME);
break;
case 11:
case 12:
_local1 = getSoundPosition(SONG_6_NAME);
break;
case 13:
case 14:
_local1 = getSoundPosition(SONG_7_NAME);
break;
case 15:
case 16:
_local1 = getSoundPosition(SONG_8_NAME);
break;
};
return (_local1);
}
protected function dispatchFrameEvent():void{
dispatchEvent(new Event(currentLabel));
trace(("dispatchFrameEvent() currentLabel:" + currentLabel));
switch (currentLabel){
case "loader":
this.stop();
loaderMC.setDocumentClass(this);
break;
case "title":
this.stop();
titleMC.setDocumentClass(this);
setVersionNum();
break;
case "selectScreen":
this.stop();
selectSongMC.setDocumentClass(this);
break;
case "game":
this.stop();
gameMC.setDocumentClass(this);
break;
};
}
public function playSound(_arg1:String, _arg2:Boolean=false):String{
return (soundManager.Play(_arg1, _arg2));
}
public function getStageLength():int{
var _local1:int;
switch (mWhichStage){
case 1:
_local1 = SONG_1_EASY.length;
break;
case 2:
_local1 = SONG_1_HARD.length;
break;
case 3:
_local1 = SONG_2_EASY.length;
break;
case 4:
_local1 = SONG_2_HARD.length;
break;
case 5:
_local1 = SONG_3_EASY.length;
break;
case 6:
_local1 = SONG_3_HARD.length;
break;
case 7:
_local1 = SONG_4_EASY.length;
break;
case 8:
_local1 = SONG_4_HARD.length;
break;
case 9:
_local1 = SONG_5_EASY.length;
break;
case 10:
_local1 = SONG_5_HARD.length;
break;
case 11:
_local1 = SONG_6_EASY.length;
break;
case 12:
_local1 = SONG_6_HARD.length;
break;
case 13:
_local1 = SONG_7_EASY.length;
break;
case 14:
_local1 = SONG_7_HARD.length;
break;
case 15:
_local1 = SONG_8_EASY.length;
break;
case 16:
_local1 = SONG_8_HARD.length;
break;
};
return (_local1);
}
public function getStage():int{
return (mWhichStage);
}
public function initGameNewSong():void{
mGameData.initGameNewSong();
}
public function isMuted():Boolean{
return (soundManager.soundOn);
}
function frame2(){
this.stop();
}
function frame3(){
this.stop();
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
function frame5(){
this.stop();
}
public function getNumNotes():int{
var _local1:int;
switch (mWhichStage){
case 1:
_local1 = mSong1EasyNumNotes;
break;
case 2:
_local1 = mSong1HardNumNotes;
break;
case 3:
_local1 = mSong2EasyNumNotes;
break;
case 4:
_local1 = mSong2HardNumNotes;
break;
case 5:
_local1 = mSong3EasyNumNotes;
break;
case 6:
_local1 = mSong3HardNumNotes;
break;
case 7:
_local1 = mSong4EasyNumNotes;
break;
case 8:
_local1 = mSong4HardNumNotes;
break;
case 9:
_local1 = mSong5EasyNumNotes;
break;
case 10:
_local1 = mSong5HardNumNotes;
break;
case 11:
_local1 = mSong6EasyNumNotes;
break;
case 12:
_local1 = mSong6HardNumNotes;
break;
case 13:
_local1 = mSong7EasyNumNotes;
break;
case 14:
_local1 = mSong7HardNumNotes;
break;
case 15:
_local1 = mSong8EasyNumNotes;
break;
case 16:
_local1 = mSong8HardNumNotes;
break;
};
return (_local1);
}
function frame1(){
this.stop();
}
function formatAsDollars(_arg1:Number):String{
var _local5:Number;
var _local2:String = String(_arg1);
var _local3:* = _local2.split(".");
var _local4:Array = new Array();
var _local6:Number = _local3[0].length;
while (_local6 > 0) {
_local5 = Math.max((_local6 - 3), 0);
_local4.unshift(_local3[0].slice(_local5, _local6));
_local6 = _local5;
};
_local3[0] = _local4.join(",");
return (_local3.join("."));
}
public function addScore(_arg1:uint):void{
setData("addScore", _arg1);
gameMC.setScoreText(requestData("getScore"));
}
function frame4(){
this.stop();
}
public function writeSharedObject():void{
trace("writeSharedObject");
var _local1:SharedObject = SharedObject.getLocal("PoleDancerUserData");
_local1.data.name = "PoleDancerUserData";
_local1.data.hardLocked = mHardLocked;
_local1.data.song3Locked = mSong3Locked;
_local1.data.song4Locked = mSong4Locked;
_local1.data.song5Locked = mSong5Locked;
_local1.data.song6Locked = mSong6Locked;
_local1.data.song7Locked = mSong7Locked;
_local1.data.song8Locked = mSong8Locked;
if (requestData("getLock1") == 1){
_local1.data.song1Score = requestData("getScore1");
_local1.data.accuracy1 = requestData("getAccuracy1");
} else {
_local1.data.song1Score = 0;
};
if (requestData("getLock2") == 1){
_local1.data.song2Score = requestData("getScore2");
_local1.data.accuracy2 = requestData("getAccuracy2");
} else {
_local1.data.song2Score = 0;
};
if (requestData("getLock3") == 1){
_local1.data.song3Score = requestData("getScore3");
_local1.data.accuracy3 = requestData("getAccuracy3");
} else {
_local1.data.song3Score = 0;
};
if (requestData("getLock4") == 1){
_local1.data.song4Score = requestData("getScore4");
_local1.data.accuracy4 = requestData("getAccuracy4");
} else {
_local1.data.song4Score = 0;
};
if (requestData("getLock5") == 1){
_local1.data.song5Score = requestData("getScore5");
_local1.data.accuracy5 = requestData("getAccuracy5");
} else {
_local1.data.song5Score = 0;
};
if (requestData("getLock6") == 1){
_local1.data.song6Score = requestData("getScore6");
_local1.data.accuracy6 = requestData("getAccuracy6");
} else {
_local1.data.song6Score = 0;
};
if (requestData("getLock7") == 1){
_local1.data.song7Score = requestData("getScore7");
_local1.data.accuracy7 = requestData("getAccuracy7");
} else {
_local1.data.song7Score = 0;
};
if (requestData("getLock8") == 1){
_local1.data.song8Score = requestData("getScore8");
_local1.data.accuracy8 = requestData("getAccuracy8");
} else {
_local1.data.song8Score = 0;
};
_local1.flush();
_local1.close();
}
public function setVersionNum():void{
trace(("mShowVersionNum " + mShowVersionNum));
if (mShowVersionNum == 1){
titleMC.versionNum.text = ("v" + versionNumber);
};
}
protected function ioError(_arg1:IOErrorEvent){
trace(("IO Error occurred when loading data: " + _arg1.text));
}
public function toggleMute():Boolean{
return (soundManager.ToggleMute());
}
public function isSoundPlaying(_arg1:String):Boolean{
return (soundManager.SoundPlaying(_arg1));
}
public function getSoundPosition(_arg1:String):Number{
return (soundManager.SoundPosition(_arg1));
}
protected function securityError(_arg1:SecurityErrorEvent){
trace(("Security Error occurred when loading data: " + _arg1.text));
}
public function stopGameMusic():void{
switch (mWhichStage){
case 1:
case 2:
stopSound(SONG_1_NAME);
break;
case 3:
case 4:
stopSound(SONG_2_NAME);
break;
case 5:
case 6:
stopSound(SONG_3_NAME);
break;
case 7:
case 8:
stopSound(SONG_4_NAME);
break;
case 9:
case 10:
stopSound(SONG_5_NAME);
break;
case 11:
case 12:
stopSound(SONG_6_NAME);
break;
case 13:
case 14:
stopSound(SONG_7_NAME);
break;
case 15:
case 16:
stopSound(SONG_8_NAME);
break;
};
}
public function postAsScore():void{
cmpSetObj.local2 = requestData("getTotalScore");
cmpSetObj.local1 = 2073;
cmpSetObj.clearListeners();
}
public function setStage(_arg1:int):void{
mWhichStage = _arg1;
}
public function isSongPlaying():Boolean{
var _local1:Boolean;
switch (mWhichStage){
case 1:
case 2:
_local1 = soundManager.SoundPlaying(SONG_1_NAME);
break;
case 3:
case 4:
_local1 = soundManager.SoundPlaying(SONG_2_NAME);
break;
case 5:
case 6:
_local1 = soundManager.SoundPlaying(SONG_3_NAME);
break;
case 7:
case 8:
_local1 = soundManager.SoundPlaying(SONG_4_NAME);
break;
case 9:
case 10:
_local1 = soundManager.SoundPlaying(SONG_5_NAME);
break;
case 11:
case 12:
_local1 = soundManager.SoundPlaying(SONG_6_NAME);
break;
case 13:
case 14:
_local1 = soundManager.SoundPlaying(SONG_7_NAME);
break;
case 15:
case 16:
_local1 = soundManager.SoundPlaying(SONG_8_NAME);
break;
};
return (_local1);
}
public function stopTitleMusic():void{
stopSound("menuSong");
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
}
public function requestData(_arg1:String):uint{
return (mGameData.requestData(_arg1));
}
public static function getInstance():documentClass{
return (_instance);
}
}
}//package local
Section 5
//EnumeratedType (local.EnumeratedType)
package local {
public dynamic class EnumeratedType {
private var mTypeNames:Array;
public function EnumeratedType(_arg1:Array){
mTypeNames = _arg1;
var _local2:* = 0;
while (_local2 < _arg1.length) {
this[_arg1[_local2]] = _local2;
_local2++;
};
}
public function getNum(_arg1:String):Number{
var _local2:Number = -1;
var _local3:* = 0;
while (_local3 < mTypeNames.length) {
if (mTypeNames[_local3] == _arg1){
_local2 = _local3;
return (_local2);
};
_local3++;
};
throw (new Error((_arg1 + " is not an Enumerated Value!")));
}
public function getName(_arg1:Number):String{
if ((((_arg1 >= 0)) && ((_arg1 < mTypeNames.length)))){
return (mTypeNames[_arg1]);
};
throw (new Error("INDEX IS OUT OF RANGE"));
}
public function getNumTypes():uint{
return (mTypeNames.length);
}
public function append(_arg1:Array){
var _local2:* = mTypeNames.concat(_arg1);
mTypeNames = _local2;
var _local3:* = 0;
while (_local3 < mTypeNames.length) {
this[mTypeNames[_local3]] = _local3;
_local3++;
};
}
}
}//package local
Section 6
//gameData (local.gameData)
package local {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class gameData extends MovieClip {
private var mMuted:Boolean;// = false
private var mLevel:uint;// = 0
private var mScore:uint;// = 0
private var mScore1:uint;// = 0
private var mScore2:uint;// = 0
private var mScore4:uint;// = 0
private var mScore5:uint;// = 0
private var mScore6:uint;// = 0
private var mScore7:uint;// = 0
private var mScore8:uint;// = 0
private var mSong3unlocked:uint;// = 0
private var mSong4unlocked:uint;// = 0
private var mSong5unlocked:uint;// = 0
private var mSong6unlocked:uint;// = 0
private var mSong7unlocked:uint;// = 0
private var mSong8unlocked:uint;// = 0
private var mSong2unlocked:uint;// = 0
private var mScore3:uint;// = 0
public var mDocumentClass:MovieClip;
private var mSong1unlocked:uint;// = 0
private var mPoints:uint;// = 0
private var mAccuracy1:uint;// = 0
private var mAccuracy3:uint;// = 0
private var mAccuracy7:uint;// = 0
private var mAccuracy2:uint;// = 0
private var mCredits:uint;// = 0
private var mAccuracy4:uint;// = 0
private var mAccuracy5:uint;// = 0
private var mAccuracy6:uint;// = 0
private var mAccuracy8:uint;// = 0
public function gameData(_arg1:MovieClip):void{
setDocumentClass(_arg1);
initGameData();
}
private function setScore8(_arg1:uint):void{
mScore8 = Math.max(mScore8, _arg1);
}
public function shuffleArray(_arg1:Array):Array{
var _local4:Number;
var _local5:*;
var _local2:Array = [];
var _local3:int = _arg1.length;
while (_local2.length < _local3) {
_local4 = (Math.ceil((Math.random() * _arg1.length)) - 1);
_local5 = [];
_local5 = _arg1.splice(_local4, 1);
_local2.push(_local5[0]);
};
return (_local2);
}
private function setScore2(_arg1:uint):void{
mScore2 = Math.max(mScore2, _arg1);
}
private function setPoints(_arg1:uint):void{
mPoints = _arg1;
}
private function setScore6(_arg1:uint):void{
mScore6 = Math.max(mScore6, _arg1);
}
private function setScore7(_arg1:uint):void{
mScore7 = Math.max(mScore7, _arg1);
}
private function setScore1(_arg1:uint):void{
mScore1 = Math.max(mScore1, _arg1);
}
public function getMute():Boolean{
return (mMuted);
}
private function setScore3(_arg1:uint):void{
mScore3 = Math.max(mScore3, _arg1);
}
private function setScore4(_arg1:uint):void{
mScore4 = Math.max(mScore4, _arg1);
}
private function getPoints():uint{
return (mPoints);
}
private function addScore(_arg1:uint):void{
mScore = (mScore + _arg1);
}
private function getScore():uint{
return (mScore);
}
public function setMute(_arg1:Boolean):void{
mMuted = _arg1;
}
private function addPoints(_arg1:uint):void{
mPoints = (mPoints + _arg1);
}
public function dispose():void{
}
private function getTotalScore():uint{
var _local1:uint = (((((((mScore1 + mScore2) + mScore3) + mScore4) + mScore5) + mScore6) + mScore7) + mScore8);
return (_local1);
}
private function bumpLevel():void{
mLevel++;
}
public function setData(_arg1:String, _arg2:uint=0):void{
switch (_arg1){
case "addScore":
addScore(_arg2);
break;
case "setScore":
setScore(_arg2);
break;
case "setScore1":
setScore1(_arg2);
break;
case "setScore2":
setScore2(_arg2);
break;
case "setScore3":
setScore3(_arg2);
break;
case "setScore4":
setScore4(_arg2);
break;
case "setScore5":
setScore5(_arg2);
break;
case "setScore6":
setScore6(_arg2);
break;
case "setScore7":
setScore7(_arg2);
break;
case "setScore8":
setScore8(_arg2);
break;
case "setLock1":
mSong1unlocked = _arg2;
break;
case "setLock2":
mSong2unlocked = _arg2;
break;
case "setLock3":
mSong3unlocked = _arg2;
break;
case "setLock4":
mSong4unlocked = _arg2;
break;
case "setLock5":
mSong5unlocked = _arg2;
break;
case "setLock6":
mSong6unlocked = _arg2;
break;
case "setLock7":
mSong7unlocked = _arg2;
break;
case "setLock8":
mSong8unlocked = _arg2;
break;
case "setAccuracy1":
mAccuracy1 = _arg2;
break;
case "setAccuracy2":
mAccuracy2 = _arg2;
break;
case "setAccuracy3":
mAccuracy3 = _arg2;
break;
case "setAccuracy4":
mAccuracy4 = _arg2;
break;
case "setAccuracy5":
mAccuracy5 = _arg2;
break;
case "setAccuracy6":
mAccuracy6 = _arg2;
break;
case "setAccuracy7":
mAccuracy7 = _arg2;
break;
case "setAccuracy8":
mAccuracy8 = _arg2;
break;
case "bumpLevel":
bumpLevel();
break;
case "setLevel":
setLevel(_arg2);
break;
case "setPoints":
setPoints(_arg2);
break;
case "addPoints":
addPoints(_arg2);
break;
};
}
private function setLevel(_arg1:uint):void{
mLevel = _arg1;
}
private function getLevel():uint{
return (mLevel);
}
private function setScore(_arg1:uint):void{
mScore = _arg1;
}
public function initGameNewSong():void{
mLevel = 0;
bumpLevel();
}
public function requestData(_arg1:String):uint{
var _local2:uint;
switch (_arg1){
case "getScore":
_local2 = getScore();
break;
case "getScore1":
_local2 = mScore1;
break;
case "getScore2":
_local2 = mScore2;
break;
case "getScore3":
_local2 = mScore3;
break;
case "getScore4":
_local2 = mScore4;
break;
case "getScore5":
_local2 = mScore5;
break;
case "getScore6":
_local2 = mScore6;
break;
case "getScore7":
_local2 = mScore7;
break;
case "getScore8":
_local2 = mScore8;
break;
case "getLock1":
_local2 = mSong1unlocked;
break;
case "getLock2":
_local2 = mSong2unlocked;
break;
case "getLock3":
_local2 = mSong3unlocked;
break;
case "getLock4":
_local2 = mSong4unlocked;
break;
case "getLock5":
_local2 = mSong5unlocked;
break;
case "getLock6":
_local2 = mSong6unlocked;
break;
case "getLock7":
_local2 = mSong7unlocked;
break;
case "getLock8":
_local2 = mSong8unlocked;
break;
case "getAccuracy1":
_local2 = mAccuracy1;
break;
case "getAccuracy2":
_local2 = mAccuracy2;
break;
case "getAccuracy3":
_local2 = mAccuracy3;
break;
case "getAccuracy4":
_local2 = mAccuracy4;
break;
case "getAccuracy5":
_local2 = mAccuracy5;
break;
case "getAccuracy6":
_local2 = mAccuracy6;
break;
case "getAccuracy7":
_local2 = mAccuracy7;
break;
case "getAccuracy8":
_local2 = mAccuracy8;
break;
case "getTotalScore":
_local2 = getTotalScore();
break;
case "getLevel":
_local2 = getLevel();
break;
case "getPoints":
_local2 = getPoints();
break;
};
return (_local2);
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
}
public function initGameData():void{
mScore = 0;
mLevel = 0;
setScore(0);
bumpLevel();
}
private function setScore5(_arg1:uint):void{
mScore5 = Math.max(mScore5, _arg1);
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
}
}//package local
Section 7
//gameEngine (local.gameEngine)
package local {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import flash.geom.*;
public class gameEngine extends MovieClip {
public var outputWindow2:TextField;
public var outputWindow3:TextField;
public var centerStackMC:tileStack;
public var mCoinScoreAmount:int;// = 100
public var perfectRight:MovieClip;
public var mCheerCount:int;// = 0
public var leftStackMC:tileStack;
protected var keyRightCount:int;// = 0
private var mHeldCenterActive:Boolean;// = false
public var garterCenter:MovieClip;
public var fullLustMC:MovieClip;
public var rampMaskMC:MovieClip;
public var previousCurTime:int;// = 0
protected var keySpacePressed:Boolean;// = false
protected var keyLeftPressed:Boolean;// = false
public var mShowingMessage:Boolean;// = false
public var outputWindow:TextField;
public var rightStackMC:tileStack;
protected var keyRightPressed:Boolean;// = false
public var mCurMulti:int;// = 1
public var tileList:Array;
public var mPreviousScore:int;// = 0
public var mCurStarPowerCount:int;// = 0
public var fullLustMess:MovieClip;
protected var lastKeyLeftPressed:Boolean;// = false
public var noteContainerClipMC:MovieClip;
public var mPreviousHit:int;// = 0
private var gameTimer:Timer;
public var mPerfectStreakArray:Array;
public var mCurStarPower:Number;// = 0
public var mStarPowerLength:Number;// = 10000
private var _beforeTime:int;// = 0
public var mAccuracy:int;// = 0
public var mNumBeforeBeat:int;// = 0
public var heldNoteCenterMC:MovieClip;
public var mStarPowerActive:Boolean;// = false
public var mCenterFlipActive:Boolean;// = false
public var mPreviousJeerSound:int;// = 0
public var helpButtonMC:SimpleButton;
public var muteButton:MovieClip;
private var _excess:int;// = 0
public var mMissCounter:int;// = 0
public var rampLightMC:MovieClip;
public var mHealthRemovalAmount:Number;// = 1
public var mHitSongEnd:Boolean;// = false
public var perfectCenter:MovieClip;
private var _sleepTime:int;// = 0
public var mStreakArray:Array;
private var mHeldLeftActive:Boolean;// = false
public var mBillScoreAmount:int;// = 500
public var mNotesNeededForStarPower:int;// = 20
private var _period:Number;// = 50
public var moneyLeft:MovieClip;
public var mNumHitsMultiUpdate:Number;// = 5
public var mWhichHelpSceen:int;// = 1
protected var lastKeyRightPressed:Boolean;// = false
public var fps:TextField;
public var dancerMC:dancer;
public var mShowingStats:Boolean;// = false
public var mNumOfHits:int;// = 0
public var mLightingActive:Boolean;// = false
public var BEAT_AMOUNT:int;// = 215
public var introMC:MovieClip;
public var crowdMC:MovieClip;
public var mDelayTime:Number;// = 0
public var tileListRight:Array;
protected var lastKeyUpPressed:Boolean;// = false
public var mStreakCounter:int;// = 0
public var moneyCenter:MovieClip;
public var moneyRight:MovieClip;
protected var keyDownPressed:Boolean;// = false
public var endRoundWindow:MovieClip;
public var centerArrowMC:MovieClip;
public var mDisableButtons:Boolean;// = false
public var poleMC:MovieClip;
public var garterRight:MovieClip;
public var leftArrowMC:MovieClip;
public var mTheGameState;
private var mCanDie:Boolean;// = true
private var _afterTime:int;// = 0
public var mGenMessNextState:uint;
public var mDurationOfNextState:Number;// = 0
public var mPreviousHealthMeter:Number;
public var mPreviousCheerSound:int;// = 0
protected var keyUpPressed:Boolean;// = false
public var mSpinningOnLeftLane:Boolean;// = false
public var mStarPowerPossible:Boolean;// = false
public var leftToCenterFlipMC:MovieClip;
public var mShowGameComplete:Boolean;// = false
public var heldNoteLeftMC:MovieClip;
protected var lastKeyDownPressed:Boolean;// = false
public var mHasFailed:Boolean;// = false
public var wordGo:MovieClip;
public var mLustHits:int;// = 0
public var mNumHitsHealthUpdate:Number;// = 5
private var mHeldRightActive:Boolean;// = false
public var lightingMC:lighting;
public var rightArrowMC:MovieClip;
public var mWindDownCounter:int;// = 0
protected var keyLeftCount:int;// = 0
public var mPerfectStreakCounter:int;// = 0
public var mDocumentClass:MovieClip;
public var mNumOfSpawned:int;// = 0
public var perfectLeft:MovieClip;
public var mSeenFirstDoneScreen:Boolean;// = false
public var levelListIndex:int;// = 0
public var heartMeterMC:MovieClip;
public var mNumOfPerfects:int;// = 0
public var MAX_HEALTH:Number;// = 14
public var mBumpTimer:int;// = 0
private var _timeDiff:int;// = 0
public var lustMeterMC:MovieClip;
private var _overSleepTime:int;// = 0
protected var keyUpCount:int;// = 0
public var messageMC:MovieClip;
public var mHealthMeter:Number;
public var mGameState;
public var mGameActive:Boolean;// = false
public var tileListCenter:Array;
public var heldNoteRightMC:MovieClip;
protected var keyDownCount:int;// = 0
public var garterLeft:MovieClip;
public var mNumAfterBeat:int;// = 0
public var mShowingHelp:Boolean;// = false
public var mHitLustLevel2:Boolean;// = false
public static const FRAME_RATE:int = 20;
public function gameEngine():void{
tileList = [];
tileListCenter = [];
tileListRight = [];
mStreakArray = [];
mPerfectStreakArray = [];
mHealthMeter = MAX_HEALTH;
mPreviousHealthMeter = MAX_HEALTH;
super();
addFrameScript(0, frame1, 10, frame11);
noteContainerClipMC.cacheAsBitmap = true;
rampMaskMC.cacheAsBitmap = true;
noteContainerClipMC.mask = rampMaskMC;
fullLustMC.maskee.cacheAsBitmap = true;
fullLustMC.maskMC.cacheAsBitmap = true;
fullLustMC.maskee.mask = fullLustMC.maskMC;
this.addEventListener(MouseEvent.CLICK, processButtons);
this.addEventListener(MouseEvent.MOUSE_OVER, playOverSound);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
gameTimer = new Timer(_period, 1);
gameTimer.addEventListener(TimerEvent.TIMER, gameLoop);
gameTimer.start();
initStateMachine();
}
public function killNotes():void{
var _local1:int;
_local1 = 0;
while (_local1 < tileList.length) {
noteContainerClipMC.removeChild(tileList[_local1]);
_local1++;
};
tileList = [];
_local1 = 0;
while (_local1 < tileListCenter.length) {
noteContainerClipMC.removeChild(tileListCenter[_local1]);
_local1++;
};
tileListCenter = [];
_local1 = 0;
while (_local1 < tileListRight.length) {
noteContainerClipMC.removeChild(tileListRight[_local1]);
_local1++;
};
tileListRight = [];
}
public function updateHealthMeter():void{
heartMeterMC.meterMC.gotoAndStop((Math.ceil(mHealthMeter) + 1));
}
public function dispose():void{
this.removeEventListener(MouseEvent.CLICK, processButtons);
this.removeEventListener(MouseEvent.MOUSE_OVER, playOverSound);
gameTimer.removeEventListener(TimerEvent.TIMER, gameLoop);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
}
public function processButtons(_arg1:MouseEvent){
trace(((("-> processButtons() e:" + _arg1) + " e.target.name: ") + _arg1.target.name));
switch (_arg1.target.name){
case "replayLevel":
replayLevel();
break;
case "doneButton":
handleDone();
break;
case "startButton":
handleStart();
break;
case "closeButton":
handleClose();
break;
case "muteButton":
if (mDocumentClass.toggleMute() == false){
muteButton.gotoAndStop("soundoff");
} else {
muteButton.gotoAndStop("sound");
};
break;
case "submitScore":
mDocumentClass.postAsScore();
break;
};
}
public function activateStarPower():void{
var _local1:* = Math.floor(getTimer());
mCurStarPower = (_local1 + mStarPowerLength);
trace("START STAR POWER");
fullLustMess.gotoAndStop("default");
mStarPowerActive = true;
mStarPowerPossible = false;
setMultiplier(100);
stopLights();
mDocumentClass.playSound("lustActivated");
playCheerLevel3();
dancerMC.alpha = 0;
poleMC.alpha = 0;
rampLightMC.alpha = 1;
fullLustMC.alpha = 1;
fullLustMC.gotoAndPlay("start");
changeAllActiveTokenColors(true);
}
public function changeAllActiveTokenColors(_arg1:Boolean):void{
var _local2:int;
_local2 = 0;
while (_local2 < tileList.length) {
if (_arg1 == true){
changeTokenColor(tileList[_local2]);
} else {
changeTokenColorBack(tileList[_local2]);
};
_local2++;
};
_local2 = 0;
while (_local2 < tileListCenter.length) {
if (_arg1 == true){
changeTokenColor(tileListCenter[_local2]);
} else {
changeTokenColorBack(tileListCenter[_local2]);
};
_local2++;
};
_local2 = 0;
while (_local2 < tileListRight.length) {
if (_arg1 == true){
changeTokenColor(tileListRight[_local2]);
} else {
changeTokenColorBack(tileListRight[_local2]);
};
_local2++;
};
}
public function bumpHeldNote(_arg1:String, _arg2:int):void{
var _local3:int = ((_arg2 / 10) - 3);
switch (_arg1){
case "left":
if (mHeldLeftActive == false){
heldNoteLeftMC.gotoAndStop(_local3);
};
break;
case "center":
if (mHeldCenterActive == false){
heldNoteCenterMC.gotoAndStop(_local3);
};
break;
case "right":
if (mHeldRightActive == false){
heldNoteRightMC.gotoAndStop(_local3);
};
break;
};
}
public function hideFullLust():void{
mStarPowerActive = false;
changeAllActiveTokenColors(false);
fullLustMC.gotoAndStop("default");
fullLustMC.alpha = 0;
}
public function killHeldNote(_arg1:String):void{
switch (_arg1){
case "left":
if (mHeldLeftActive != true){
heldNoteLeftMC.gotoAndStop("default");
};
break;
case "center":
if (mHeldCenterActive != true){
heldNoteCenterMC.gotoAndStop("default");
};
break;
case "right":
if (mHeldRightActive != true){
heldNoteRightMC.gotoAndStop("default");
};
break;
};
}
public function showMessage(_arg1:String):void{
if (mShowingMessage == false){
mShowingMessage = true;
messageMC.gotoAndPlay(_arg1);
};
}
public function outputData(_arg1:String):void{
outputWindow.text = _arg1;
}
function frame11(){
this.stop();
}
public function showPerfect(_arg1:String):void{
switch (_arg1){
case "left":
perfectLeft.gotoAndPlay("startPerfect");
break;
case "center":
perfectCenter.gotoAndPlay("startPerfect");
break;
case "right":
perfectRight.gotoAndPlay("startPerfect");
break;
};
}
function frame1(){
this.stop();
}
private function resetStreaks():void{
if (mStreakCounter > 0){
mStreakArray.push(mStreakCounter);
};
mStreakCounter = 0;
if (mPerfectStreakCounter > 0){
mPerfectStreakArray.push(mPerfectStreakCounter);
};
mPerfectStreakCounter = 0;
if (mStarPowerActive == false){
updateHealth(-(mHealthRemovalAmount));
mMissCounter++;
if (mMissCounter == 3){
dancerFall();
} else {
if (mMissCounter == 5){
showMessage("useArrowKeys");
};
};
};
}
protected function keyDownHandler(_arg1:KeyboardEvent){
if ((((_arg1.keyCode == Keyboard.UP)) || ((_arg1.keyCode == 87)))){
keyUpPressed = true;
} else {
if ((((_arg1.keyCode == Keyboard.DOWN)) || ((_arg1.keyCode == 83)))){
keyDownPressed = true;
} else {
if ((((_arg1.keyCode == Keyboard.LEFT)) || ((_arg1.keyCode == 65)))){
keyLeftPressed = true;
} else {
if ((((_arg1.keyCode == Keyboard.RIGHT)) || ((_arg1.keyCode == 68)))){
keyRightPressed = true;
} else {
if (_arg1.keyCode == Keyboard.SPACE){
keySpacePressed = true;
};
};
};
};
};
}
public function playJeer():void{
var _local1:int = GetRandomNotPrevious(6, mPreviousJeerSound);
mPreviousJeerSound = _local1;
switch (_local1){
case 1:
mDocumentClass.playSound("jeer1");
break;
case 2:
mDocumentClass.playSound("jeer2");
break;
case 3:
mDocumentClass.playSound("jeer3");
break;
case 4:
mDocumentClass.playSound("jeer4");
break;
case 5:
mDocumentClass.playSound("jeer5");
break;
case 6:
mDocumentClass.playSound("jeer6");
break;
};
}
public function crowdUnhappy():void{
mDocumentClass.playSound("audienceUnhappy");
crowdMC.left1.gotoAndStop("stop");
crowdMC.left3.gotoAndStop("stop");
crowdMC.right1.gotoAndStop("stop");
crowdMC.right3.gotoAndStop("stop");
}
public function updateHealth(_arg1:Number):void{
if (mHasFailed == false){
mPreviousHealthMeter = mHealthMeter;
if ((mHealthMeter + _arg1) <= MAX_HEALTH){
mHealthMeter = (mHealthMeter + _arg1);
};
mHealthMeter = Math.max(0, mHealthMeter);
if ((((mHealthMeter >= 0)) && ((mHealthMeter <= MAX_HEALTH)))){
updateHealthMeter();
};
if ((((mHealthMeter <= 2)) && ((mPreviousHealthMeter >= 3)))){
showMessage("audience leaving");
};
if ((((mHealthMeter <= 4)) && ((mPreviousHealthMeter >= 5)))){
crowdUnhappy();
heartMeterMC.heartMC.gotoAndPlay("nearDeath");
showMessage("caution");
dancerFall();
} else {
if ((((mHealthMeter >= 5)) && ((mPreviousHealthMeter <= 4)))){
mDocumentClass.playSound("audienceEcstatic");
startCrowd();
heartMeterMC.heartMC.gotoAndPlay("normal");
};
};
if (mHealthMeter <= 0){
if (mCanDie == true){
mHasFailed = true;
stopLights();
if (mDocumentClass.isSongPlaying() == true){
mDocumentClass.stopGameMusic();
};
mTheGameState = mGameState.windDownFail;
};
};
};
}
private function handleInput(_arg1:int):void{
var _local2:int;
var _local3 = 360;
var _local4:Boolean;
switch (_arg1){
case 1:
case 3:
outputWindow2.text = "";
_local2 = 0;
while (_local2 < tileListCenter.length) {
if (tileListCenter[_local2].mType > 0){
if ((_local3 - tileListCenter[_local2].y) < 50){
_local4 = true;
tileListCenter[_local2].mHit = true;
handleAccuracy((_local3 - tileListCenter[_local2].y), "center", tileListCenter[_local2].mType);
} else {
outputWindow2.text = String((_local3 - tileListCenter[_local2].y));
};
};
_local2++;
};
break;
case 2:
outputWindow3.text = "";
_local2 = 0;
while (_local2 < tileListRight.length) {
if (tileListRight[_local2].mType > 0){
if ((_local3 - tileListRight[_local2].y) < 50){
_local4 = true;
tileListRight[_local2].mHit = true;
handleAccuracy((_local3 - tileListRight[_local2].y), "right", tileListRight[_local2].mType);
} else {
outputWindow3.text = String((_local3 - tileListRight[_local2].y));
};
};
_local2++;
};
break;
case 4:
outputWindow.text = "";
_local2 = 0;
while (_local2 < tileList.length) {
if (tileList[_local2].mType > 0){
if ((_local3 - tileList[_local2].y) < 50){
_local4 = true;
tileList[_local2].mHit = true;
handleAccuracy((_local3 - tileList[_local2].y), "left", tileList[_local2].mType);
} else {
outputWindow.text = String((_local3 - tileList[_local2].y));
};
};
_local2++;
};
break;
};
if (_local4 == false){
switch (_arg1){
case 1:
case 3:
showMiss("center");
break;
case 2:
showMiss("right");
break;
case 4:
showMiss("left");
break;
};
if (Math.ceil((Math.random() * 4)) > 2){
mDocumentClass.playSound("error0");
} else {
mDocumentClass.playSound("error1");
};
giveDamage(1, false);
};
}
protected function keyUpHandler(_arg1:KeyboardEvent){
if ((((_arg1.keyCode == Keyboard.UP)) || ((_arg1.keyCode == 87)))){
keyUpPressed = false;
} else {
if ((((_arg1.keyCode == Keyboard.DOWN)) || ((_arg1.keyCode == 83)))){
keyDownPressed = false;
} else {
if ((((_arg1.keyCode == Keyboard.LEFT)) || ((_arg1.keyCode == 65)))){
keyLeftPressed = false;
} else {
if ((((_arg1.keyCode == Keyboard.RIGHT)) || ((_arg1.keyCode == 68)))){
keyRightPressed = false;
} else {
if (_arg1.keyCode == Keyboard.SPACE){
keySpacePressed = false;
};
};
};
};
};
}
public function changeHeldNote(_arg1:String, _arg2:Boolean=true):void{
switch (_arg1){
case "left":
if (_arg2 == true){
mHeldLeftActive = true;
heldNoteLeftMC.gotoAndPlay("holdNote");
} else {
if (mHeldLeftActive == true){
mHeldLeftActive = false;
killHeldNote("left");
leftStackMC.deActivate();
};
};
break;
case "center":
if (_arg2 == true){
mHeldCenterActive = true;
heldNoteCenterMC.gotoAndPlay("holdNote");
} else {
if (mHeldCenterActive == true){
mHeldCenterActive = false;
killHeldNote("center");
centerStackMC.deActivate();
};
};
break;
case "right":
if (_arg2 == true){
mHeldRightActive = true;
heldNoteRightMC.gotoAndPlay("holdNote");
} else {
if (mHeldRightActive == true){
mHeldRightActive = false;
killHeldNote("right");
rightStackMC.deActivate();
};
};
break;
};
}
public function setScoreText(_arg1:int):void{
setLustNeedle();
lustMeterMC.score.text = mDocumentClass.formatAsDollars(_arg1);
if ((((((lightingMC.mLightingActive == false)) && ((mDocumentClass.requestData("getScore") >= 1000)))) && ((mHitSongEnd == false)))){
};
}
public function showDaMoney(_arg1:String, _arg2:int):void{
mDocumentClass.addScore((_arg2 * mCurMulti));
switch (_arg1){
case "left":
moneyLeft.gotoAndPlay(("start" + String(_arg2)));
garterLeft.gotoAndPlay("hit");
break;
case "center":
moneyCenter.gotoAndPlay(("start" + String(_arg2)));
garterCenter.gotoAndPlay("hit");
break;
case "right":
moneyRight.gotoAndPlay(("start" + String(_arg2)));
garterRight.gotoAndPlay("hit");
break;
};
}
public function handleClose():void{
mDocumentClass.playSound("buttonDown");
mShowingHelp = false;
introMC.gotoAndPlay("transition");
}
public function stopLights():void{
lightingMC.deActivateLights();
}
public function changeTokenColorBack(_arg1:MovieClip):void{
_arg1.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
}
public function changeTokenColor(_arg1:MovieClip):void{
switch (_arg1.mType){
case 1:
case 12:
case 14:
_arg1.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0xFF, -63, 162, 0);
break;
case 2:
case 24:
case 24:
case 25:
case 26:
_arg1.transform.colorTransform = new ColorTransform(1, 1, 1, 1, -80, 47, 0xFF, 0);
break;
};
}
private function animate():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:Number = mDocumentClass.getGameMusicPosition();
if ((((mDocumentClass.isSongPlaying() == false)) && ((mHitSongEnd == false)))){
mHitSongEnd = true;
if (mHasFailed == false){
mDocumentClass.playSound("levelComplete");
};
mTheGameState = mGameState.windDown;
};
_local4 = Math.floor(_local4);
if ((((_local4 == 0)) && ((mHitSongEnd == false)))){
return;
};
checkCenterFlip();
var _local5:int;
_local3 = 0;
while (_local3 < tileList.length) {
tileList[_local3].y = (tileList[_local3].y + 10);
tileList[_local3].goNextFrame();
if ((((((tileList[_local3].mType == 12)) || ((tileList[_local3].mType == 14)))) || ((tileList[_local3].mType == 24)))){
bumpHeldNote("left", tileList[_local3].y);
};
_local2 = (300 - Math.round((((tileList[_local3].y - 40) * 120) / 320)));
tileList[_local3].x = _local2;
if (tileList[_local3].y >= 430){
if ((((((tileList[_local3].mHit == false)) && ((tileList[_local3].mType > 0)))) && (!((tileList[_local3].mType == 10))))){
showMiss("left");
if (Math.ceil((Math.random() * 4)) > 2){
mDocumentClass.playSound("error0");
} else {
mDocumentClass.playSound("error1");
};
outputWindow.text = "";
resetStreaks();
};
if (tileList[_local3].mType == 10){
showMessage("hit spinning");
};
if ((((((tileList[_local3].mType == 12)) || ((tileList[_local3].mType == 14)))) || ((tileList[_local3].mType == 24)))){
showMessage("hold down key");
killHeldNote("left");
};
noteContainerClipMC.removeChild(tileList[_local3]);
tileList.splice(_local3, 1);
};
_local3++;
};
_local3 = 0;
while (_local3 < tileListCenter.length) {
tileListCenter[_local3].y = (tileListCenter[_local3].y + 10);
_local5 = tileListCenter[_local3].goNextFrame();
if ((((((tileListCenter[_local3].mType == 12)) || ((tileListCenter[_local3].mType == 14)))) || ((tileListCenter[_local3].mType == 24)))){
bumpHeldNote("center", tileListCenter[_local3].y);
};
if (tileListCenter[_local3].mType == 10){
if (_local5 < 25){
if (mSpinningOnLeftLane == false){
_local2 = (300 + Math.round((((tileListCenter[_local3].y - 40) * 120) / 320)));
} else {
_local2 = (300 - Math.round((((tileListCenter[_local3].y - 40) * 120) / 320)));
};
tileListCenter[_local3].x = _local2;
} else {
tileListCenter[_local3].x = 300;
};
};
if (tileListCenter[_local3].y >= 430){
if ((((((tileListCenter[_local3].mHit == false)) && ((tileListCenter[_local3].mType > 0)))) && (!((tileListCenter[_local3].mType == 10))))){
showMiss("center");
if (Math.ceil((Math.random() * 4)) > 2){
mDocumentClass.playSound("error0");
} else {
mDocumentClass.playSound("error1");
};
outputWindow2.text = "";
resetStreaks();
};
if (tileListCenter[_local3].mType == 10){
showMessage("hit spinning");
};
if ((((((tileListCenter[_local3].mType == 12)) || ((tileListCenter[_local3].mType == 14)))) || ((tileListCenter[_local3].mType == 24)))){
showMessage("hold down key");
killHeldNote("center");
};
noteContainerClipMC.removeChild(tileListCenter[_local3]);
tileListCenter.splice(_local3, 1);
};
_local3++;
};
_local3 = 0;
while (_local3 < tileListRight.length) {
tileListRight[_local3].y = (tileListRight[_local3].y + 10);
tileListRight[_local3].goNextFrame();
if ((((((tileListRight[_local3].mType == 12)) || ((tileListRight[_local3].mType == 14)))) || ((tileListRight[_local3].mType == 24)))){
bumpHeldNote("right", tileListRight[_local3].y);
};
_local2 = (300 + Math.round((((tileListRight[_local3].y - 40) * 120) / 320)));
tileListRight[_local3].x = _local2;
if (tileListRight[_local3].y >= 430){
if ((((((tileListRight[_local3].mHit == false)) && ((tileListRight[_local3].mType > 0)))) && (!((tileListRight[_local3].mType == 10))))){
showMiss("right");
if (Math.ceil((Math.random() * 4)) > 2){
mDocumentClass.playSound("error0");
} else {
mDocumentClass.playSound("error1");
};
outputWindow3.text = "";
resetStreaks();
};
if (tileListRight[_local3].mType == 10){
showMessage("hit spinning");
};
if ((((((tileListRight[_local3].mType == 12)) || ((tileListRight[_local3].mType == 14)))) || ((tileListRight[_local3].mType == 24)))){
showMessage("hold down key");
killHeldNote("right");
};
noteContainerClipMC.removeChild(tileListRight[_local3]);
tileListRight.splice(_local3, 1);
};
_local3++;
};
if (_local4 >= mBumpTimer){
CheckSpawn();
leftStackMC.goNextFrame();
centerStackMC.goNextFrame();
rightStackMC.goNextFrame();
levelListIndex++;
if (levelListIndex == mDocumentClass.getStageLength()){
levelListIndex = 0;
};
mBumpTimer = (mBumpTimer + BEAT_AMOUNT);
};
readInput();
}
public function setLustNeedle():void{
if ((mLustHits * 2) < 180){
lustMeterMC.meterMC.lustNeedleMC.rotation = ((mLustHits * 2) - 90);
switch ((mLustHits * 2)){
case 0:
lustMeterMC.mouthMC.gotoAndPlay("noTongue");
lustMeterMC.meterMC.gotoAndStop("noLevel");
mStarPowerPossible = false;
lustMeterMC.fullLustMC.gotoAndStop("stop");
break;
case 60:
lustMeterMC.mouthMC.gotoAndPlay("noTongue");
lustMeterMC.meterMC.gotoAndStop("levelOne");
mStarPowerPossible = false;
lustMeterMC.fullLustMC.gotoAndStop("stop");
break;
case 120:
lustMeterMC.mouthMC.gotoAndPlay("startTongue");
lustMeterMC.meterMC.gotoAndStop("levelTwo");
showMessage("heating up");
playCheerLevel3();
mStarPowerPossible = false;
lustMeterMC.fullLustMC.gotoAndStop("stop");
break;
case 178:
if (mStarPowerPossible == false){
lustMeterMC.mouthMC.gotoAndPlay("loopDrool");
lustMeterMC.meterMC.gotoAndPlay("levelThree");
mDocumentClass.playSound("lustAvailable");
fullLustMess.gotoAndPlay("repeat");
lustMeterMC.fullLustMC.gotoAndPlay("start");
playCheerLevel3();
mStarPowerPossible = true;
};
break;
};
};
}
public function playCheerLevel2():void{
var _local1:int = GetRandomNotPrevious(4, mPreviousCheerSound);
mPreviousCheerSound = _local1;
switch (_local1){
case 1:
mDocumentClass.playSound("level2Cheer1");
break;
case 2:
mDocumentClass.playSound("level2Cheer2");
break;
case 3:
mDocumentClass.playSound("level2Cheer3");
break;
case 4:
mDocumentClass.playSound("level2Cheer4");
break;
};
}
public function playCheerLevel1():void{
var _local1:int = GetRandomNotPrevious(8, mPreviousCheerSound);
mCheerCount++;
if ((mCheerCount % 2) != 0){
mPreviousCheerSound = _local1;
switch (_local1){
case 1:
mDocumentClass.playSound("level1Cheer1");
break;
case 2:
mDocumentClass.playSound("level1Cheer2");
break;
case 3:
mDocumentClass.playSound("level1Cheer3");
break;
case 4:
mDocumentClass.playSound("level1Cheer4");
break;
case 5:
mDocumentClass.playSound("level2Cheer1");
break;
case 6:
mDocumentClass.playSound("level2Cheer2");
break;
case 7:
mDocumentClass.playSound("level2Cheer3");
break;
case 8:
mDocumentClass.playSound("level2Cheer4");
break;
};
};
}
public function playCheerLevel3():void{
var _local1:int = GetRandomNotPrevious(5, mPreviousCheerSound);
mPreviousCheerSound = _local1;
switch (_local1){
case 1:
mDocumentClass.playSound("level3Cheer1");
break;
case 2:
mDocumentClass.playSound("level3Cheer2");
break;
case 3:
mDocumentClass.playSound("level3Cheer3");
break;
case 4:
mDocumentClass.playSound("level3Cheer4");
break;
case 5:
mDocumentClass.playSound("level3Cheer5");
break;
};
}
public function removeHitNote(_arg1:String):void{
var _local2:int;
switch (_arg1){
case "left":
_local2 = 0;
while (_local2 < tileList.length) {
if ((((tileList[_local2].mHit == true)) && ((tileList[_local2].mType > 0)))){
tileList[_local2].gotoAndStop(0);
if ((((((tileList[_local2].mType == 12)) || ((tileList[_local2].mType == 14)))) || ((tileList[_local2].mType == 24)))){
if (tileList[_local2].mType == 24){
leftStackMC.activate(24);
} else {
leftStackMC.activate(tileList[_local2].mType);
};
changeHeldNote(_arg1);
if (mStarPowerActive == true){
changeTokenColor(leftStackMC);
};
};
};
_local2++;
};
break;
case "center":
_local2 = 0;
while (_local2 < tileListCenter.length) {
if ((((tileListCenter[_local2].mHit == true)) && ((tileListCenter[_local2].mType > 0)))){
tileListCenter[_local2].gotoAndStop(0);
if ((((((tileListCenter[_local2].mType == 12)) || ((tileListCenter[_local2].mType == 14)))) || ((tileListCenter[_local2].mType == 24)))){
if (tileListCenter[_local2].mType == 24){
centerStackMC.activate(25);
} else {
centerStackMC.activate(tileListCenter[_local2].mType);
};
changeHeldNote(_arg1);
if (mStarPowerActive == true){
changeTokenColor(centerStackMC);
};
};
};
_local2++;
};
break;
case "right":
_local2 = 0;
while (_local2 < tileListRight.length) {
if ((((tileListRight[_local2].mHit == true)) && ((tileListRight[_local2].mType > 0)))){
tileListRight[_local2].gotoAndStop(0);
if ((((((tileListRight[_local2].mType == 12)) || ((tileListRight[_local2].mType == 14)))) || ((tileListRight[_local2].mType == 24)))){
if (tileListRight[_local2].mType == 24){
rightStackMC.activate(26);
} else {
rightStackMC.activate(tileListRight[_local2].mType);
};
changeHeldNote(_arg1);
if (mStarPowerActive == true){
changeTokenColor(rightStackMC);
};
};
};
_local2++;
};
break;
};
}
public function handleStart():void{
mDocumentClass.playSound("buttonDown");
if (mWhichHelpSceen == 1){
introMC.gotoAndPlay("help2");
mWhichHelpSceen++;
} else {
if (mWhichHelpSceen == 2){
introMC.gotoAndPlay("help3");
mWhichHelpSceen++;
} else {
if (mWhichHelpSceen == 3){
mShowingHelp = false;
introMC.gotoAndPlay("transition");
} else {
if (mWhichHelpSceen == 4){
mShowingHelp = false;
introMC.gotoAndPlay("transition");
};
};
};
};
}
public function startLights():void{
if ((((lightingMC.isActive() == false)) && ((mStarPowerActive == false)))){
lightingMC.activateLights();
mDocumentClass.playSound("audienceExcited");
};
}
private function readInputStats():void{
if (keySpacePressed == true){
if (mShowingStats == true){
handleDone();
} else {
if (mShowingHelp == true){
if ((((((((introMC.currentLabel == "waitHelp1")) || ((introMC.currentLabel == "waitHelp2")))) || ((introMC.currentLabel == "waitHelp3")))) || ((introMC.currentLabel == "waitHelp4")))){
handleStart();
};
};
};
};
}
public function chargeHealthMeter():void{
heartMeterMC.meterMC.gotoAndPlay("chargeUp");
mHealthMeter = MAX_HEALTH;
}
public function dancerFall():void{
dancerMC.girlFall();
stopLights();
if (Math.ceil((Math.random() * 4)) > 2){
mDocumentClass.playSound("girlFall1");
} else {
mDocumentClass.playSound("girlFall0");
};
playJeer();
}
private function handleAccuracy(_arg1:int, _arg2:String, _arg3:int):void{
var _local4:int;
switch (_arg1){
case 20:
updateHits();
mNumBeforeBeat++;
_local4 = 1;
break;
case 10:
updateHits();
mNumBeforeBeat++;
_local4 = 2;
break;
case 0:
updateHits();
mNumOfPerfects++;
showPerfect(_arg2);
_local4 = 3;
break;
case -10:
updateHits();
mNumAfterBeat++;
_local4 = 2;
break;
case -20:
updateHits();
mNumAfterBeat++;
_local4 = 4;
break;
default:
showMiss(_arg2);
if (Math.ceil((Math.random() * 4)) > 2){
mDocumentClass.playSound("error0");
} else {
mDocumentClass.playSound("error1");
};
break;
};
if ((((_arg1 >= -20)) && ((_arg1 <= 20)))){
if (_arg3 == 1){
showDaMoney(_arg2, mCoinScoreAmount);
} else {
if (_arg3 == 2){
showDaMoney(_arg2, mBillScoreAmount);
} else {
if (_arg3 == 10){
showDaMoney(_arg2, mBillScoreAmount);
};
};
};
removeHitNote(_arg2);
mMissCounter = 0;
mStreakCounter++;
if (mNumHitsHealthUpdate != 0){
if ((mStreakCounter % mNumHitsHealthUpdate) == 0){
updateHealth(1);
dancerMC.setDanceMode("spin");
playCheerLevel1();
startLights();
};
};
if (mNumHitsMultiUpdate != 0){
if ((mStreakCounter % mNumHitsMultiUpdate) == 0){
setMultiplier((mCurMulti + 1));
};
};
if (mStreakCounter == 5){
showMessage("5x");
_local4 = 0;
} else {
if (mStreakCounter == 10){
showMessage("10x");
_local4 = 0;
} else {
if (mStreakCounter == 20){
showMessage("20x");
_local4 = 0;
};
};
};
switch (_local4){
case 1:
showMessage("early");
break;
case 2:
showMessage("good");
break;
case 3:
showMessage("perfect");
break;
case 4:
showMessage("late");
break;
};
} else {
giveDamage(_arg3, true);
};
if (_arg1 == 0){
mPerfectStreakCounter++;
} else {
if (mPerfectStreakCounter > 0){
mPerfectStreakArray.push(mPerfectStreakCounter);
};
mPerfectStreakCounter = 0;
};
mPreviousHit = _arg1;
}
public function checkIfMessageShowing():void{
switch (messageMC.currentLabel){
case "end1":
case "end2":
case "end3":
case "end4":
case "end5":
case "end6":
case "end7":
case "end8":
case "end9":
case "end10":
case "end11":
case "end12":
case "end13":
case "default":
mShowingMessage = false;
break;
};
}
public function startCrowd():void{
crowdMC.left1.gotoAndPlay("start");
crowdMC.left2.gotoAndPlay("start");
crowdMC.left3.gotoAndPlay("start");
crowdMC.right1.gotoAndPlay("start");
crowdMC.right2.gotoAndPlay("start");
crowdMC.right3.gotoAndPlay("start");
}
private function setStateDelay(_arg1):void{
mDelayTime = (Math.round(getTimer()) + _arg1);
}
private function removePopWindow():void{
endRoundWindow.dispose();
this.removeChild(endRoundWindow);
mShowingStats = false;
stage.focus = stage;
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
private function CheckSpawn():void{
var _local1:tile;
var _local2:DisplayObject;
var _local3:Array = mDocumentClass.getStageData(levelListIndex);
var _local4:uint = (this.numChildren - 8);
var _local5:int;
_local5 = 0;
while (_local5 < _local3.length) {
_local1 = new tile();
_local1.x = 300;
_local1.y = 40;
_local1.gotoAndStop((int(_local3[_local5]) + 1));
if ((((_local3[_local5] == 2)) || ((_local3[_local5] == 24)))){
switch (_local5){
case 0:
_local1.gotoAndStop((int(_local3[_local5]) + 1));
break;
case 1:
_local1.gotoAndStop((int(_local3[_local5]) + 2));
break;
case 2:
_local1.gotoAndStop((int(_local3[_local5]) + 3));
break;
};
};
if (_local3[_local5] == 10){
if (Math.ceil((Math.random() * 4)) > 2){
mSpinningOnLeftLane = true;
} else {
mSpinningOnLeftLane = false;
};
};
if (_local3[_local5] == 14){
switch (_local5){
case 0:
break;
case 1:
break;
case 2:
break;
};
};
_local1.mType = int(_local3[_local5]);
if (mStarPowerActive == true){
changeTokenColor(_local1);
};
_local2 = noteContainerClipMC.addChild(_local1);
if ((((int(_local3[_local5]) > 0)) && (!((int(_local3[_local5]) == 10))))){
mNumOfSpawned++;
if (int(_local3[_local5]) == 12){
mNumOfSpawned++;
} else {
if ((((int(_local3[_local5]) == 14)) || ((int(_local3[_local5]) == 24)))){
mNumOfSpawned = (mNumOfSpawned + 3);
};
};
};
switch (_local5){
case 0:
tileList.push(_local2);
break;
case 1:
tileListCenter.push(_local2);
break;
case 2:
tileListRight.push(_local2);
break;
};
_local5++;
};
}
public function playCorkSound():void{
mDocumentClass.playSound("corkPop");
}
public function GetRandomNotPrevious(_arg1:int, _arg2:int):int{
var _local3:int = (Math.floor((Math.random() * _arg1)) + 1);
while (_local3 == _arg2) {
_local3 = (Math.floor((Math.random() * _arg1)) + 1);
};
return (_local3);
}
private function checkCenterFlip():void{
if (mCenterFlipActive == true){
leftToCenterFlipMC.nextFrame();
if (leftToCenterFlipMC.currentLabel == "end"){
mCenterFlipActive = false;
leftToCenterFlipMC.gotoAndPlay("default");
};
};
}
public function deActivateStarPower():void{
trace("END STAR POWER");
mLustHits = 0;
setLustNeedle();
setMultiplier(1);
mCurStarPower = 0;
dancerMC.alpha = 1;
changeDancerColor("none");
poleMC.alpha = 0.5;
rampLightMC.alpha = 0;
fullLustMC.gotoAndPlay("out");
}
public function showMiss(_arg1:String):void{
switch (_arg1){
case "left":
moneyLeft.gotoAndPlay("startMiss");
garterLeft.gotoAndPlay("miss");
break;
case "center":
moneyCenter.gotoAndPlay("startMiss");
garterCenter.gotoAndPlay("miss");
break;
case "right":
moneyRight.gotoAndPlay("startMiss");
garterRight.gotoAndPlay("miss");
break;
};
}
private function activateCenterFlip():void{
if (mCenterFlipActive == false){
mCenterFlipActive = true;
leftToCenterFlipMC.gotoAndPlay("start");
};
}
public function updateHits():void{
mNumOfHits++;
mLustHits++;
mLustHits = Math.min(90, mLustHits);
}
public function changeDancerColor(_arg1:String):void{
if (mStarPowerActive == false){
switch (_arg1){
case "gre":
dancerMC.transform.colorTransform = new ColorTransform(1, 1, 1, 1, -70, 62, 23, 0);
break;
case "blu":
dancerMC.transform.colorTransform = new ColorTransform(1, 1, 1, 1, -50, 0, 175, 0);
break;
case "mag":
dancerMC.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 83, -55, 116, 0);
break;
case "none":
dancerMC.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
break;
};
};
}
public function setMultiplier(_arg1:int):void{
var _local2:int = mCurMulti;
if (mCurMulti == 1){
lustMeterMC.multiMC.gotoAndPlay("activate");
} else {
if (_arg1 == 1){
lustMeterMC.multiMC.gotoAndPlay("default");
};
};
if (_arg1 <= 100){
mCurMulti = _arg1;
lustMeterMC.multiMC.multiplierMC.multiplierText.text = String(mCurMulti);
if (mCurMulti == 100){
lustMeterMC.multiMC.multiplierMC.gotoAndPlay("max");
} else {
if ((((_local2 == 100)) && ((mCurMulti < 100)))){
lustMeterMC.multiMC.multiplierMC.gotoAndPlay("goAway");
};
};
};
}
private function gameLoop(_arg1:TimerEvent):void{
var _local2:* = Math.floor(getTimer());
_beforeTime = getTimer();
_overSleepTime = ((_beforeTime - _afterTime) - _sleepTime);
if (mDelayTime > 0){
if (_local2 < mDelayTime){
return;
};
mDelayTime = 0;
};
if (mTheGameState == mGameState.startGame){
mDocumentClass.mJustWon = false;
mPreviousScore = mDocumentClass.requestData("getTotalScore");
mShowingHelp = true;
if (mPreviousScore > 0){
mShowingHelp = false;
introMC.gotoAndPlay("slideGirl");
};
muteButton.buttonMode = true;
if (mDocumentClass.isMuted() == false){
muteButton.gotoAndStop("soundoff");
} else {
muteButton.gotoAndStop("sound");
};
mDocumentClass.playSound("audienceIdle", true);
mDocumentClass.stopTitleMusic();
lightingMC.setDocumentClass(this);
chargeHealthMeter();
fullLustMC.alpha = 0;
mDocumentClass.setData("setScore", 0);
mDocumentClass.addScore(0);
leftStackMC.setDocumentClass(this, "left");
centerStackMC.setDocumentClass(this, "center");
rightStackMC.setDocumentClass(this, "right");
if ((mDocumentClass.getStage() % 2) != 0){
if (mDocumentClass.healthUpdateEasy >= 0){
mNumHitsHealthUpdate = mDocumentClass.healthUpdateEasy;
};
if (mDocumentClass.multiUpdateEasy >= 0){
mNumHitsMultiUpdate = mDocumentClass.multiUpdateEasy;
};
if (mDocumentClass.lustLengthEasy >= 0){
mStarPowerLength = mDocumentClass.lustLengthEasy;
};
if (mDocumentClass.healthRemovalAmountEasy >= 0){
mHealthRemovalAmount = mDocumentClass.healthRemovalAmountEasy;
};
} else {
if (mDocumentClass.healthUpdateHard >= 0){
mNumHitsHealthUpdate = mDocumentClass.healthUpdateHard;
};
if (mDocumentClass.multiUpdateHard >= 0){
mNumHitsMultiUpdate = mDocumentClass.multiUpdateHard;
};
if (mDocumentClass.lustLengthHard >= 0){
mStarPowerLength = mDocumentClass.lustLengthHard;
};
if (mDocumentClass.healthRemovalAmountHard >= 0){
mHealthRemovalAmount = mDocumentClass.healthRemovalAmountHard;
};
};
mTheGameState = mGameState.waitForIntro;
} else {
if (mTheGameState == mGameState.waitForIntro){
readInputStats();
if (introMC.currentLabel == "end"){
dancerMC.alpha = 1;
introMC.alpha = 0;
wordGo.gotoAndPlay("go");
mTheGameState = mGameState.startMusic;
};
} else {
if (mTheGameState == mGameState.startMusic){
mBumpTimer = 0;
mDocumentClass.startGameMusic();
startCrowd();
mTheGameState = mGameState.userInput;
} else {
if (mTheGameState == mGameState.userInput){
animate();
checkIfMessageShowing();
if ((((mCurStarPower > 0)) && ((_local2 >= mCurStarPower)))){
deActivateStarPower();
};
if (mStarPowerActive == true){
if (fullLustMC.currentLabel == "done"){
hideFullLust();
};
};
} else {
if (mTheGameState == mGameState.windDown){
mWindDownCounter++;
animate();
if (mWindDownCounter >= 40){
stopCrowd(false);
stopLights();
fullLustMess.gotoAndStop("default");
this.gotoAndPlay("endRound");
killNotes();
displayAccuracy(1);
mDocumentClass.handleUnlockAndSave();
if (mDocumentClass.getStage() == 16){
mShowGameComplete = true;
};
mTheGameState = mGameState.showAccuracy;
};
} else {
if (mTheGameState == mGameState.showAccuracy){
readInputStats();
if (endRoundWindow.currentLabel == "textReady"){
trace("textReady");
endRoundWindow.showStats();
mTheGameState = mGameState.wait;
};
} else {
if (mTheGameState == mGameState.windDownFail){
trace("windDownFail");
animate();
killHeldNote("left");
killHeldNote("right");
killHeldNote("center");
stopCrowd(true);
stopLights();
fullLustMess.gotoAndStop("default");
this.gotoAndPlay("endRound");
killNotes();
dancerMC.endRoundFail();
displayAccuracy(2);
mTheGameState = mGameState.showAccuracyFail;
} else {
if (mTheGameState == mGameState.showAccuracyFail){
readInputStats();
if (endRoundWindow.currentLabel == "textReady2"){
trace("textReady2");
endRoundWindow.showStats();
mTheGameState = mGameState.wait;
};
} else {
if (mTheGameState == mGameState.wait){
} else {
if (mTheGameState == mGameState.gotoNextScreen){
mDocumentClass.stopSound("audienceIdle");
dispose();
lightingMC.dispose();
mDocumentClass.mHasPlayedOnce = true;
mDocumentClass.gotoAndStop("selectScreen");
};
};
};
};
};
};
};
};
};
};
_afterTime = getTimer();
_timeDiff = (_afterTime - _beforeTime);
_sleepTime = ((_period - _timeDiff) - _overSleepTime);
if (_sleepTime <= 0){
_excess = (_excess - _sleepTime);
_sleepTime = 2;
};
gameTimer.reset();
gameTimer.delay = _sleepTime;
gameTimer.start();
while (_excess > _period) {
_excess = (_excess - _period);
};
}
private function initStateMachine():void{
mDisableButtons = false;
mGenMessNextState = 0;
mDelayTime = 0;
mDurationOfNextState = 0;
mGameState = new EnumeratedType(["startGame", "showAccuracyFail", "windDownFail", "waitForIntro", "startMusic", "userInput", "windDown", "showAccuracy", "wait", "gotoNextScreen"]);
mTheGameState = mGameState.startGame;
}
private function readInput(){
if ((((keyUpPressed == true)) && ((lastKeyUpPressed == false)))){
centerArrowMC.gotoAndPlay("press");
handleInput(1);
};
if ((((keyDownPressed == true)) && ((lastKeyDownPressed == false)))){
centerArrowMC.gotoAndPlay("press");
handleInput(3);
};
if ((((keyLeftPressed == true)) && ((lastKeyLeftPressed == false)))){
leftArrowMC.gotoAndPlay("press");
handleInput(4);
};
if ((((keyRightPressed == true)) && ((lastKeyRightPressed == false)))){
rightArrowMC.gotoAndPlay("press");
handleInput(2);
};
if ((((keyUpPressed == false)) && ((lastKeyUpPressed == true)))){
centerArrowMC.gotoAndPlay("release");
changeHeldNote("center", false);
keyUpCount = 0;
};
if ((((keyDownPressed == false)) && ((lastKeyDownPressed == true)))){
centerArrowMC.gotoAndPlay("release");
changeHeldNote("center", false);
keyDownCount = 0;
};
if ((((keyLeftPressed == false)) && ((lastKeyLeftPressed == true)))){
leftArrowMC.gotoAndPlay("release");
changeHeldNote("left", false);
keyLeftCount = 0;
};
if ((((keyRightPressed == false)) && ((lastKeyRightPressed == true)))){
rightArrowMC.gotoAndPlay("release");
changeHeldNote("right", false);
keyRightCount = 0;
};
if ((((keyUpPressed == true)) && ((lastKeyUpPressed == true)))){
keyUpCount++;
};
if ((((keyDownPressed == true)) && ((lastKeyDownPressed == true)))){
keyDownCount++;
};
if ((((keyLeftPressed == true)) && ((lastKeyLeftPressed == true)))){
keyLeftCount++;
};
if ((((keyRightPressed == true)) && ((lastKeyRightPressed == true)))){
keyRightCount++;
};
if (keySpacePressed == true){
if ((((mStarPowerPossible == true)) && ((mStarPowerActive == false)))){
activateStarPower();
};
};
lastKeyUpPressed = keyUpPressed;
lastKeyDownPressed = keyDownPressed;
lastKeyLeftPressed = keyLeftPressed;
lastKeyRightPressed = keyRightPressed;
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
}
public function playOverSound(_arg1:MouseEvent):void{
switch (_arg1.target.name){
case "doneButton":
case "replayLevel":
case "startButton":
case "muteButton":
case "submitScore":
case "closeButton":
mDocumentClass.playSound("buttonOver");
break;
};
}
public function handleDone():void{
mDocumentClass.playSound("buttonDown");
if (mDocumentClass.isSongPlaying() == true){
mDocumentClass.stopGameMusic();
};
if (mShowGameComplete == false){
mSeenFirstDoneScreen = true;
};
if (mSeenFirstDoneScreen == true){
mDocumentClass.initGameNewSong();
mTheGameState = mGameState.gotoNextScreen;
} else {
mSeenFirstDoneScreen = true;
mDocumentClass.playSound("audienceEcstatic");
endRoundWindow.gotoAndPlay("completeGame");
};
}
public function replayLevel():void{
deActivateStarPower();
hideFullLust();
this.gotoAndPlay("default");
dancerMC.alpha = 0;
introMC.alpha = 1;
removePopWindow();
dancerMC.resetDancer();
mDisableButtons = false;
mGenMessNextState = 0;
mDelayTime = 0;
mDurationOfNextState = 0;
mTheGameState = mGameState.startGame;
mCanDie = true;
mBumpTimer = 0;
levelListIndex = 0;
mHitSongEnd = false;
mHasFailed = false;
mWindDownCounter = 0;
mPreviousJeerSound = 0;
mPreviousCheerSound = 0;
mCheerCount = 0;
mCenterFlipActive = false;
mSpinningOnLeftLane = false;
mStarPowerPossible = false;
mStarPowerActive = false;
mNotesNeededForStarPower = 20;
mCurStarPowerCount = 0;
mHitLustLevel2 = false;
mLightingActive = false;
tileList = [];
tileListCenter = [];
tileListRight = [];
previousCurTime = 0;
mShowingStats = false;
mShowingHelp = false;
mWhichHelpSceen = 1;
mShowingMessage = false;
mNumOfSpawned = 0;
mNumOfHits = 0;
mLustHits = 0;
mAccuracy = 0;
mNumOfPerfects = 0;
mNumBeforeBeat = 0;
mNumAfterBeat = 0;
mStreakCounter = 0;
mMissCounter = 0;
mPreviousHit = 0;
mStreakArray = [];
mPerfectStreakCounter = 0;
mPerfectStreakArray = [];
mPreviousScore = 0;
mCurMulti = 1;
mCurStarPower = 0;
mHealthMeter = MAX_HEALTH;
mPreviousHealthMeter = MAX_HEALTH;
keyUpPressed = false;
keyDownPressed = false;
keyLeftPressed = false;
keyRightPressed = false;
keySpacePressed = false;
lastKeyUpPressed = false;
lastKeyDownPressed = false;
lastKeyLeftPressed = false;
lastKeyRightPressed = false;
keyUpCount = 0;
keyDownCount = 0;
keyLeftCount = 0;
keyRightCount = 0;
mHeldLeftActive = false;
mHeldCenterActive = false;
mHeldRightActive = false;
_beforeTime = 0;
_afterTime = 0;
_timeDiff = 0;
_sleepTime = 0;
_overSleepTime = 0;
_excess = 0;
}
public function hideMeters():void{
lustMeterMC.alpha = 0;
heartMeterMC.alpha = 0;
muteButton.alpha = 0;
helpButtonMC.alpha = 0;
}
public function stopCrowd(_arg1:Boolean):void{
if (_arg1 == true){
mDocumentClass.playSound("audienceUnhappy");
};
crowdMC.left1.gotoAndStop("stop");
crowdMC.left2.gotoAndStop("stop");
crowdMC.left3.gotoAndStop("stop");
crowdMC.right1.gotoAndStop("stop");
crowdMC.right2.gotoAndStop("stop");
crowdMC.right3.gotoAndStop("stop");
}
private function displayAccuracy(_arg1:int):void{
var _local11:uint;
var _local2:int = mDocumentClass.getNumNotes();
var _local3:int = Math.min(100, ((100 * mNumOfHits) / _local2));
var _local4:int = ((100 * mNumBeforeBeat) / mNumOfHits);
var _local5:int = ((100 * mNumAfterBeat) / mNumOfHits);
var _local6:int;
var _local7:int;
var _local8:int;
mDocumentClass.mNewHighScore = false;
var _local9:String = mDocumentClass.formatAsDollars(mDocumentClass.requestData("getScore"));
if (_arg1 == 1){
switch (mDocumentClass.mSongSelected){
case 1:
if (mDocumentClass.requestData("getScore1") < mDocumentClass.requestData("getScore")){
mDocumentClass.mNewHighScore = true;
mDocumentClass.setData("setScore1", mDocumentClass.requestData("getScore"));
mDocumentClass.setData("setAccuracy1", _local3);
};
break;
case 2:
if (mDocumentClass.requestData("getScore2") < mDocumentClass.requestData("getScore")){
mDocumentClass.mNewHighScore = true;
mDocumentClass.setData("setScore2", mDocumentClass.requestData("getScore"));
mDocumentClass.setData("setAccuracy2", _local3);
};
break;
case 3:
if (mDocumentClass.requestData("getScore3") < mDocumentClass.requestData("getScore")){
mDocumentClass.mNewHighScore = true;
mDocumentClass.setData("setScore3", mDocumentClass.requestData("getScore"));
mDocumentClass.setData("setAccuracy3", _local3);
};
break;
case 4:
if (mDocumentClass.requestData("getScore4") < mDocumentClass.requestData("getScore")){
mDocumentClass.mNewHighScore = true;
mDocumentClass.setData("setScore4", mDocumentClass.requestData("getScore"));
mDocumentClass.setData("setAccuracy4", _local3);
};
break;
case 5:
if (mDocumentClass.requestData("getScore5") < mDocumentClass.requestData("getScore")){
mDocumentClass.mNewHighScore = true;
mDocumentClass.setData("setScore5", mDocumentClass.requestData("getScore"));
mDocumentClass.setData("setAccuracy5", _local3);
};
break;
case 6:
if (mDocumentClass.requestData("getScore6") < mDocumentClass.requestData("getScore")){
mDocumentClass.mNewHighScore = true;
mDocumentClass.setData("setScore6", mDocumentClass.requestData("getScore"));
mDocumentClass.setData("setAccuracy6", _local3);
};
break;
case 7:
if (mDocumentClass.requestData("getScore7") < mDocumentClass.requestData("getScore")){
mDocumentClass.mNewHighScore = true;
mDocumentClass.setData("setScore7", mDocumentClass.requestData("getScore"));
mDocumentClass.setData("setAccuracy7", _local3);
};
break;
case 8:
if (mDocumentClass.requestData("getScore8") < mDocumentClass.requestData("getScore")){
mDocumentClass.mNewHighScore = true;
mDocumentClass.setData("setScore8", mDocumentClass.requestData("getScore"));
mDocumentClass.setData("setAccuracy8", _local3);
};
break;
};
};
var _local10:String = mDocumentClass.formatAsDollars(mDocumentClass.requestData("getTotalScore"));
trace(("Total notes: " + _local2));
trace(("mNumOfSpawned: " + mNumOfSpawned));
trace(("mNumOfHits: " + mNumOfHits));
trace(("percentageHit: " + _local3));
trace(mNumOfPerfects);
trace(mNumBeforeBeat);
trace(mNumAfterBeat);
trace(("mPerfectStreakArray " + mPerfectStreakArray));
trace(("mStreakArray " + mStreakArray));
if (mShowingStats == false){
mShowingStats = true;
endRoundWindow = new popWindow(_arg1, this);
this.addChild(endRoundWindow);
_local11 = (this.numChildren - 2);
this.setChildIndex(endRoundWindow, _local11);
_local6 = 0;
while (_local6 < mStreakArray.length) {
_local7 = Math.max(_local7, mStreakArray[_local6]);
_local6++;
};
_local6 = 0;
while (_local6 < mPerfectStreakArray.length) {
_local8 = Math.max(_local8, mPerfectStreakArray[_local6]);
_local6++;
};
endRoundWindow.saveStats(_local7, _local3, _local9, _local10, mDocumentClass.mNewHighScore);
};
}
public function giveDamage(_arg1:int, _arg2:Boolean):void{
if (mStreakCounter > 0){
mStreakArray.push(mStreakCounter);
};
mStreakCounter = 0;
if (mStarPowerActive == false){
if (_arg1 != 10){
mMissCounter++;
updateHealth(-(mHealthRemovalAmount));
if ((mCurMulti - 1) >= 1){
setMultiplier((mCurMulti - 1));
};
if (mMissCounter == 3){
dancerFall();
} else {
if (mMissCounter == 5){
if (_arg2 == true){
showMessage("useArrowKeys");
};
};
};
};
};
}
}
}//package local
Section 8
//Iterator (local.Iterator)
package local {
public class Iterator {
public var node:ListNode;
public var list:LList;
public function Iterator(_arg1:LList, _arg2:ListNode=null){
list = _arg1;
node = _arg2;
}
public function Next(){
if (node){
node = node.next;
};
}
public function Remove():Boolean{
return (list.Remove(this));
}
public function get data(){
if (node){
return (node.data);
};
return (null);
}
public function set data(_arg1){
node.data = _arg1;
}
}
}//package local
Section 9
//lighting (local.lighting)
package local {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class lighting extends MovieClip {
private var mDocumentClass:MovieClip;
public var mLightingActive:Boolean;// = false
public function lighting():void{
addFrameScript(0, frame1, 268, frame269);
this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
function frame1(){
this.stop();
}
public function dispose():void{
this.removeEventListener(Event.ENTER_FRAME, onEnterFrame);
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
public function activateLights():void{
if (mLightingActive == false){
this.gotoAndPlay("bringTheLights");
mLightingActive = true;
};
}
function frame269(){
this.gotoAndPlay("loopHere");
}
public function deActivateLights():void{
if (mLightingActive == true){
mDocumentClass.changeDancerColor("none");
this.gotoAndPlay("idle");
mLightingActive = false;
};
}
private function onEnterFrame(_arg1:Event):void{
if (mLightingActive == true){
switch (this.currentLabel.substr(0, 3)){
case "gre":
mDocumentClass.changeDancerColor("gre");
break;
case "blu":
mDocumentClass.changeDancerColor("blu");
break;
case "mag":
case "loo":
mDocumentClass.changeDancerColor("mag");
break;
};
};
}
public function isActive():Boolean{
return (mLightingActive);
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
}
}
}//package local
Section 10
//ListNode (local.ListNode)
package local {
public class ListNode {
public var prev:ListNode;
public var next:ListNode;
public var data;
public function ListNode(_arg1){
next = (prev = null);
data = _arg1;
}
public function toString():String{
return ((("[ListNode, data=" + data) + "]"));
}
}
}//package local
Section 11
//LList (local.LList)
package local {
public class LList {
private var _count:int;
public var tail:ListNode;
public var head:ListNode;
public function LList(){
head = (tail = null);
_count = 0;
}
public function PeekTop():Object{
if (head != null){
return (head.data);
};
return (null);
}
public function GetIterator():Iterator{
return (new Iterator(this, head));
}
public function get size():int{
return (_count);
}
public function Shove(_arg1):ListNode{
var _local2:ListNode = new ListNode(_arg1);
if (head != null){
_local2.next = head;
head.prev = _local2;
head = _local2;
} else {
head = (tail = _local2);
};
_count++;
return (_local2);
}
public function Remove(_arg1:Iterator):Boolean{
if (((!((_arg1.list == this))) || ((_arg1.node == null)))){
return (false);
};
var _local2:ListNode = _arg1.node;
if (_local2 == head){
head = head.next;
} else {
if (_local2 == tail){
tail = tail.prev;
};
};
if (_arg1.node){
_arg1.node = _arg1.node.next;
};
if (_local2.prev){
_local2.prev.next = _local2.next;
};
if (_local2.next){
_local2.next.prev = _local2.prev;
};
if (head == null){
tail = null;
};
_count--;
return (true);
}
public function Clear(){
var _local2:ListNode;
var _local1:ListNode = head;
head = null;
while (_local1 != null) {
_local2 = _local1.next;
_local1.next = (_local1.prev = null);
_local1 = _local2;
};
_count = 0;
}
public function RemoveData(_arg1:Object){
var _local2:Iterator = GetIterator();
while (_local2.data != null) {
if (Object(_local2.data) == _arg1){
Remove(_local2);
return;
};
_local2.Next();
};
}
public function Pop():Object{
var _local1:ListNode;
if (head != null){
_local1 = head;
if (head.next != null){
head = head.next;
head.prev = null;
};
_count--;
return (_local1.data);
//unresolved jump
};
return (null);
}
public function Push(_arg1):ListNode{
var _local2:ListNode = new ListNode(_arg1);
if (head != null){
_local2.prev = tail;
tail.next = _local2;
tail = _local2;
} else {
head = (tail = _local2);
};
_count++;
return (_local2);
}
}
}//package local
Section 12
//loader (local.loader)
package local {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class loader extends MovieClip {
public var loadBar:MovieClip;
public var versionNum:TextField;
private var mDocumentClass:MovieClip;
public function loader():void{
addFrameScript(39, frame40);
addEventListener(Event.ENTER_FRAME, enterFrame, false, 0, true);
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
function frame40(){
this.stop();
}
private function closeLoader():void{
removeEventListener(Event.ENTER_FRAME, enterFrame);
mDocumentClass.nextFrame();
}
public function enterFrame(_arg1:Event){
var _local5:int;
var _local2:int = ((stage.loaderInfo.bytesLoaded / stage.loaderInfo.bytesTotal) * 100);
trace(("percentComplete " + _local2));
var _local3:Number = stage.loaderInfo.bytesTotal;
var _local4:Number = stage.loaderInfo.bytesLoaded;
if (_local2 <= 100){
_local5 = (_local2 / 2);
loadBar.gotoAndStop(_local5);
};
if (_local3 == _local4){
closeLoader();
};
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
}
public function dispose():void{
}
}
}//package local
Section 13
//popWindow (local.popWindow)
package local {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class popWindow extends MovieClip {
public var bestStreak:TextField;
private var mTotalScore:String;// = ""
private var mAccuracy:int;// = 0
private var mBestStreak:int;// = 0
public var doneButton:SimpleButton;
public var tallyStars:MovieClip;
private var mPlayedSound:Boolean;// = false
public var submitScore:SimpleButton;
public var replayLevel:SimpleButton;
public var perfectMC:MovieClip;
private var mNewHighScore:Boolean;// = false
public var newHighScoreMC:MovieClip;
public var bottleMC:MovieClip;
public var totalScore:TextField;
private var mDocumentClass:MovieClip;
public var levelScore:TextField;
public var ranking:MovieClip;
public var accuracy:TextField;
private var mLevelScore:String;// = ""
public function popWindow(_arg1:int, _arg2:MovieClip):void{
addFrameScript(72, frame73, 145, frame146, 180, frame181);
setDocumentClass(_arg2);
this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
if (_arg1 == 2){
this.gotoAndPlay("fail");
} else {
this.gotoAndPlay("win");
};
}
public function showHighScoreClip():void{
if (mNewHighScore == false){
newHighScoreMC.gotoAndStop("default");
} else {
newHighScoreMC.gotoAndPlay("highScore");
newHighScoreMC.x = 218;
};
if (mAccuracy < 100){
perfectMC.gotoAndStop("default");
} else {
perfectMC.gotoAndPlay("perfect");
perfectMC.x = 218;
};
if ((((mAccuracy == 100)) && ((mNewHighScore == true)))){
perfectMC.x = 148;
newHighScoreMC.x = 278;
};
}
function frame73(){
this.stop();
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
}
public function dispose():void{
this.removeEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function onEnterFrame(_arg1:Event):void{
if (this.currentLabel == "stopped"){
if ((((bottleMC.currentLabel == "corkPop")) && ((mPlayedSound == false)))){
trace("CORK POP!");
mPlayedSound = true;
mDocumentClass.playCorkSound();
};
};
}
public function saveStats(_arg1:int, _arg2:int, _arg3:String, _arg4:String, _arg5:Boolean):void{
mBestStreak = _arg1;
mAccuracy = _arg2;
mLevelScore = _arg3;
mTotalScore = _arg4;
mNewHighScore = _arg5;
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
public function showStats():void{
setStars();
bestStreak.text = String(mBestStreak);
accuracy.text = (String(mAccuracy) + "%");
levelScore.text = ("$" + mLevelScore);
totalScore.text = ("$" + mTotalScore);
showHighScoreClip();
}
function frame146(){
this.stop();
}
public function setStars():void{
ranking.gotoAndStop("empty");
if (mAccuracy >= 0){
tallyStars.gotoAndPlay("1star");
ranking.gotoAndStop("1star");
};
if (mAccuracy >= 25){
tallyStars.gotoAndPlay("2star");
ranking.gotoAndStop("2stars");
};
if (mAccuracy >= 50){
tallyStars.gotoAndPlay("3star");
ranking.gotoAndStop("3stars");
};
if (mAccuracy >= 75){
tallyStars.gotoAndPlay("4star");
ranking.gotoAndStop("4stars");
};
if (mAccuracy >= 100){
tallyStars.gotoAndPlay("5star");
ranking.gotoAndStop("5stars");
};
}
function frame181(){
this.stop();
}
}
}//package local
Section 14
//selectScreen (local.selectScreen)
package local {
import flash.events.*;
import flash.display.*;
import flash.ui.*;
public class selectScreen extends MovieClip {
public var SONG_7_NAME:String;// = "hardon"
public var nextButton:button_next;
public var SONG_4_NAME:String;// = "body"
protected var keyEnterPressed:Boolean;// = false
private var eq4Active:Boolean;// = false
public var mUsedCheat:Boolean;// = false
private var eq8Active:Boolean;// = false
protected var keySpacePressed:Boolean;// = false
public var mKeyInput:int;// = 0
public var SONG_1_NAME:String;// = "blip"
private var mReachedMirror:Boolean;// = false
private var mFlashText:Boolean;// = false
public var lockSong3:MovieClip;
public var lockSong5:MovieClip;
public var lockSong7:MovieClip;
public var lockSong8:MovieClip;
public var lockSong4:MovieClip;
public var lockSong6:MovieClip;
public var SONG_6_NAME:String;// = "boogie"
private var eq1Active:Boolean;// = false
public var preview5:MovieClip;
public var preview6:MovieClip;
private var eq5Active:Boolean;// = false
public var mPreviousSongSelected:int;// = 0
public var preview7:MovieClip;
public var preview8:MovieClip;
private var mWhichTextToFlash:int;// = 0
public var SONG_3_NAME:String;// = "PoleDancer"
private var mReachedLocks:Boolean;// = false
public var mirrorMC:MovieClip;
public var SONG_8_NAME:String;// = "doyouthinkaboutme"
public var hideButtonMC:MovieClip;
public var muteButton:MovieClip;
private var eq2Active:Boolean;// = false
private var mDocumentClass:MovieClip;
private var mShowLocks:Boolean;// = false
private var eq6Active:Boolean;// = false
public var SONG_5_NAME:String;// = "blipsqueak"
public var nextButton2:SimpleButton;
private var mTextFlashCount:int;// = 0
public var SONG_2_NAME:String;// = "sex"
private var eq3Active:Boolean;// = false
public var selectStuffMC:MovieClip;
private var eq7Active:Boolean;// = false
public var softButton:SimpleButton;
public var hardButton:SimpleButton;
public function selectScreen():void{
addFrameScript(32, frame33, 52, frame53);
this.addEventListener(MouseEvent.CLICK, processButtons);
this.addEventListener(MouseEvent.MOUSE_OVER, playOverSound);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
public function processButtons(_arg1:MouseEvent){
trace(((("-> processButtons() e:" + _arg1) + " e.target.name: ") + _arg1.target.name));
switch (_arg1.target.name){
case "muteButton":
if (mDocumentClass.toggleMute() == false){
muteButton.gotoAndStop("soundoff");
} else {
muteButton.gotoAndStop("sound");
};
break;
case "stopButton":
case "stopButton2":
case "stopButton3":
case "stopButton4":
case "stopButton5":
case "stopButton6":
case "stopButton7":
case "stopButton8":
mDocumentClass.playSound("buttonDown");
stopAllEQ();
mDocumentClass.playSound("menuSong");
break;
case "previewButton":
mDocumentClass.playSound("buttonDown");
startEQ(1);
mDocumentClass.mSongSelected = 1;
setLips();
break;
case "previewButton2":
mDocumentClass.playSound("buttonDown");
startEQ(2);
mDocumentClass.mSongSelected = 2;
setLips();
break;
case "previewButton3":
mDocumentClass.playSound("buttonDown");
startEQ(3);
mDocumentClass.mSongSelected = 3;
setLips();
break;
case "previewButton4":
mDocumentClass.playSound("buttonDown");
startEQ(4);
mDocumentClass.mSongSelected = 4;
setLips();
break;
case "previewButton5":
mDocumentClass.playSound("buttonDown");
startEQ(5);
mDocumentClass.mSongSelected = 5;
setLips();
break;
case "previewButton6":
mDocumentClass.playSound("buttonDown");
startEQ(6);
mDocumentClass.mSongSelected = 6;
setLips();
break;
case "previewButton7":
mDocumentClass.playSound("buttonDown");
startEQ(7);
mDocumentClass.mSongSelected = 7;
setLips();
break;
case "previewButton8":
mDocumentClass.playSound("buttonDown");
startEQ(8);
mDocumentClass.mSongSelected = 8;
setLips();
break;
case "song1Button":
mDocumentClass.playSound("buttonDown");
startEQ(1);
mDocumentClass.mSongSelected = 1;
setLips();
break;
case "song2Button":
mDocumentClass.playSound("buttonDown");
startEQ(2);
mDocumentClass.mSongSelected = 2;
setLips();
break;
case "song3Button":
mDocumentClass.playSound("buttonDown");
startEQ(3);
mDocumentClass.mSongSelected = 3;
setLips();
break;
case "song4Button":
mDocumentClass.playSound("buttonDown");
startEQ(4);
mDocumentClass.mSongSelected = 4;
setLips();
break;
case "song5Button":
mDocumentClass.playSound("buttonDown");
startEQ(5);
mDocumentClass.mSongSelected = 5;
setLips();
break;
case "song6Button":
mDocumentClass.playSound("buttonDown");
startEQ(6);
mDocumentClass.mSongSelected = 6;
setLips();
break;
case "song7Button":
mDocumentClass.playSound("buttonDown");
startEQ(7);
mDocumentClass.mSongSelected = 7;
setLips();
break;
case "song8Button":
mDocumentClass.playSound("buttonDown");
startEQ(8);
mDocumentClass.mSongSelected = 8;
setLips();
break;
case "softButton":
mDocumentClass.playSound("buttonDown");
mDocumentClass.mDifficultySelected = 1;
handleSecondNext();
break;
case "hardButton":
mDocumentClass.playSound("buttonDown");
mDocumentClass.mDifficultySelected = 2;
handleSecondNext();
break;
case "nextButton":
handleFirstNext();
break;
case "nextButton2":
break;
};
}
public function dispose():void{
this.removeEventListener(MouseEvent.CLICK, processButtons);
this.removeEventListener(MouseEvent.MOUSE_OVER, playOverSound);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
this.removeEventListener(Event.ENTER_FRAME, onEnterFrame);
}
public function stopAllEQ():void{
if (eq1Active == true){
stopEQ(1);
};
if (eq2Active == true){
stopEQ(2);
};
if (eq3Active == true){
stopEQ(3);
};
if (eq4Active == true){
stopEQ(4);
};
if (eq5Active == true){
stopEQ(5);
};
if (eq6Active == true){
stopEQ(6);
};
if (eq7Active == true){
stopEQ(7);
};
if (eq8Active == true){
stopEQ(8);
};
}
public function stopEQ(_arg1:int):void{
switch (_arg1){
case 1:
eq1Active = false;
selectStuffMC.eq1.gotoAndStop("off");
mDocumentClass.stopSound(SONG_1_NAME);
break;
case 2:
eq2Active = false;
selectStuffMC.eq2.gotoAndStop("off");
mDocumentClass.stopSound(SONG_2_NAME);
break;
case 3:
eq3Active = false;
selectStuffMC.eq3.gotoAndStop("off");
mDocumentClass.stopSound(SONG_3_NAME);
break;
case 4:
eq4Active = false;
selectStuffMC.eq4.gotoAndStop("off");
mDocumentClass.stopSound(SONG_4_NAME);
break;
case 5:
eq5Active = false;
selectStuffMC.eq5.gotoAndStop("off");
mDocumentClass.stopSound(SONG_5_NAME);
break;
case 6:
eq6Active = false;
selectStuffMC.eq6.gotoAndStop("off");
mDocumentClass.stopSound(SONG_6_NAME);
break;
case 7:
eq7Active = false;
selectStuffMC.eq7.gotoAndStop("off");
mDocumentClass.stopSound(SONG_7_NAME);
break;
case 8:
eq8Active = false;
selectStuffMC.eq8.gotoAndStop("off");
mDocumentClass.stopSound(SONG_8_NAME);
break;
};
}
private function setTrophy(_arg1:int):void{
var _local2:int;
switch (_arg1){
case 1:
_local2 = mDocumentClass.requestData("getAccuracy1");
selectStuffMC.accuracy1.accuracyText.text = (String(_local2) + "%");
if (_local2 == 0){
selectStuffMC.trophy1.gotoAndStop("none");
};
if (_local2 > 0){
selectStuffMC.trophy1.gotoAndStop("1star");
};
if (_local2 >= 25){
selectStuffMC.trophy1.gotoAndStop("2star");
};
if (_local2 >= 50){
selectStuffMC.trophy1.gotoAndStop("3star");
};
if (_local2 >= 75){
selectStuffMC.trophy1.gotoAndStop("4star");
};
if (_local2 >= 100){
selectStuffMC.trophy1.gotoAndStop("perfect");
};
break;
case 2:
_local2 = mDocumentClass.requestData("getAccuracy2");
selectStuffMC.accuracy2.accuracyText.text = (String(_local2) + "%");
if (_local2 == 0){
selectStuffMC.trophy2.gotoAndStop("none");
};
if (_local2 > 0){
selectStuffMC.trophy2.gotoAndStop("1star");
};
if (_local2 >= 25){
selectStuffMC.trophy2.gotoAndStop("2star");
};
if (_local2 >= 50){
selectStuffMC.trophy2.gotoAndStop("3star");
};
if (_local2 >= 75){
selectStuffMC.trophy2.gotoAndStop("4star");
};
if (_local2 >= 100){
selectStuffMC.trophy2.gotoAndStop("perfect");
};
break;
case 3:
_local2 = mDocumentClass.requestData("getAccuracy3");
selectStuffMC.accuracy3.accuracyText.text = (String(_local2) + "%");
if (_local2 == 0){
selectStuffMC.trophy3.gotoAndStop("none");
};
if (_local2 > 0){
selectStuffMC.trophy3.gotoAndStop("1star");
};
if (_local2 >= 25){
selectStuffMC.trophy3.gotoAndStop("2star");
};
if (_local2 >= 50){
selectStuffMC.trophy3.gotoAndStop("3star");
};
if (_local2 >= 75){
selectStuffMC.trophy3.gotoAndStop("4star");
};
if (_local2 >= 100){
selectStuffMC.trophy3.gotoAndStop("perfect");
};
break;
case 4:
_local2 = mDocumentClass.requestData("getAccuracy4");
selectStuffMC.accuracy4.accuracyText.text = (String(_local2) + "%");
if (_local2 == 0){
selectStuffMC.trophy4.gotoAndStop("none");
};
if (_local2 > 0){
selectStuffMC.trophy4.gotoAndStop("1star");
};
if (_local2 >= 25){
selectStuffMC.trophy4.gotoAndStop("2star");
};
if (_local2 >= 50){
selectStuffMC.trophy4.gotoAndStop("3star");
};
if (_local2 >= 75){
selectStuffMC.trophy4.gotoAndStop("4star");
};
if (_local2 >= 100){
selectStuffMC.trophy4.gotoAndStop("perfect");
};
break;
case 5:
_local2 = mDocumentClass.requestData("getAccuracy5");
selectStuffMC.accuracy5.accuracyText.text = (String(_local2) + "%");
if (_local2 == 0){
selectStuffMC.trophy5.gotoAndStop("none");
};
if (_local2 > 0){
selectStuffMC.trophy5.gotoAndStop("1star");
};
if (_local2 >= 25){
selectStuffMC.trophy5.gotoAndStop("2star");
};
if (_local2 >= 50){
selectStuffMC.trophy5.gotoAndStop("3star");
};
if (_local2 >= 75){
selectStuffMC.trophy5.gotoAndStop("4star");
};
if (_local2 >= 100){
selectStuffMC.trophy5.gotoAndStop("perfect");
};
break;
case 6:
_local2 = mDocumentClass.requestData("getAccuracy6");
selectStuffMC.accuracy6.accuracyText.text = (String(_local2) + "%");
if (_local2 == 0){
selectStuffMC.trophy6.gotoAndStop("none");
};
if (_local2 > 0){
selectStuffMC.trophy6.gotoAndStop("1star");
};
if (_local2 >= 25){
selectStuffMC.trophy6.gotoAndStop("2star");
};
if (_local2 >= 50){
selectStuffMC.trophy6.gotoAndStop("3star");
};
if (_local2 >= 75){
selectStuffMC.trophy6.gotoAndStop("4star");
};
if (_local2 >= 100){
selectStuffMC.trophy6.gotoAndStop("perfect");
};
break;
case 7:
_local2 = mDocumentClass.requestData("getAccuracy7");
selectStuffMC.accuracy7.accuracyText.text = (String(_local2) + "%");
if (_local2 == 0){
selectStuffMC.trophy7.gotoAndStop("none");
};
if (_local2 > 0){
selectStuffMC.trophy7.gotoAndStop("1star");
};
if (_local2 >= 25){
selectStuffMC.trophy7.gotoAndStop("2star");
};
if (_local2 >= 50){
selectStuffMC.trophy7.gotoAndStop("3star");
};
if (_local2 >= 75){
selectStuffMC.trophy7.gotoAndStop("4star");
};
if (_local2 >= 100){
selectStuffMC.trophy7.gotoAndStop("perfect");
};
break;
case 8:
_local2 = mDocumentClass.requestData("getAccuracy8");
selectStuffMC.accuracy8.accuracyText.text = (String(_local2) + "%");
if (_local2 == 0){
selectStuffMC.trophy8.gotoAndStop("none");
};
if (_local2 > 0){
selectStuffMC.trophy8.gotoAndStop("1star");
};
if (_local2 >= 25){
selectStuffMC.trophy8.gotoAndStop("2star");
};
if (_local2 >= 50){
selectStuffMC.trophy8.gotoAndStop("3star");
};
if (_local2 >= 75){
selectStuffMC.trophy8.gotoAndStop("4star");
};
if (_local2 >= 100){
selectStuffMC.trophy8.gotoAndStop("perfect");
};
break;
};
}
public function setRecentScore():void{
if ((((mDocumentClass.mJustWon == true)) && ((mDocumentClass.mNewHighScore == true)))){
if (mPreviousSongSelected == 1){
selectStuffMC.scoreRecentMC.scoreRecentMC.scoreText.text = selectStuffMC.score1MC.scoreText.text;
if (((!((mDocumentClass.requestData("getScore1") == 0))) && ((mDocumentClass.requestData("getLock1") == 1)))){
selectStuffMC.scoreRecentMC.y = (selectStuffMC.score1MC.y - 2);
};
};
if (mPreviousSongSelected == 2){
selectStuffMC.scoreRecentMC.scoreRecentMC.scoreText.text = selectStuffMC.score2MC.scoreText.text;
if (((!((mDocumentClass.requestData("getScore2") == 0))) && ((mDocumentClass.requestData("getLock2") == 1)))){
selectStuffMC.scoreRecentMC.y = (selectStuffMC.score2MC.y - 2);
};
};
if (mPreviousSongSelected == 3){
selectStuffMC.scoreRecentMC.scoreRecentMC.scoreText.text = selectStuffMC.score3MC.scoreText.text;
if (((!((mDocumentClass.requestData("getScore3") == 0))) && ((mDocumentClass.requestData("getLock3") == 1)))){
selectStuffMC.scoreRecentMC.y = (selectStuffMC.score3MC.y - 2);
};
};
if (mPreviousSongSelected == 4){
selectStuffMC.scoreRecentMC.scoreRecentMC.scoreText.text = selectStuffMC.score4MC.scoreText.text;
if (((!((mDocumentClass.requestData("getScore4") == 0))) && ((mDocumentClass.requestData("getLock4") == 1)))){
selectStuffMC.scoreRecentMC.y = (selectStuffMC.score4MC.y - 2);
};
};
if (mPreviousSongSelected == 5){
selectStuffMC.scoreRecentMC.scoreRecentMC.scoreText.text = selectStuffMC.score5MC.scoreText.text;
if (((!((mDocumentClass.requestData("getScore5") == 0))) && ((mDocumentClass.requestData("getLock5") == 1)))){
selectStuffMC.scoreRecentMC.y = (selectStuffMC.score5MC.y - 2);
};
};
if (mPreviousSongSelected == 6){
selectStuffMC.scoreRecentMC.scoreRecentMC.scoreText.text = selectStuffMC.score6MC.scoreText.text;
if (((!((mDocumentClass.requestData("getScore6") == 0))) && ((mDocumentClass.requestData("getLock6") == 1)))){
selectStuffMC.scoreRecentMC.y = (selectStuffMC.score6MC.y - 2);
};
};
if (mPreviousSongSelected == 7){
selectStuffMC.scoreRecentMC.scoreRecentMC.scoreText.text = selectStuffMC.score7MC.scoreText.text;
if (((!((mDocumentClass.requestData("getScore7") == 0))) && ((mDocumentClass.requestData("getLock7") == 1)))){
selectStuffMC.scoreRecentMC.y = (selectStuffMC.score7MC.y - 2);
};
};
if (mPreviousSongSelected == 8){
selectStuffMC.scoreRecentMC.scoreRecentMC.scoreText.text = selectStuffMC.score8MC.scoreText.text;
if (((!((mDocumentClass.requestData("getScore8") == 0))) && ((mDocumentClass.requestData("getLock8") == 1)))){
selectStuffMC.scoreRecentMC.y = (selectStuffMC.score8MC.y - 2);
};
};
};
}
private function flashText(_arg1:int):void{
if (mUsedCheat == false){
mFlashText = true;
mTextFlashCount = 40;
mWhichTextToFlash = _arg1;
};
}
public function stopMusic():void{
stopAllEQ();
mDocumentClass.stopSound(SONG_1_NAME);
mDocumentClass.stopSound(SONG_2_NAME);
mDocumentClass.stopSound(SONG_3_NAME);
mDocumentClass.stopSound(SONG_4_NAME);
mDocumentClass.stopSound(SONG_5_NAME);
mDocumentClass.stopSound(SONG_6_NAME);
mDocumentClass.stopSound(SONG_7_NAME);
mDocumentClass.stopSound(SONG_8_NAME);
}
private function setLocks():void{
mReachedLocks = true;
if (mDocumentClass.mHardLocked == true){
} else {
if (mDocumentClass.mHardLockedPrevious == true){
mDocumentClass.mHardLockedPrevious = false;
};
};
if (mDocumentClass.mSong3Locked == true){
lockSong3.gotoAndPlay("lock");
} else {
if (mDocumentClass.mSong3LockedPrevious == true){
mDocumentClass.mSong3LockedPrevious = false;
lockSong3.gotoAndPlay("unlock");
mDocumentClass.playSound("levelUnlocked");
flashText(3);
};
};
if (mDocumentClass.mSong4Locked == true){
lockSong4.gotoAndPlay("lock");
} else {
if (mDocumentClass.mSong4LockedPrevious == true){
mDocumentClass.mSong4LockedPrevious = false;
lockSong4.gotoAndPlay("unlock");
mDocumentClass.playSound("levelUnlocked");
flashText(4);
};
};
if (mDocumentClass.mSong5Locked == true){
lockSong5.gotoAndPlay("lock");
} else {
if (mDocumentClass.mSong5LockedPrevious == true){
mDocumentClass.mSong5LockedPrevious = false;
lockSong5.gotoAndPlay("unlock");
mDocumentClass.playSound("levelUnlocked");
flashText(5);
};
};
if (mDocumentClass.mSong6Locked == true){
lockSong6.gotoAndPlay("lock");
} else {
if (mDocumentClass.mSong6LockedPrevious == true){
mDocumentClass.mSong6LockedPrevious = false;
lockSong6.gotoAndPlay("unlock");
mDocumentClass.playSound("levelUnlocked");
flashText(6);
};
};
if (mDocumentClass.mSong7Locked == true){
lockSong7.gotoAndPlay("lock");
} else {
if (mDocumentClass.mSong7LockedPrevious == true){
mDocumentClass.mSong7LockedPrevious = false;
lockSong7.gotoAndPlay("unlock");
mDocumentClass.playSound("levelUnlocked");
flashText(7);
};
};
if (mDocumentClass.mSong8Locked == true){
lockSong8.gotoAndPlay("lock");
} else {
if (mDocumentClass.mSong8LockedPrevious == true){
mDocumentClass.mSong8LockedPrevious = false;
lockSong8.gotoAndPlay("unlock");
mDocumentClass.playSound("levelUnlocked");
flashText(8);
};
};
}
protected function keyDownHandler(_arg1:KeyboardEvent){
trace(("key " + _arg1.keyCode));
if (_arg1.keyCode == Keyboard.SPACE){
keySpacePressed = true;
};
if (_arg1.keyCode == Keyboard.ENTER){
keyEnterPressed = true;
};
}
public function handleFirstNext():void{
mDocumentClass.playSound("buttonDown");
stage.focus = stage;
this.gotoAndPlay("select");
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
function frame33(){
this.stop();
}
public function startEQ(_arg1:int):void{
stopAllEQ();
mDocumentClass.stopTitleMusic();
switch (_arg1){
case 1:
eq1Active = true;
selectStuffMC.eq1.gotoAndStop("on");
mDocumentClass.playSound(SONG_1_NAME, true);
break;
case 2:
eq2Active = true;
selectStuffMC.eq2.gotoAndStop("on");
mDocumentClass.playSound(SONG_2_NAME, true);
break;
case 3:
eq3Active = true;
selectStuffMC.eq3.gotoAndStop("on");
mDocumentClass.playSound(SONG_3_NAME, true);
break;
case 4:
eq4Active = true;
selectStuffMC.eq4.gotoAndStop("on");
mDocumentClass.playSound(SONG_4_NAME, true);
break;
case 5:
eq5Active = true;
selectStuffMC.eq5.gotoAndStop("on");
mDocumentClass.playSound(SONG_5_NAME, true);
break;
case 6:
eq6Active = true;
selectStuffMC.eq6.gotoAndStop("on");
mDocumentClass.playSound(SONG_6_NAME, true);
break;
case 7:
eq7Active = true;
selectStuffMC.eq7.gotoAndStop("on");
mDocumentClass.playSound(SONG_7_NAME, true);
break;
case 8:
eq8Active = true;
selectStuffMC.eq8.gotoAndStop("on");
mDocumentClass.playSound(SONG_8_NAME, true);
break;
};
}
public function showButton():void{
if (mDocumentClass.mSongSelected > 0){
hideButtonMC.gotoAndStop("showButton");
};
}
protected function keyUpHandler(_arg1:KeyboardEvent){
if (_arg1.keyCode == Keyboard.SPACE){
keySpacePressed = false;
};
if (_arg1.keyCode == Keyboard.ENTER){
keyEnterPressed = false;
};
if (_arg1.keyCode > 60){
mKeyInput = (mKeyInput + _arg1.keyCode);
};
}
public function moveOn():void{
if (this.currentLabel == "firstNext"){
handleFirstNext();
};
}
private function onEnterFrame(_arg1:Event):void{
readInput();
if (mDocumentClass.mHasPlayedOnce == true){
mDocumentClass.mHasPlayedOnce = false;
mDocumentClass.playSound("menuSong", true);
this.gotoAndPlay("afterPlay");
};
if ((((this.currentLabel == "showLocks")) && ((mShowLocks == false)))){
mirrorMC.selectScore.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getTotalScore")));
showLocks();
setRecentScore();
};
if ((((this.currentLabel == "secondNext")) && ((mReachedLocks == false)))){
setLocks();
};
if ((((this.currentLabel == "mirrorAppears")) && ((mReachedMirror == false)))){
mReachedMirror = true;
mirrorMC.selectScore.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getTotalScore")));
};
if (mFlashText == true){
mTextFlashCount--;
if ((mTextFlashCount % 4) == 0){
switch (mWhichTextToFlash){
case 3:
selectStuffMC.song3Button.alpha = 0.3;
break;
case 4:
selectStuffMC.song4Button.alpha = 0.3;
break;
case 5:
selectStuffMC.song5Button.alpha = 0.3;
break;
case 6:
selectStuffMC.song6Button.alpha = 0.3;
break;
case 7:
selectStuffMC.song7Button.alpha = 0.3;
break;
case 8:
selectStuffMC.song8Button.alpha = 0.3;
break;
};
} else {
switch (mWhichTextToFlash){
case 3:
selectStuffMC.song3Button.alpha = 1;
break;
case 4:
selectStuffMC.song4Button.alpha = 1;
break;
case 5:
selectStuffMC.song5Button.alpha = 1;
break;
case 6:
selectStuffMC.song6Button.alpha = 1;
break;
case 7:
selectStuffMC.song7Button.alpha = 1;
break;
case 8:
selectStuffMC.song8Button.alpha = 1;
break;
};
};
if (mTextFlashCount == 0){
mFlashText = false;
switch (mWhichTextToFlash){
case 3:
selectStuffMC.song3Button.alpha = 1;
break;
case 4:
selectStuffMC.song4Button.alpha = 1;
break;
case 5:
selectStuffMC.song5Button.alpha = 1;
break;
case 6:
selectStuffMC.song6Button.alpha = 1;
break;
case 7:
selectStuffMC.song7Button.alpha = 1;
break;
case 8:
selectStuffMC.song8Button.alpha = 1;
break;
};
};
};
}
private function showLocks():void{
mShowLocks = true;
if (mDocumentClass.requestData("getLock1") == 1){
selectStuffMC.score1MC.scoreText.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getScore1")));
setTrophy(1);
};
if (mDocumentClass.requestData("getLock2") == 1){
selectStuffMC.score2MC.scoreText.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getScore2")));
setTrophy(2);
};
if (mDocumentClass.requestData("getLock3") == 1){
selectStuffMC.score3MC.scoreText.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getScore3")));
setTrophy(3);
};
if (mDocumentClass.requestData("getLock4") == 1){
selectStuffMC.score4MC.scoreText.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getScore4")));
setTrophy(4);
};
if (mDocumentClass.requestData("getLock5") == 1){
selectStuffMC.score5MC.scoreText.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getScore5")));
setTrophy(5);
};
if (mDocumentClass.requestData("getLock6") == 1){
selectStuffMC.score6MC.scoreText.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getScore6")));
setTrophy(6);
};
if (mDocumentClass.requestData("getLock7") == 1){
selectStuffMC.score7MC.scoreText.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getScore7")));
setTrophy(7);
};
if (mDocumentClass.requestData("getLock8") == 1){
selectStuffMC.score8MC.scoreText.text = ("$" + mDocumentClass.formatAsDollars(mDocumentClass.requestData("getScore8")));
setTrophy(8);
};
if (mDocumentClass.mHardLockedPrevious == true){
};
if (mDocumentClass.mSong3LockedPrevious == true){
lockSong3.alpha = 1;
} else {
lockSong3.gotoAndStop("empty");
};
if (mDocumentClass.mSong4LockedPrevious == true){
lockSong4.alpha = 1;
} else {
lockSong4.gotoAndStop("empty");
};
if (mDocumentClass.mSong5LockedPrevious == true){
lockSong5.alpha = 1;
} else {
lockSong5.gotoAndStop("empty");
};
if (mDocumentClass.mSong6LockedPrevious == true){
lockSong6.alpha = 1;
} else {
lockSong6.gotoAndStop("empty");
};
if (mDocumentClass.mSong7LockedPrevious == true){
lockSong7.alpha = 1;
} else {
lockSong7.gotoAndStop("empty");
};
if (mDocumentClass.mSong8LockedPrevious == true){
lockSong8.alpha = 1;
} else {
lockSong8.gotoAndStop("empty");
};
}
public function unlockAll():void{
mUsedCheat = true;
mDocumentClass.mSong3Locked = false;
mDocumentClass.mSong4Locked = false;
mDocumentClass.mSong5Locked = false;
mDocumentClass.mSong6Locked = false;
mDocumentClass.mSong7Locked = false;
mDocumentClass.mSong8Locked = false;
setLocks();
}
public function setLips():void{
selectStuffMC.selectBar1.gotoAndStop("hideBar");
selectStuffMC.selectBar2.gotoAndStop("hideBar");
selectStuffMC.selectBar3.gotoAndStop("hideBar");
selectStuffMC.selectBar4.gotoAndStop("hideBar");
selectStuffMC.selectBar5.gotoAndStop("hideBar");
selectStuffMC.selectBar6.gotoAndStop("hideBar");
selectStuffMC.selectBar7.gotoAndStop("hideBar");
selectStuffMC.selectBar8.gotoAndStop("hideBar");
switch (mDocumentClass.mSongSelected){
case 1:
selectStuffMC.selectBar1.gotoAndStop("showBar");
break;
case 2:
selectStuffMC.selectBar2.gotoAndStop("showBar");
break;
case 3:
selectStuffMC.selectBar3.gotoAndStop("showBar");
break;
case 4:
selectStuffMC.selectBar4.gotoAndStop("showBar");
break;
case 5:
selectStuffMC.selectBar5.gotoAndStop("showBar");
break;
case 6:
selectStuffMC.selectBar6.gotoAndStop("showBar");
break;
case 7:
selectStuffMC.selectBar7.gotoAndStop("showBar");
break;
case 8:
selectStuffMC.selectBar8.gotoAndStop("showBar");
break;
};
showButton();
}
public function playOverSound(_arg1:MouseEvent):void{
switch (_arg1.target.name){
case "muteButton":
case "song1Button":
case "song2Button":
case "song3Button":
case "song4Button":
case "song5Button":
case "song6Button":
case "song7Button":
case "song8Button":
case "softButton":
case "hardButton":
case "nextButton":
case "nextButton2":
mDocumentClass.playSound("buttonOver");
break;
};
}
function frame53(){
this.stop();
}
public function handleSecondNext():void{
if ((((mDocumentClass.mDifficultySelected > 0)) && ((mDocumentClass.mSongSelected > 0)))){
mDocumentClass.playSound("buttonDown");
switch (mDocumentClass.mSongSelected){
case 1:
if (mDocumentClass.mDifficultySelected == 1){
mDocumentClass.setStage(1);
} else {
mDocumentClass.setStage(2);
};
break;
case 2:
if (mDocumentClass.mDifficultySelected == 1){
mDocumentClass.setStage(3);
} else {
mDocumentClass.setStage(4);
};
break;
case 3:
if (mDocumentClass.mDifficultySelected == 1){
mDocumentClass.setStage(5);
} else {
mDocumentClass.setStage(6);
};
break;
case 4:
if (mDocumentClass.mDifficultySelected == 1){
mDocumentClass.setStage(7);
} else {
mDocumentClass.setStage(8);
};
break;
case 5:
if (mDocumentClass.mDifficultySelected == 1){
mDocumentClass.setStage(9);
} else {
mDocumentClass.setStage(10);
};
break;
case 6:
if (mDocumentClass.mDifficultySelected == 1){
mDocumentClass.setStage(11);
} else {
mDocumentClass.setStage(12);
};
break;
case 7:
if (mDocumentClass.mDifficultySelected == 1){
mDocumentClass.setStage(13);
} else {
mDocumentClass.setStage(14);
};
break;
case 8:
if (mDocumentClass.mDifficultySelected == 1){
mDocumentClass.setStage(15);
} else {
mDocumentClass.setStage(16);
};
break;
};
dispose();
stopMusic();
mDocumentClass.gotoAndPlay("game");
};
}
private function readInput():void{
if (keySpacePressed == true){
moveOn();
};
if (keyEnterPressed == true){
trace(("mKeyInput " + mKeyInput));
if (mKeyInput == 677){
unlockAll();
};
mKeyInput = 0;
};
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
muteButton.buttonMode = true;
if (mDocumentClass.isMuted() == false){
muteButton.gotoAndStop("soundoff");
} else {
muteButton.gotoAndStop("sound");
};
mPreviousSongSelected = mDocumentClass.mSongSelected;
mDocumentClass.mSongSelected = 0;
mDocumentClass.mDifficultySelected = 1;
}
}
}//package local
Section 15
//SoundAlias (local.SoundAlias)
package local {
public class SoundAlias {
public var sURL:String;// = ""
public var music:Boolean;// = false
public var alias:String;// = ""
public var sName:String;// = ""
public function SoundAlias(_arg1:String, _arg2:String, _arg3:String, _arg4:Boolean){
sURL = _arg1;
sName = _arg2;
alias = _arg3;
music = _arg4;
}
}
}//package local
Section 16
//SoundBuffer (local.SoundBuffer)
package local {
import flash.media.*;
public class SoundBuffer {
public var s:Sound;// = null
public var music:Boolean;// = false
public var sName:String;// = ""
public function SoundBuffer(_arg1:String, _arg2:Sound, _arg3:Boolean){
sName = _arg1;
s = _arg2;
music = _arg3;
}
}
}//package local
Section 17
//SoundPlay (local.SoundPlay)
package local {
import flash.media.*;
public class SoundPlay {
public var s:SoundChannel;// = null
public var music:Boolean;// = false
public var sName:String;// = ""
public function SoundPlay(_arg1:String, _arg2:SoundChannel, _arg3:Boolean){
sName = _arg1;
s = _arg2;
music = _arg3;
}
}
}//package local
Section 18
//tile (local.tile)
package local {
import flash.display.*;
public class tile extends MovieClip {
public var mHit:Boolean;// = false
public var mType:int;// = 0
public var noteMC:MovieClip;
private var mDocumentClass:MovieClip;
public var mTempY:Number;
public var mFrameCounter:int;// = 0
public var mTempX:Number;
public function tile():void{
addFrameScript(0, frame1);
}
public function dispose():void{
}
function frame1(){
this.stop();
}
public function goNextFrame():int{
if ((((((((((((mType == 1)) || ((mType == 2)))) || ((mType == 10)))) || ((mType == 12)))) || ((mType == 14)))) || ((mType == 24)))){
if (noteMC != null){
noteMC.nextFrame();
mFrameCounter++;
};
};
return (mFrameCounter);
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
}
}
}//package local
Section 19
//tileStack (local.tileStack)
package local {
import flash.events.*;
import flash.display.*;
public class tileStack extends MovieClip {
public var mType:int;// = 0
public var noteMC:MovieClip;
public var mActive:Boolean;// = false
public var mTempX:Number;
public var mTempY:Number;
public var mFrameCounter:int;// = 0
public var mHit:Boolean;// = false
private var mDocumentClass:MovieClip;
public var mWhichLane:String;// = ""
public function tileStack():void{
addFrameScript(0, frame1);
}
public function deActivate():void{
this.gotoAndStop(1);
mFrameCounter = 0;
mActive = false;
mDocumentClass.changeTokenColorBack(this);
}
public function setDocumentClass(_arg1:MovieClip, _arg2:String):void{
mDocumentClass = _arg1;
mWhichLane = _arg2;
}
public function dispose():void{
}
function frame1(){
this.stop();
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
public function goNextFrame():void{
if (mActive == true){
mFrameCounter++;
switch (mType){
case 12:
if (mFrameCounter >= 3){
this.gotoAndStop(1);
mActive = false;
mDocumentClass.changeHeldNote(mWhichLane, false);
} else {
noteMC.gotoAndStop(mFrameCounter);
mDocumentClass.showDaMoney(mWhichLane, mDocumentClass.mCoinScoreAmount);
};
break;
case 14:
if (mFrameCounter >= 5){
this.gotoAndStop(1);
mActive = false;
mDocumentClass.changeHeldNote(mWhichLane, false);
} else {
noteMC.gotoAndStop(mFrameCounter);
mDocumentClass.showDaMoney(mWhichLane, mDocumentClass.mCoinScoreAmount);
};
break;
case 24:
case 25:
case 26:
if (mFrameCounter >= 5){
this.gotoAndStop(1);
mActive = false;
mDocumentClass.changeHeldNote(mWhichLane, false);
} else {
noteMC.gotoAndStop(mFrameCounter);
mDocumentClass.showDaMoney(mWhichLane, mDocumentClass.mBillScoreAmount);
};
break;
};
};
}
public function activate(_arg1:int):void{
mType = _arg1;
this.gotoAndStop((mType + 1));
mFrameCounter = 0;
mActive = true;
}
}
}//package local
Section 20
//title (local.title)
package local {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.ui.*;
import fl.transitions.easing.*;
public class title extends MovieClip {
private var mDelayTime:int;
public var playButton:button_play;
public var versionNum:TextField;
private var mGameState:EnumeratedType;
private var mTheGameState;
public var muteButton:MovieClip;
public var mDocumentClass:MovieClip;
protected var keySpacePressed:Boolean;// = false
public function title():void{
addFrameScript(7, frame8);
this.addEventListener(MouseEvent.CLICK, processButtons);
this.addEventListener(MouseEvent.MOUSE_OVER, playOverSound);
this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
initStateMachine();
}
public function playOverSound(_arg1:MouseEvent):void{
switch (_arg1.target.name){
case "playButton":
case "muteButton":
case "unlock":
mDocumentClass.playSound("buttonOver");
break;
};
}
protected function keyUpHandler(_arg1:KeyboardEvent){
if (_arg1.keyCode == Keyboard.SPACE){
keySpacePressed = false;
};
}
private function readInput():void{
if (keySpacePressed == true){
moveOn();
};
}
public function moveOn():void{
mDocumentClass.playSound("buttonDown");
dispose();
mDocumentClass.gotoAndPlay("selectScreen");
}
public function processButtons(_arg1:MouseEvent):void{
trace(((("-> processButtons() e:" + _arg1) + " e.target.name: ") + _arg1.target.name));
switch (_arg1.target.name){
case "unlock":
mDocumentClass.mHardLocked = false;
mDocumentClass.mSong3Locked = false;
mDocumentClass.mSong4Locked = false;
mDocumentClass.mSong5Locked = false;
mDocumentClass.mSong6Locked = false;
mDocumentClass.mSong7Locked = false;
mDocumentClass.mSong8Locked = false;
moveOn();
break;
case "playButton":
moveOn();
break;
case "muteButton":
if (mDocumentClass.toggleMute() == false){
muteButton.gotoAndStop("soundoff");
} else {
muteButton.gotoAndStop("sound");
};
break;
};
}
public function setDocumentClass(_arg1:MovieClip):void{
mDocumentClass = _arg1;
}
public function dispose():void{
this.removeEventListener(MouseEvent.CLICK, processButtons);
this.removeEventListener(MouseEvent.MOUSE_OVER, playOverSound);
this.removeEventListener(Event.ENTER_FRAME, onEnterFrame);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
}
private function onEnterFrame(_arg1:Event):void{
var _local3:XMLList;
var _local2:* = Math.round((getTimer() / 1000));
var _local4:int;
if (mDelayTime > 0){
if (_local2 < mDelayTime){
return;
};
mDelayTime = 0;
};
if (mTheGameState == mGameState.startTitle){
muteButton.buttonMode = true;
mDocumentClass.playSound("menuSong", true);
mTheGameState = mGameState.userInput;
} else {
if (mTheGameState == mGameState.watchFade){
} else {
if (mTheGameState == mGameState.userInput){
readInput();
};
};
};
}
private function initStateMachine():void{
mDelayTime = 0;
mGameState = new EnumeratedType(["startTitle", "watchFade", "userInput"]);
mTheGameState = mGameState.startTitle;
}
public function getDocumentClass():MovieClip{
return (mDocumentClass);
}
protected function keyDownHandler(_arg1:KeyboardEvent){
if (_arg1.keyCode == Keyboard.SPACE){
keySpacePressed = true;
};
}
function frame8(){
this.stop();
}
private function setStateDelay(_arg1):void{
mDelayTime = (Math.round((getTimer() / 1000)) + _arg1);
}
}
}//package local
Section 21
//100dollars_132 (poleDanceHero_fla.100dollars_132)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class 100dollars_132 extends MovieClip {
public function 100dollars_132(){
addFrameScript(0, frame1, 12, frame13, 28, frame29, 37, frame38);
}
function frame38(){
this.stop();
}
function frame29(){
this.stop();
}
function frame1(){
this.stop();
}
function frame13(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 22
//anibraflyoff_97 (poleDanceHero_fla.anibraflyoff_97)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class anibraflyoff_97 extends MovieClip {
public function anibraflyoff_97(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package poleDanceHero_fla
Section 23
//anipantyflyoff_99 (poleDanceHero_fla.anipantyflyoff_99)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class anipantyflyoff_99 extends MovieClip {
public function anipantyflyoff_99(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package poleDanceHero_fla
Section 24
//aud001_52 (poleDanceHero_fla.aud001_52)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class aud001_52 extends MovieClip {
public function aud001_52(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 25
//aud002_53 (poleDanceHero_fla.aud002_53)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class aud002_53 extends MovieClip {
public function aud002_53(){
addFrameScript(0, frame1, 51, frame52);
}
function frame52(){
this.gotoAndPlay("start");
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 26
//aud003_69 (poleDanceHero_fla.aud003_69)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class aud003_69 extends MovieClip {
public function aud003_69(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
this.gotoAndPlay("start");
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 27
//aud004_58 (poleDanceHero_fla.aud004_58)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class aud004_58 extends MovieClip {
public function aud004_58(){
addFrameScript(0, frame1, 54, frame55);
}
function frame1(){
this.stop();
}
function frame55(){
this.gotoAndPlay("start");
}
}
}//package poleDanceHero_fla
Section 28
//aud005_63 (poleDanceHero_fla.aud005_63)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class aud005_63 extends MovieClip {
public function aud005_63(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
this.gotoAndPlay("start");
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 29
//aud006_66 (poleDanceHero_fla.aud006_66)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class aud006_66 extends MovieClip {
public function aud006_66(){
addFrameScript(0, frame1, 45, frame46);
}
function frame1(){
this.stop();
}
function frame46(){
this.gotoAndPlay("start");
}
}
}//package poleDanceHero_fla
Section 30
//billCenterClip4Stack_129 (poleDanceHero_fla.billCenterClip4Stack_129)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class billCenterClip4Stack_129 extends MovieClip {
public function billCenterClip4Stack_129(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 31
//billLeftClip4Stack_128 (poleDanceHero_fla.billLeftClip4Stack_128)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class billLeftClip4Stack_128 extends MovieClip {
public function billLeftClip4Stack_128(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 32
//billRightClip4Stack_130 (poleDanceHero_fla.billRightClip4Stack_130)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class billRightClip4Stack_130 extends MovieClip {
public function billRightClip4Stack_130(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 33
//billsCenter_124 (poleDanceHero_fla.billsCenter_124)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class billsCenter_124 extends MovieClip {
public function billsCenter_124(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 34
//billsLeft_123 (poleDanceHero_fla.billsLeft_123)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class billsLeft_123 extends MovieClip {
public function billsLeft_123(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 35
//billsRight_125 (poleDanceHero_fla.billsRight_125)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class billsRight_125 extends MovieClip {
public function billsRight_125(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 36
//button_sound_6 (poleDanceHero_fla.button_sound_6)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class button_sound_6 extends MovieClip {
public function button_sound_6(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package poleDanceHero_fla
Section 37
//buttonHide_16 (poleDanceHero_fla.buttonHide_16)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class buttonHide_16 extends MovieClip {
public function buttonHide_16(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 38
//centerArrow_117 (poleDanceHero_fla.centerArrow_117)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class centerArrow_117 extends MovieClip {
public function centerArrow_117(){
addFrameScript(0, frame1, 7, frame8, 16, frame17);
}
function frame17(){
this.stop();
}
function frame8(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 39
//centerGarter_109 (poleDanceHero_fla.centerGarter_109)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class centerGarter_109 extends MovieClip {
public function centerGarter_109(){
addFrameScript(0, frame1, 12, frame13, 22, frame23);
}
function frame1(){
this.stop();
}
function frame23(){
this.stop();
}
function frame13(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 40
//centerHeldNote_101 (poleDanceHero_fla.centerHeldNote_101)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class centerHeldNote_101 extends MovieClip {
public function centerHeldNote_101(){
addFrameScript(0, frame1, 86, frame87, 93, frame94);
}
function frame94(){
this.gotoAndStop(1);
}
function frame87(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 41
//Channel_36 (poleDanceHero_fla.Channel_36)
package poleDanceHero_fla {
import flash.media.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.accessibility.*;
import flash.ui.*;
import flash.geom.*;
import flash.external.*;
import adobe.utils.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class Channel_36 extends MovieClip {
public var b1:MovieClip;
public var b2:MovieClip;
public var b3:MovieClip;
public var b4:MovieClip;
public var b5:MovieClip;
public var b6:MovieClip;
public var b7:MovieClip;
public function Channel_36(){
addFrameScript(0, frame1);
}
public function poweron(){
var _local1 = 1;
while (_local1 <= 10) {
this[("b" + _local1)].poweron();
_local1++;
};
}
public function shutdown(){
var _local1 = 1;
while (_local1 <= 10) {
this[("b" + _local1)].shutdown();
_local1++;
};
}
function frame1(){
}
}
}//package poleDanceHero_fla
Section 42
//coinClip_122 (poleDanceHero_fla.coinClip_122)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class coinClip_122 extends MovieClip {
public function coinClip_122(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 43
//coinClip2Stack_126 (poleDanceHero_fla.coinClip2Stack_126)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class coinClip2Stack_126 extends MovieClip {
public function coinClip2Stack_126(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 44
//coinClip4Stack_127 (poleDanceHero_fla.coinClip4Stack_127)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class coinClip4Stack_127 extends MovieClip {
public function coinClip4Stack_127(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 45
//EqualizerHigh_37 (poleDanceHero_fla.EqualizerHigh_37)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class EqualizerHigh_37 extends MovieClip {
public var max:int;
public var speed:int;
public var maxgrowth:int;
public var min:int;
public var bar:MovieClip;
public var mingrowth:int;
public function EqualizerHigh_37(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame7(){
min = 8;
speed = (speed / 4);
}
function frame2(){
bar.height = (bar.height + speed);
}
function frame6(){
if (bar.height >= mingrowth){
gotoAndPlay("degrowing");
} else {
gotoAndPlay(1);
};
}
function frame1(){
min = 20;
max = 60;
maxgrowth = ((Math.random() * max) + 20);
speed = 5;
}
function frame9(){
if (bar.height >= min){
gotoAndPlay("shutdowning");
} else {
bar.height = min;
stop();
};
}
function frame3(){
if (bar.height < maxgrowth){
gotoAndPlay("growing");
};
}
function frame5(){
bar.height = (bar.height - speed);
}
public function poweron(){
gotoAndPlay(1);
}
public function shutdown(){
gotoAndPlay("shutdown");
}
function frame8(){
bar.height = (bar.height - speed);
}
function frame4(){
mingrowth = 0;
mingrowth = ((Math.random() * (bar.height - 8)) + 8);
}
}
}//package poleDanceHero_fla
Section 46
//EqualizerLow_40 (poleDanceHero_fla.EqualizerLow_40)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class EqualizerLow_40 extends MovieClip {
public var max:int;
public var speed:int;
public var maxgrowth:int;
public var min:int;
public var bar:MovieClip;
public var mingrowth:int;
public function EqualizerLow_40(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame7(){
min = 8;
speed = (speed / 4);
}
function frame2(){
bar.height = (bar.height + speed);
}
function frame6(){
if (bar.height >= mingrowth){
gotoAndPlay("degrowing");
} else {
gotoAndPlay(1);
};
}
function frame1(){
min = 20;
max = 10;
maxgrowth = ((Math.random() * max) + min);
speed = 5;
}
function frame9(){
if (bar.height >= min){
gotoAndPlay("shutdowning");
} else {
bar.height = min;
stop();
};
}
function frame3(){
if (bar.height < maxgrowth){
gotoAndPlay("growing");
};
}
function frame5(){
bar.height = (bar.height - speed);
}
public function poweron(){
gotoAndPlay(1);
}
public function shutdown(){
gotoAndPlay("shutdown");
}
function frame8(){
bar.height = (bar.height - speed);
}
function frame4(){
mingrowth = ((Math.random() * (bar.height - 8)) + 8);
}
}
}//package poleDanceHero_fla
Section 47
//EqualizerMedium_39 (poleDanceHero_fla.EqualizerMedium_39)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class EqualizerMedium_39 extends MovieClip {
public var max:int;
public var speed:int;
public var maxgrowth:int;
public var min:int;
public var bar:MovieClip;
public var mingrowth:int;
public function EqualizerMedium_39(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame7(){
min = 8;
speed = (speed / 4);
}
function frame2(){
bar.height = (bar.height + speed);
}
function frame6(){
if (bar.height >= mingrowth){
gotoAndPlay("degrowing");
} else {
gotoAndPlay(1);
};
}
function frame1(){
min = 20;
max = 30;
maxgrowth = ((Math.random() * max) + min);
speed = 5;
}
function frame9(){
if (bar.height >= min){
gotoAndPlay("shutdowning");
} else {
bar.height = min;
stop();
};
}
function frame3(){
if (bar.height < maxgrowth){
gotoAndPlay("growing");
};
}
function frame5(){
bar.height = (bar.height - speed);
}
public function poweron(){
gotoAndPlay(1);
}
public function shutdown(){
gotoAndPlay("shutdown");
}
function frame8(){
bar.height = (bar.height - speed);
}
function frame4(){
mingrowth = ((Math.random() * (bar.height - 8)) + 8);
}
}
}//package poleDanceHero_fla
Section 48
//FallfromSpin_175 (poleDanceHero_fla.FallfromSpin_175)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class FallfromSpin_175 extends MovieClip {
public function FallfromSpin_175(){
addFrameScript(52, frame53);
}
function frame53(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 49
//fallontheground_180 (poleDanceHero_fla.fallontheground_180)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class fallontheground_180 extends MovieClip {
public function fallontheground_180(){
addFrameScript(44, frame45);
}
function frame45(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 50
//FinalEQ_35 (poleDanceHero_fla.FinalEQ_35)
package poleDanceHero_fla {
import flash.media.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.accessibility.*;
import flash.ui.*;
import flash.geom.*;
import flash.external.*;
import adobe.utils.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class FinalEQ_35 extends MovieClip {
public var channel1:MovieClip;
public function FinalEQ_35(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
this.stop();
}
function frame2(){
this.stop();
}
public function shutdown(){
channel1.shutdown();
}
public function poweron(){
channel1.poweron();
}
}
}//package poleDanceHero_fla
Section 51
//flip1_134 (poleDanceHero_fla.flip1_134)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class flip1_134 extends MovieClip {
public function flip1_134(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 52
//fullLust_72 (poleDanceHero_fla.fullLust_72)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class fullLust_72 extends MovieClip {
public var maskMC:MovieClip;
public var maskee:MovieClip;
public function fullLust_72(){
addFrameScript(0, frame1, 153, frame154, 167, frame168);
}
function frame154(){
gotoAndPlay("loop");
}
function frame168(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 53
//ground_smoke_177 (poleDanceHero_fla.ground_smoke_177)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class ground_smoke_177 extends MovieClip {
public function ground_smoke_177(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package poleDanceHero_fla
Section 54
//ground_smoke1_181 (poleDanceHero_fla.ground_smoke1_181)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class ground_smoke1_181 extends MovieClip {
public function ground_smoke1_181(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package poleDanceHero_fla
Section 55
//hardbutton_over_49 (poleDanceHero_fla.hardbutton_over_49)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class hardbutton_over_49 extends MovieClip {
public function hardbutton_over_49(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package poleDanceHero_fla
Section 56
//heart_139 (poleDanceHero_fla.heart_139)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class heart_139 extends MovieClip {
public function heart_139(){
addFrameScript(15, frame16, 41, frame42);
}
function frame16(){
this.gotoAndPlay("normal");
}
function frame42(){
this.gotoAndPlay("nearDeath");
}
}
}//package poleDanceHero_fla
Section 57
//heartmeterfills_138 (poleDanceHero_fla.heartmeterfills_138)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class heartmeterfills_138 extends MovieClip {
public function heartmeterfills_138(){
addFrameScript(0, frame1, 28, frame29);
}
function frame29(){
this.gotoAndStop(15);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 58
//hud_lustcontainer_142 (poleDanceHero_fla.hud_lustcontainer_142)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class hud_lustcontainer_142 extends MovieClip {
public function hud_lustcontainer_142(){
addFrameScript(0, frame1, 7, frame8);
}
function frame8(){
this.gotoAndPlay(2);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 59
//intro_186 (poleDanceHero_fla.intro_186)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class intro_186 extends MovieClip {
public var closeButton:SimpleButton;
public var startButton:button_next;
public function intro_186(){
addFrameScript(33, frame34, 47, frame48, 61, frame62, 76, frame77, 103, frame104);
}
function frame48(){
this.stop();
}
function frame62(){
this.stop();
}
function frame77(){
this.stop();
}
function frame34(){
this.stop();
}
function frame104(){
stop();
}
}
}//package poleDanceHero_fla
Section 60
//leftArrow_115 (poleDanceHero_fla.leftArrow_115)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class leftArrow_115 extends MovieClip {
public function leftArrow_115(){
addFrameScript(0, frame1, 7, frame8, 16, frame17);
}
function frame17(){
this.stop();
}
function frame8(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 61
//leftGarter_107 (poleDanceHero_fla.leftGarter_107)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class leftGarter_107 extends MovieClip {
public function leftGarter_107(){
addFrameScript(0, frame1, 12, frame13, 22, frame23);
}
function frame1(){
this.stop();
}
function frame23(){
this.stop();
}
function frame13(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 62
//leftHeldNote_103 (poleDanceHero_fla.leftHeldNote_103)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class leftHeldNote_103 extends MovieClip {
public function leftHeldNote_103(){
addFrameScript(0, frame1, 86, frame87, 93, frame94);
}
function frame94(){
this.gotoAndStop(1);
}
function frame87(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 63
//lustmessagenewspacebar_184 (poleDanceHero_fla.lustmessagenewspacebar_184)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class lustmessagenewspacebar_184 extends MovieClip {
public function lustmessagenewspacebar_184(){
addFrameScript(0, frame1, 28, frame29);
}
function frame29(){
this.gotoAndPlay("repeat");
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 64
//lustpie_143 (poleDanceHero_fla.lustpie_143)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class lustpie_143 extends MovieClip {
public var lustNeedleMC:MovieClip;
public function lustpie_143(){
addFrameScript(0, frame1, 8, frame9, 19, frame20, 119, frame120);
}
function frame120(){
this.stop();
}
function frame1(){
this.stop();
}
function frame20(){
this.stop();
}
function frame9(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 65
//msg_mc_183 (poleDanceHero_fla.msg_mc_183)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class msg_mc_183 extends MovieClip {
public function msg_mc_183(){
addFrameScript(0, frame1, 41, frame42, 83, frame84, 126, frame127, 169, frame170, 212, frame213, 0xFF, frame256, 298, frame299, 341, frame342, 405, frame406, 448, frame449, 504, frame505, 547, frame548, 590, frame591, 633, frame634);
}
function frame591(){
stop();
}
function frame342(){
stop();
}
function frame299(){
stop();
}
function frame256(){
stop();
}
function frame213(){
stop();
}
function frame84(){
stop();
}
function frame634(){
stop();
}
function frame1(){
this.stop();
}
function frame449(){
stop();
}
function frame406(){
stop();
}
function frame127(){
stop();
}
function frame42(){
stop();
}
function frame548(){
stop();
}
function frame505(){
stop();
}
function frame170(){
stop();
}
}
}//package poleDanceHero_fla
Section 66
//muliplyer_148 (poleDanceHero_fla.muliplyer_148)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class muliplyer_148 extends MovieClip {
public var multiplierMC:MovieClip;
public function muliplyer_148(){
addFrameScript(0, frame1, 18, frame19);
}
function frame1(){
this.stop();
}
function frame19(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 67
//newhighscore_207 (poleDanceHero_fla.newhighscore_207)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class newhighscore_207 extends MovieClip {
public function newhighscore_207(){
addFrameScript(0, frame1, 37, frame38);
}
function frame38(){
this.gotoAndPlay("highScore");
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 68
//nextbutton_over_15 (poleDanceHero_fla.nextbutton_over_15)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class nextbutton_over_15 extends MovieClip {
public function nextbutton_over_15(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package poleDanceHero_fla
Section 69
//offcomp_96 (poleDanceHero_fla.offcomp_96)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class offcomp_96 extends MovieClip {
public function offcomp_96(){
addFrameScript(40, frame41);
}
function frame41(){
stop();
}
}
}//package poleDanceHero_fla
Section 70
//percentage_34 (poleDanceHero_fla.percentage_34)
package poleDanceHero_fla {
import flash.display.*;
import flash.text.*;
public dynamic class percentage_34 extends MovieClip {
public var accuracyText:TextField;
public function percentage_34(){
addFrameScript(0, frame1, 4, frame5);
}
function frame5(){
stop();
}
function frame1(){
stop();
}
}
}//package poleDanceHero_fla
Section 71
//perfectClip_133 (poleDanceHero_fla.perfectClip_133)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class perfectClip_133 extends MovieClip {
public function perfectClip_133(){
addFrameScript(0, frame1, 18, frame19);
}
function frame1(){
this.stop();
}
function frame19(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 72
//perfectTally_208 (poleDanceHero_fla.perfectTally_208)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class perfectTally_208 extends MovieClip {
public function perfectTally_208(){
addFrameScript(0, frame1, 38, frame39);
}
function frame39(){
this.gotoAndPlay("perfect");
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 73
//playbutton_over_5 (poleDanceHero_fla.playbutton_over_5)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class playbutton_over_5 extends MovieClip {
public function playbutton_over_5(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package poleDanceHero_fla
Section 74
//pop_218 (poleDanceHero_fla.pop_218)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class pop_218 extends MovieClip {
public function pop_218(){
addFrameScript(42, frame43);
}
function frame43(){
stop();
}
}
}//package poleDanceHero_fla
Section 75
//preloader_2 (poleDanceHero_fla.preloader_2)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class preloader_2 extends MovieClip {
public function preloader_2(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 76
//previewButton5_17 (poleDanceHero_fla.previewButton5_17)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class previewButton5_17 extends MovieClip {
public var stopButton5:SimpleButton;
public var previewButton5:SimpleButton;
public function previewButton5_17(){
addFrameScript(0, frame1, 31, frame32);
}
function frame1(){
this.stop();
}
function frame32(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 77
//previewButton6_20 (poleDanceHero_fla.previewButton6_20)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class previewButton6_20 extends MovieClip {
public var stopButton6:SimpleButton;
public var previewButton6:SimpleButton;
public function previewButton6_20(){
addFrameScript(0, frame1, 27, frame28);
}
function frame28(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 78
//previewButton7_21 (poleDanceHero_fla.previewButton7_21)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class previewButton7_21 extends MovieClip {
public var stopButton7:SimpleButton;
public var previewButton7:SimpleButton;
public function previewButton7_21(){
addFrameScript(0, frame1, 27, frame28);
}
function frame28(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 79
//previewButton8_22 (poleDanceHero_fla.previewButton8_22)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class previewButton8_22 extends MovieClip {
public var stopButton8:SimpleButton;
public var previewButton8:SimpleButton;
public function previewButton8_22(){
addFrameScript(0, frame1, 27, frame28);
}
function frame28(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 80
//replaybutton_over_212 (poleDanceHero_fla.replaybutton_over_212)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class replaybutton_over_212 extends MovieClip {
public function replaybutton_over_212(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package poleDanceHero_fla
Section 81
//rightArrow_119 (poleDanceHero_fla.rightArrow_119)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class rightArrow_119 extends MovieClip {
public function rightArrow_119(){
addFrameScript(0, frame1, 7, frame8, 16, frame17);
}
function frame17(){
this.stop();
}
function frame8(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 82
//rightGarter_111 (poleDanceHero_fla.rightGarter_111)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class rightGarter_111 extends MovieClip {
public function rightGarter_111(){
addFrameScript(0, frame1, 12, frame13, 21, frame22);
}
function frame1(){
this.stop();
}
function frame22(){
this.stop();
}
function frame13(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 83
//rightHeldNote_105 (poleDanceHero_fla.rightHeldNote_105)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class rightHeldNote_105 extends MovieClip {
public function rightHeldNote_105(){
addFrameScript(0, frame1, 86, frame87, 93, frame94);
}
function frame94(){
this.gotoAndStop(1);
}
function frame87(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 84
//score_multicon_149 (poleDanceHero_fla.score_multicon_149)
package poleDanceHero_fla {
import flash.display.*;
import flash.text.*;
public dynamic class score_multicon_149 extends MovieClip {
public var multiplierText:TextField;
public function score_multicon_149(){
addFrameScript(0, frame1, 6, frame7, 76, frame77);
}
function frame1(){
this.stop();
}
function frame7(){
this.stop();
}
function frame77(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 85
//select_trophies_44 (poleDanceHero_fla.select_trophies_44)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class select_trophies_44 extends MovieClip {
public function select_trophies_44(){
addFrameScript(0, frame1, 5, frame6, 10, frame11, 15, frame16, 20, frame21, 25, frame26, 30, frame31);
}
function frame26(){
stop();
}
function frame16(){
stop();
}
function frame1(){
stop();
}
function frame6(){
this.stop();
}
function frame31(){
stop();
}
function frame21(){
stop();
}
function frame11(){
stop();
}
}
}//package poleDanceHero_fla
Section 86
//selectbar_mc_23 (poleDanceHero_fla.selectbar_mc_23)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class selectbar_mc_23 extends MovieClip {
public function selectbar_mc_23(){
addFrameScript(7, frame8, 34, frame35);
}
function frame8(){
this.stop();
}
function frame35(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 87
//selectBarGraphicThingy_25 (poleDanceHero_fla.selectBarGraphicThingy_25)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class selectBarGraphicThingy_25 extends MovieClip {
public function selectBarGraphicThingy_25(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 88
//softbutton_over_47 (poleDanceHero_fla.softbutton_over_47)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class softbutton_over_47 extends MovieClip {
public function softbutton_over_47(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package poleDanceHero_fla
Section 89
//startbutton_over_201 (poleDanceHero_fla.startbutton_over_201)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class startbutton_over_201 extends MovieClip {
public function startbutton_over_201(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package poleDanceHero_fla
Section 90
//submit2_over_210 (poleDanceHero_fla.submit2_over_210)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class submit2_over_210 extends MovieClip {
public function submit2_over_210(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package poleDanceHero_fla
Section 91
//tally_rank_204 (poleDanceHero_fla.tally_rank_204)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class tally_rank_204 extends MovieClip {
public function tally_rank_204(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 92
//tallynext_over_214 (poleDanceHero_fla.tallynext_over_214)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class tallynext_over_214 extends MovieClip {
public function tallynext_over_214(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package poleDanceHero_fla
Section 93
//tallystars_205 (poleDanceHero_fla.tallystars_205)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class tallystars_205 extends MovieClip {
public function tallystars_205(){
addFrameScript(0, frame1, 48, frame49, 87, frame88, 116, frame117, 135, frame136, 144, frame145);
}
function frame49(){
this.stop();
}
function frame1(){
this.stop();
}
function frame145(){
this.stop();
}
function frame136(){
this.stop();
}
function frame117(){
this.stop();
}
function frame88(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 94
//test_174 (poleDanceHero_fla.test_174)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class test_174 extends MovieClip {
public function test_174(){
addFrameScript(16, frame17);
}
function frame17(){
}
}
}//package poleDanceHero_fla
Section 95
//tongue_150 (poleDanceHero_fla.tongue_150)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class tongue_150 extends MovieClip {
public function tongue_150(){
addFrameScript(0, frame1, 15, frame16, 39, frame40, 79, frame80);
}
function frame40(){
this.gotoAndPlay("startTongue");
}
function frame16(){
this.stop();
}
function frame1(){
this.stop();
}
function frame80(){
this.gotoAndPlay("loopDrool");
}
}
}//package poleDanceHero_fla
Section 96
//water1_62 (poleDanceHero_fla.water1_62)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class water1_62 extends MovieClip {
public function water1_62(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package poleDanceHero_fla
Section 97
//windmillani_87 (poleDanceHero_fla.windmillani_87)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class windmillani_87 extends MovieClip {
public function windmillani_87(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package poleDanceHero_fla
Section 98
//wordGo_185 (poleDanceHero_fla.wordGo_185)
package poleDanceHero_fla {
import flash.display.*;
public dynamic class wordGo_185 extends MovieClip {
public function wordGo_185(){
addFrameScript(0, frame1, 19, frame20);
}
function frame20(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package poleDanceHero_fla
Section 99
//button_next (button_next)
package {
import flash.display.*;
public dynamic class button_next extends SimpleButton {
}
}//package
Section 100
//button_play (button_play)
package {
import flash.display.*;
public dynamic class button_play extends SimpleButton {
}
}//package
Section 101
//mcClip (mcClip)
package {
import flash.media.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.accessibility.*;
import flash.ui.*;
import flash.geom.*;
import flash.external.*;
import adobe.utils.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class mcClip extends MovieClip {
public function mcClip(){
addFrameScript(0, frame1);
}
public function clearListeners(){
var strURI:String = ExternalInterface.call("getLittleServer");
var local3:String = this.local1;
var local1:Number = this.local2;
var var5:Number = ExternalInterface.call("getSrvrTime");
var var1:String = var5.toString();
var strN1:String = var1.substr(-3, 3);
var strN2:String = var1.substr(-4, 3);
var n1:Number = parseInt(strN1);
var n2:Number = parseInt(strN2);
var var2:Number = (((n1 * n2) * local1) + local1);
var strToPass:String = ((((((local3 + ",") + local1) + ",") + var5) + ",") + var2);
var md5:MD5 = new MD5(strToPass);
var variables:URLVariables = new URLVariables();
variables.attr1 = ((((((("score=" + local1) + "|gameId=") + local3) + "|timestamp=") + var5) + "|key=") + md5._hash);
trace(((((((("score=" + local1) + "|gameId=") + local3) + "|timestamp=") + var5) + "|key=") + md5._hash));
var request:URLRequest = new URLRequest(strURI);
request.data = variables;
try {
navigateToURL(request, "_self");
} catch(e:Error) {
};
}
function frame1(){
}
}
}//package
Section 102
//MD5 (MD5)
package {
import com.adobe.utils.*;
public class MD5 {
public var _hash:String;
public function MD5(_arg1:String){
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
super();
var _local2 = 1732584193;
var _local3 = -271733879;
var _local4 = -1732584194;
var _local5 = 271733878;
var _local10:Array = createBlocks(_arg1);
var _local11:int = _local10.length;
var _local12:int;
while (_local12 < _local11) {
_local6 = _local2;
_local7 = _local3;
_local8 = _local4;
_local9 = _local5;
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 7, -680876936);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 1)], 12, -389564586);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 17, 606105819);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 3)], 22, -1044525330);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 7, -176418897);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 5)], 12, 1200080426);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 17, -1473231341);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 7)], 22, -45705983);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 7, 1770035416);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 9)], 12, -1958414417);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 17, -42063);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 11)], 22, -1990404162);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 7, 1804603682);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 13)], 12, -40341101);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 17, -1502002290);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 15)], 22, 1236535329);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 5, -165796510);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 6)], 9, -1069501632);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 14, 643717713);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 0)], 20, -373897302);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 5, -701558691);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 10)], 9, 38016083);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 14, -660478335);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 4)], 20, -405537848);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 5, 568446438);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 14)], 9, -1019803690);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 14, -187363961);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 8)], 20, 1163531501);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 5, -1444681467);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 2)], 9, -51403784);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 14, 1735328473);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 12)], 20, -1926607734);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 4, -378558);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 8)], 11, -2022574463);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 16, 1839030562);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 14)], 23, -35309556);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 4, -1530992060);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 4)], 11, 1272893353);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 16, -155497632);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 10)], 23, -1094730640);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 4, 681279174);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 0)], 11, -358537222);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 16, -722521979);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 6)], 23, 76029189);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 4, -640364487);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 12)], 11, -421815835);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 16, 530742520);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 2)], 23, -995338651);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 6, -198630844);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 7)], 10, 1126891415);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 15, -1416354905);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 5)], 21, -57434055);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 6, 1700485571);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 3)], 10, -1894986606);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 15, -1051523);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 1)], 21, -2054922799);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 6, 1873313359);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 15)], 10, -30611744);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 15, -1560198380);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 13)], 21, 1309151649);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 6, -145523070);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 11)], 10, -1120210379);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 15, 718787259);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 9)], 21, -343485551);
_local2 = (_local2 + _local6);
_local3 = (_local3 + _local7);
_local4 = (_local4 + _local8);
_local5 = (_local5 + _local9);
_local12 = (_local12 + 16);
};
_hash = (((IntUtil.toHex(_local2) + IntUtil.toHex(_local3)) + IntUtil.toHex(_local4)) + IntUtil.toHex(_local5));
trace(("_hash: " + _hash));
}
public function init():String{
return (_hash);
}
private static function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private static function createBlocks(_arg1:String):Array{
var _local2:Array = new Array();
var _local3:int = (_arg1.length * 8);
var _local4 = 0xFF;
var _local5:int;
while (_local5 < _local3) {
_local2[(_local5 >> 5)] = (_local2[(_local5 >> 5)] | ((_arg1.charCodeAt((_local5 / 8)) & _local4) << (_local5 % 32)));
_local5 = (_local5 + 8);
};
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32)));
_local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3;
return (_local2);
}
private static function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private static function f(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg2) | (~(_arg1) & _arg3)));
}
private static function g(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg3) | (_arg2 & ~(_arg3))));
}
private static function h(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 ^ _arg2) ^ _arg3));
}
private static function i(_arg1:int, _arg2:int, _arg3:int):int{
return ((_arg2 ^ (_arg1 | ~(_arg3))));
}
private static function transform(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{
var _local9:int = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8);
return ((IntUtil.rol(_local9, _arg7) + _arg3));
}
private static function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private static function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
}
}//package
Section 103
//S_audience_ecstatic (S_audience_ecstatic)
package {
import flash.media.*;
public dynamic class S_audience_ecstatic extends Sound {
}
}//package
Section 104
//S_audience_excited (S_audience_excited)
package {
import flash.media.*;
public dynamic class S_audience_excited extends Sound {
}
}//package
Section 105
//S_audience_idle (S_audience_idle)
package {
import flash.media.*;
public dynamic class S_audience_idle extends Sound {
}
}//package
Section 106
//S_audience_unhappy (S_audience_unhappy)
package {
import flash.media.*;
public dynamic class S_audience_unhappy extends Sound {
}
}//package
Section 107
//S_bad_target (S_bad_target)
package {
import flash.media.*;
public dynamic class S_bad_target extends Sound {
}
}//package
Section 108
//S_blipsqueak (S_blipsqueak)
package {
import flash.media.*;
public dynamic class S_blipsqueak extends Sound {
}
}//package
Section 109
//S_body_mono (S_body_mono)
package {
import flash.media.*;
public dynamic class S_body_mono extends Sound {
}
}//package
Section 110
//S_boogie_mono (S_boogie_mono)
package {
import flash.media.*;
public dynamic class S_boogie_mono extends Sound {
}
}//package
Section 111
//S_cork_pop (S_cork_pop)
package {
import flash.media.*;
public dynamic class S_cork_pop extends Sound {
}
}//package
Section 112
//S_doyouthinkaboutme (S_doyouthinkaboutme)
package {
import flash.media.*;
public dynamic class S_doyouthinkaboutme extends Sound {
}
}//package
Section 113
//S_Error0 (S_Error0)
package {
import flash.media.*;
public dynamic class S_Error0 extends Sound {
}
}//package
Section 114
//S_Error1 (S_Error1)
package {
import flash.media.*;
public dynamic class S_Error1 extends Sound {
}
}//package
Section 115
//S_girl_fall0 (S_girl_fall0)
package {
import flash.media.*;
public dynamic class S_girl_fall0 extends Sound {
}
}//package
Section 116
//S_girl_fall1 (S_girl_fall1)
package {
import flash.media.*;
public dynamic class S_girl_fall1 extends Sound {
}
}//package
Section 117
//S_hardon (S_hardon)
package {
import flash.media.*;
public dynamic class S_hardon extends Sound {
}
}//package
Section 118
//S_house_mono (S_house_mono)
package {
import flash.media.*;
public dynamic class S_house_mono extends Sound {
}
}//package
Section 119
//S_jeer1 (S_jeer1)
package {
import flash.media.*;
public dynamic class S_jeer1 extends Sound {
}
}//package
Section 120
//S_jeer2 (S_jeer2)
package {
import flash.media.*;
public dynamic class S_jeer2 extends Sound {
}
}//package
Section 121
//S_jeer3 (S_jeer3)
package {
import flash.media.*;
public dynamic class S_jeer3 extends Sound {
}
}//package
Section 122
//S_jeer4 (S_jeer4)
package {
import flash.media.*;
public dynamic class S_jeer4 extends Sound {
}
}//package
Section 123
//S_jeer5 (S_jeer5)
package {
import flash.media.*;
public dynamic class S_jeer5 extends Sound {
}
}//package
Section 124
//S_jeer6 (S_jeer6)
package {
import flash.media.*;
public dynamic class S_jeer6 extends Sound {
}
}//package
Section 125
//S_level_complete (S_level_complete)
package {
import flash.media.*;
public dynamic class S_level_complete extends Sound {
}
}//package
Section 126
//S_level_failed (S_level_failed)
package {
import flash.media.*;
public dynamic class S_level_failed extends Sound {
}
}//package
Section 127
//S_leveL_unlocked (S_leveL_unlocked)
package {
import flash.media.*;
public dynamic class S_leveL_unlocked extends Sound {
}
}//package
Section 128
//S_level1Cheer1 (S_level1Cheer1)
package {
import flash.media.*;
public dynamic class S_level1Cheer1 extends Sound {
}
}//package
Section 129
//S_level1Cheer2 (S_level1Cheer2)
package {
import flash.media.*;
public dynamic class S_level1Cheer2 extends Sound {
}
}//package
Section 130
//S_level1Cheer3 (S_level1Cheer3)
package {
import flash.media.*;
public dynamic class S_level1Cheer3 extends Sound {
}
}//package
Section 131
//S_level1Cheer4 (S_level1Cheer4)
package {
import flash.media.*;
public dynamic class S_level1Cheer4 extends Sound {
}
}//package
Section 132
//S_level2Cheer1 (S_level2Cheer1)
package {
import flash.media.*;
public dynamic class S_level2Cheer1 extends Sound {
}
}//package
Section 133
//S_level2Cheer2 (S_level2Cheer2)
package {
import flash.media.*;
public dynamic class S_level2Cheer2 extends Sound {
}
}//package
Section 134
//S_level2Cheer3 (S_level2Cheer3)
package {
import flash.media.*;
public dynamic class S_level2Cheer3 extends Sound {
}
}//package
Section 135
//S_level2Cheer4 (S_level2Cheer4)
package {
import flash.media.*;
public dynamic class S_level2Cheer4 extends Sound {
}
}//package
Section 136
//S_level3Cheer1 (S_level3Cheer1)
package {
import flash.media.*;
public dynamic class S_level3Cheer1 extends Sound {
}
}//package
Section 137
//S_level3Cheer2 (S_level3Cheer2)
package {
import flash.media.*;
public dynamic class S_level3Cheer2 extends Sound {
}
}//package
Section 138
//S_level3Cheer3 (S_level3Cheer3)
package {
import flash.media.*;
public dynamic class S_level3Cheer3 extends Sound {
}
}//package
Section 139
//S_level3Cheer4 (S_level3Cheer4)
package {
import flash.media.*;
public dynamic class S_level3Cheer4 extends Sound {
}
}//package
Section 140
//S_lust_activated (S_lust_activated)
package {
import flash.media.*;
public dynamic class S_lust_activated extends Sound {
}
}//package
Section 141
//S_lust_available (S_lust_available)
package {
import flash.media.*;
public dynamic class S_lust_available extends Sound {
}
}//package
Section 142
//S_MenuSong (S_MenuSong)
package {
import flash.media.*;
public dynamic class S_MenuSong extends Sound {
}
}//package
Section 143
//S_MouseDown (S_MouseDown)
package {
import flash.media.*;
public dynamic class S_MouseDown extends Sound {
}
}//package
Section 144
//S_MouseOver (S_MouseOver)
package {
import flash.media.*;
public dynamic class S_MouseOver extends Sound {
}
}//package
Section 145
//S_PoleDancer (S_PoleDancer)
package {
import flash.media.*;
public dynamic class S_PoleDancer extends Sound {
}
}//package
Section 146
//S_sex_mono (S_sex_mono)
package {
import flash.media.*;
public dynamic class S_sex_mono extends Sound {
}
}//package
Section 147
//S_target_miss (S_target_miss)
package {
import flash.media.*;
public dynamic class S_target_miss extends Sound {
}
}//package