Section 1
//None (fl.transitions.easing.None)
package fl.transitions.easing {
public class None {
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
}
}//package fl.transitions.easing
Section 2
//Regular (fl.transitions.easing.Regular)
package fl.transitions.easing {
public class Regular {
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
}
}//package fl.transitions.easing
Section 3
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.events.*;
import flash.utils.*;
import flash.display.*;
public class Tween extends EventDispatcher {
public var isPlaying:Boolean;// = false
public var obj:Object;// = null
public var prop:String;// = ""
public var func:Function;
public var begin:Number;// = NAN
public var change:Number;// = NAN
public var useSeconds:Boolean;// = false
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var looping:Boolean;// = false
private var _duration:Number;// = NAN
private var _time:Number;// = NAN
private var _fps:Number;// = NAN
private var _position:Number;// = NAN
private var _startTime:Number;// = NAN
private var _intervalID:uint;// = 0
private var _finish:Number;// = NAN
private var _timer:Timer;// = null
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
this.func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function get time():Number{
return (this._time);
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
public function get duration():Number{
return (this._duration);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function get FPS():Number{
return (this._fps);
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
}
}//package fl.transitions
Section 4
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_RESUME:String = "motionResume";
public static const MOTION_LOOP:String = "motionLoop";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 5
//arm_29 (spanking_kelsey_fla.arm_29)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class arm_29 extends MovieClip {
public var wheel:MovieClip;
public function arm_29(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 6
//bra_15 (spanking_kelsey_fla.bra_15)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class bra_15 extends MovieClip {
public function bra_15(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 7
//btnAgain_70 (spanking_kelsey_fla.btnAgain_70)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class btnAgain_70 extends MovieClip {
public function btnAgain_70(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 8
//btnSlap_42 (spanking_kelsey_fla.btnSlap_42)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class btnSlap_42 extends MovieClip {
public function btnSlap_42(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 9
//extra_25 (spanking_kelsey_fla.extra_25)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class extra_25 extends MovieClip {
public function extra_25(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 10
//head_65 (spanking_kelsey_fla.head_65)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class head_65 extends MovieClip {
public function head_65(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 11
//illiClothing_6 (spanking_kelsey_fla.illiClothing_6)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class illiClothing_6 extends MovieClip {
public function illiClothing_6(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 12
//illiExpression_11 (spanking_kelsey_fla.illiExpression_11)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class illiExpression_11 extends MovieClip {
public function illiExpression_11(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 13
//kelseyExpression_10 (spanking_kelsey_fla.kelseyExpression_10)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class kelseyExpression_10 extends MovieClip {
public function kelseyExpression_10(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
stop();
}
function frame11(){
stop();
}
}
}//package spanking_kelsey_fla
Section 14
//kelseyHair_9 (spanking_kelsey_fla.kelseyHair_9)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class kelseyHair_9 extends MovieClip {
public function kelseyHair_9(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
stop();
}
function frame11(){
stop();
}
}
}//package spanking_kelsey_fla
Section 15
//labelResult_72 (spanking_kelsey_fla.labelResult_72)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class labelResult_72 extends MovieClip {
public function labelResult_72(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 16
//MainTimeline (spanking_kelsey_fla.MainTimeline)
package spanking_kelsey_fla {
import flash.events.*;
import fl.transitions.easing.*;
import fl.transitions.*;
import flash.utils.*;
import flash.display.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var bandaid4:MovieClip;
public var illiClothing:MovieClip;
public var bgArt:MovieClip;
public var bullseye:MovieClip;
public var bandaid5:MovieClip;
public var buttons:MovieClip;
public var bandaid2:MovieClip;
public var socks:MovieClip;
public var bandaid3:MovieClip;
public var kelseyBody:MovieClip;
public var tailSprite:MovieClip;
public var btnIntroStart:introStartButton;
public var bandaid1:MovieClip;
public var btnSlap2:MovieClip;
public var textCode:TextField;
public var bgPic:MovieClip;
public var btnBF:MovieClip;
public var redGlowFeet:MovieClip;
public var loader_mc:movie_mc;
public var loaded_txt:TextField;
public var border:MovieClip;
public var uiBlock:MovieClip;
public var blood:MovieClip;
public var arm:MovieClip;
public var btnShowHide:MovieClip;
public var kelseyHair:MovieClip;
public var bandaid8:MovieClip;
public var redGlowButt:MovieClip;
public var blackScreen:MovieClip;
public var bandaid9:MovieClip;
public var bra:MovieClip;
public var illiExpression:MovieClip;
public var kelseyExpression:MovieClip;
public var bandaid10:MovieClip;
public var bandaid6:MovieClip;
public var extra:MovieClip;
public var panties:MovieClip;
public var fakeKelsey:MovieClip;
public var bandaid7:MovieClip;
public var kelseyHead:MovieClip;
public var bgArt2:MovieClip;
public var bCode;
public var iSlapPhase;
public var iPoseOffset;
public var myInterval;
public var myInterval2;
public var slapSpeed;
public var glowSetting;
public var slapMethod;
public var footGlow;
public var buttGlow;
public var kelseyHairStyle;
public var kelseyExpressionDemeanor;
public var illionoreExpression;
public var clothingArray:Array;
public var bMouseTail;
public var myInterval3;
public var myTweenX:Tween;
public var myTweenY:Tween;
public var nextBandaid;
public var arrBandaid:Array;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function onProgress(_arg1:ProgressEvent):void{
var _local2:Number = _arg1.target.bytesLoaded;
var _local3:Number = _arg1.target.bytesTotal;
var _local4:Number = (_local2 / _local3);
loader_mc.scaleX = _local4;
loaded_txt.text = (("Loading... " + Math.round((_local4 * 100))) + "%");
}
public function onComplete(_arg1:Event):void{
loaded_txt.text = "Finished loading.";
var _local2:* = this.loaderInfo.url;
var _local3:* = false;
if (_local2.search("file:") != -1){
_local3 = true;
};
if (_local2.search("deviantart.net") != -1){
_local3 = true;
};
if (_local3 == true){
btnIntroStart.alpha = 1;
btnIntroStart.addEventListener(MouseEvent.CLICK, startGame);
};
}
public function startGame(_arg1:MouseEvent):void{
var _local2:Array = [" ", "ss", "tt", " y", "re", "bu", "", "", "ki", "", "da", "ou", "", "", "", "", "if", "my", "", "", "", ""];
var _local3:* = textCode.text.toLowerCase();
if (_local3.length < 1){
_local3 = "none";
};
var _local4:* = _local3.search((((((((((((((_local2[8] + _local2[1]) + _local2[0]) + _local2[17]) + _local2[0]) + _local2[5]) + _local2[2]) + _local2[0]) + _local2[16]) + _local2[3]) + _local2[11]) + _local2[0]) + _local2[10]) + _local2[4]));
if (_local4 == 0){
bCode = true;
};
gotoAndStop(2);
}
public function mouseClicked(_arg1:MouseEvent):void{
var _local3:*;
var _local4:*;
var _local2:* = "";
if (_arg1.target.name != null){
_local2 = _arg1.target.name;
};
if ((((_local2 == "btnButt")) && ((buttons.btnButt.alpha == 1)))){
buttons.btnButt.alpha = 0.2;
buttons.btnFoot.alpha = 1;
setPose(0);
} else {
if ((((_local2 == "btnFoot")) && ((buttons.btnFoot.alpha == 1)))){
buttons.btnFoot.alpha = 0.2;
buttons.btnButt.alpha = 1;
setPose(1);
} else {
if ((((_local2 == "btnBF")) && ((btnBF.alpha == 1)))){
if (buttons.btnButt.alpha == 1){
buttons.btnButt.alpha = 0.2;
buttons.btnFoot.alpha = 1;
setPose(0);
} else {
buttons.btnFoot.alpha = 0.2;
buttons.btnButt.alpha = 1;
setPose(1);
};
} else {
if ((((_local2 == "btnSlap2")) && ((btnSlap2.alpha == 1)))){
iSlapPhase = 1;
} else {
if (_local2 == "btnSlap"){
if (buttons.btnSlap.currentFrame == 1){
iSlapPhase = 1;
} else {
slapSpeed = 0;
buttons.btn0.alpha = 1;
buttons.btn1.alpha = 1;
buttons.btn2.alpha = 1;
buttons.btn3.alpha = 1;
buttons.btnSlap.gotoAndStop(1);
};
} else {
if (_local2 == "btn0"){
slapSpeed = 0;
buttons.btn0.alpha = 0.2;
buttons.btn1.alpha = 1;
buttons.btn2.alpha = 1;
buttons.btn3.alpha = 1;
buttons.btnSlap.gotoAndStop(2);
} else {
if (_local2 == "btn1"){
slapSpeed = 1;
buttons.btn0.alpha = 1;
buttons.btn1.alpha = 0.2;
buttons.btn2.alpha = 1;
buttons.btn3.alpha = 1;
buttons.btnSlap.gotoAndStop(2);
} else {
if (_local2 == "btn2"){
slapSpeed = 2;
buttons.btn0.alpha = 1;
buttons.btn1.alpha = 1;
buttons.btn2.alpha = 0.2;
buttons.btn3.alpha = 1;
buttons.btnSlap.gotoAndStop(2);
} else {
if (_local2 == "btn3"){
slapSpeed = 3;
buttons.btn0.alpha = 1;
buttons.btn1.alpha = 1;
buttons.btn2.alpha = 1;
buttons.btn3.alpha = 0.2;
buttons.btnSlap.gotoAndStop(2);
} else {
if (_local2 == "btnAutomatic"){
buttons.btnGlow0.alpha = 1;
buttons.btnGlow1.alpha = 1;
buttons.btnGlow2.alpha = 1;
buttons.btnGlow3.alpha = 1;
buttons.btnAutomatic.alpha = 0.2;
glowSetting = 4;
} else {
if (_local2 == "btnGlow0"){
buttons.btnGlow0.alpha = 0.2;
buttons.btnGlow1.alpha = 1;
buttons.btnGlow2.alpha = 1;
buttons.btnGlow3.alpha = 1;
buttons.btnAutomatic.alpha = 1;
glowSetting = 0;
redGlowFeet.alpha = 0;
redGlowButt.alpha = 0;
} else {
if (_local2 == "btnGlow1"){
buttons.btnGlow0.alpha = 1;
buttons.btnGlow1.alpha = 0.2;
buttons.btnGlow2.alpha = 1;
buttons.btnGlow3.alpha = 1;
buttons.btnAutomatic.alpha = 1;
glowSetting = 1;
redGlowFeet.alpha = 0.3;
redGlowButt.alpha = 0.3;
} else {
if (_local2 == "btnGlow2"){
buttons.btnGlow0.alpha = 1;
buttons.btnGlow1.alpha = 1;
buttons.btnGlow2.alpha = 0.2;
buttons.btnGlow3.alpha = 1;
buttons.btnAutomatic.alpha = 1;
glowSetting = 2;
redGlowFeet.alpha = 0;
redGlowButt.alpha = 0;
redGlowFeet.alpha = 0;
redGlowButt.alpha = 0;
redGlowFeet.alpha = 0.6;
redGlowButt.alpha = 0.6;
} else {
if (_local2 == "btnGlow3"){
buttons.btnGlow0.alpha = 1;
buttons.btnGlow1.alpha = 1;
buttons.btnGlow2.alpha = 1;
buttons.btnGlow3.alpha = 0.2;
buttons.btnAutomatic.alpha = 1;
glowSetting = 3;
redGlowFeet.alpha = 0.9;
redGlowButt.alpha = 0.9;
} else {
if (_local2 == "btnHand"){
buttons.btnHand.alpha = 0.2;
buttons.btnRacket.alpha = 1;
buttons.btnBottle.alpha = 1;
buttons.btnWood.alpha = 1;
buttons.btnSpike.alpha = 1;
buttons.btnWhip.alpha = 1;
buttons.btnWheel.alpha = 1;
slapMethod = 0;
} else {
if (_local2 == "btnRacket"){
buttons.btnHand.alpha = 1;
buttons.btnRacket.alpha = 0.2;
buttons.btnBottle.alpha = 1;
buttons.btnWood.alpha = 1;
buttons.btnSpike.alpha = 1;
buttons.btnWhip.alpha = 1;
buttons.btnWheel.alpha = 1;
slapMethod = 5;
} else {
if (_local2 == "btnWood"){
buttons.btnHand.alpha = 1;
buttons.btnRacket.alpha = 1;
buttons.btnBottle.alpha = 1;
buttons.btnWood.alpha = 0.2;
buttons.btnSpike.alpha = 1;
buttons.btnWhip.alpha = 1;
buttons.btnWheel.alpha = 1;
slapMethod = 10;
} else {
if (_local2 == "btnBottle"){
buttons.btnHand.alpha = 1;
buttons.btnRacket.alpha = 1;
buttons.btnBottle.alpha = 0.2;
buttons.btnWood.alpha = 1;
buttons.btnSpike.alpha = 1;
buttons.btnWhip.alpha = 1;
buttons.btnWheel.alpha = 1;
slapMethod = 15;
} else {
if (_local2 == "btnSpike"){
buttons.btnHand.alpha = 1;
buttons.btnRacket.alpha = 1;
buttons.btnBottle.alpha = 1;
buttons.btnWood.alpha = 1;
buttons.btnSpike.alpha = 0.2;
buttons.btnWhip.alpha = 1;
buttons.btnWheel.alpha = 1;
slapMethod = 20;
} else {
if (_local2 == "btnWhip"){
buttons.btnHand.alpha = 1;
buttons.btnRacket.alpha = 1;
buttons.btnBottle.alpha = 1;
buttons.btnWood.alpha = 1;
buttons.btnSpike.alpha = 1;
buttons.btnWhip.alpha = 0.2;
buttons.btnWheel.alpha = 1;
slapMethod = 25;
} else {
if (_local2 == "btnWheel"){
buttons.btnHand.alpha = 1;
buttons.btnRacket.alpha = 1;
buttons.btnBottle.alpha = 1;
buttons.btnWood.alpha = 1;
buttons.btnSpike.alpha = 1;
buttons.btnWhip.alpha = 1;
buttons.btnWheel.alpha = 0.2;
slapMethod = 30;
arm.gotoAndStop(31);
} else {
if (_local2 == "btnHair0"){
kelseyHairStyle = 1;
kelseyHair.gotoAndStop((iPoseOffset + kelseyHairStyle));
buttons.btnHair0.alpha = 0.2;
buttons.btnHair1.alpha = 1;
buttons.btnHair2.alpha = 1;
buttons.btnHair3.alpha = 1;
buttons.btnHair4.alpha = 1;
} else {
if (_local2 == "btnHair1"){
kelseyHairStyle = 2;
kelseyHair.gotoAndStop((iPoseOffset + kelseyHairStyle));
buttons.btnHair0.alpha = 1;
buttons.btnHair1.alpha = 0.2;
buttons.btnHair2.alpha = 1;
buttons.btnHair3.alpha = 1;
buttons.btnHair4.alpha = 1;
} else {
if (_local2 == "btnHair2"){
kelseyHairStyle = 3;
kelseyHair.gotoAndStop((iPoseOffset + kelseyHairStyle));
buttons.btnHair0.alpha = 1;
buttons.btnHair1.alpha = 1;
buttons.btnHair2.alpha = 0.2;
buttons.btnHair3.alpha = 1;
buttons.btnHair4.alpha = 1;
} else {
if (_local2 == "btnHair3"){
kelseyHairStyle = 4;
kelseyHair.gotoAndStop((iPoseOffset + kelseyHairStyle));
buttons.btnHair0.alpha = 1;
buttons.btnHair1.alpha = 1;
buttons.btnHair2.alpha = 1;
buttons.btnHair3.alpha = 0.2;
buttons.btnHair4.alpha = 1;
} else {
if (_local2 == "btnHair4"){
kelseyHairStyle = 5;
kelseyHair.gotoAndStop((iPoseOffset + kelseyHairStyle));
buttons.btnHair0.alpha = 1;
buttons.btnHair1.alpha = 1;
buttons.btnHair2.alpha = 1;
buttons.btnHair3.alpha = 1;
buttons.btnHair4.alpha = 0.2;
} else {
if (_local2 == "btnExpression1"){
kelseyExpressionDemeanor = 0;
buttons.btnExpression1.alpha = 0.2;
buttons.btnExpression2.alpha = 1;
buttons.btnExpression3.alpha = 1;
} else {
if (_local2 == "btnExpression2"){
buttons.btnExpression1.alpha = 1;
buttons.btnExpression2.alpha = 0.2;
buttons.btnExpression3.alpha = 1;
kelseyExpressionDemeanor = 3;
} else {
if (_local2 == "btnExpression3"){
buttons.btnExpression1.alpha = 1;
buttons.btnExpression2.alpha = 1;
buttons.btnExpression3.alpha = 0.2;
kelseyExpressionDemeanor = 6;
} else {
if (_local2 == "btnE0"){
illionoreExpression--;
if (illionoreExpression < 1){
illionoreExpression = 10;
};
illiExpression.gotoAndStop(illionoreExpression);
} else {
if (_local2 == "btnE1"){
illionoreExpression++;
if (illionoreExpression > 9){
illionoreExpression = 1;
};
illiExpression.gotoAndStop(illionoreExpression);
} else {
if (_local2 == "btnShowHide"){
showHideButtons();
} else {
if (_local2 == "btnPin"){
clearInterval(myInterval);
clearInterval(myInterval2);
stage.removeEventListener(MouseEvent.CLICK, mouseClicked);
gotoAndStop(3);
} else {
if (_local2 == "wardrobe"){
_local3 = (stage.mouseX - 75);
_local4 = (stage.mouseY - 651);
_local3 = Math.floor((_local3 / 20));
_local4 = Math.floor((_local4 / 18));
if (_local4 == 0){
if ((((bCode == true)) || ((_local3 < 2)))){
buttons.pin0.x = ((20 * _local3) + 70);
clothingArray[_local4] = _local3;
setPose(iPoseOffset);
};
} else {
if (_local4 == 1){
buttons.pin1.x = ((20 * _local3) + 70);
clothingArray[_local4] = _local3;
setPose(iPoseOffset);
} else {
if (_local4 == 2){
if (bCode == true){
buttons.pin2.x = ((20 * _local3) + 70);
clothingArray[_local4] = _local3;
setPose(iPoseOffset);
};
} else {
if (_local4 == 3){
if ((((bCode == true)) || ((_local3 < 2)))){
buttons.pin5.x = ((20 * _local3) + 70);
clothingArray[(_local4 + 2)] = _local3;
setPose(iPoseOffset);
};
} else {
if (_local4 == 4){
if ((((bCode == true)) || ((_local3 < 2)))){
buttons.pin6.x = ((20 * _local3) + 70);
clothingArray[(_local4 + 2)] = _local3;
setPose(iPoseOffset);
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
public function myTimer2():void{
if ((((glowSetting == 4)) && ((currentFrame == 2)))){
if (redGlowFeet.alpha > 0.2){
redGlowFeet.alpha = (redGlowFeet.alpha - 0.01);
};
if (redGlowButt.alpha > 0.2){
redGlowButt.alpha = (redGlowButt.alpha - 0.01);
};
};
}
public function myTimer():void{
if (currentFrame == 2){
if (slapMethod != 30){
if (slapSpeed == 0){
if (iSlapPhase != 0){
iSlapPhase++;
};
if (iSlapPhase > 4){
iSlapPhase = 0;
};
if (iSlapPhase == 0){
arm.gotoAndStop((slapMethod + 1));
setExpression(1);
} else {
if ((((iSlapPhase == 1)) || ((iSlapPhase == 2)))){
arm.gotoAndStop((slapMethod + 3));
updateRed();
setExpression((2 + Math.floor((Math.random() * 2))));
} else {
if (iSlapPhase == 3){
arm.gotoAndStop((slapMethod + 2));
setExpression(1);
};
};
};
} else {
if (slapSpeed == 1){
iSlapPhase++;
if (iSlapPhase > 18){
iSlapPhase = 0;
};
if (iSlapPhase == 0){
arm.gotoAndStop((slapMethod + 1));
setExpression(1);
} else {
if (iSlapPhase == 10){
arm.gotoAndStop((slapMethod + 3));
updateRed();
setExpression((2 + Math.floor((Math.random() * 2))));
} else {
if (iSlapPhase == 18){
arm.gotoAndStop((slapMethod + 2));
setExpression(1);
};
};
};
} else {
if (slapSpeed == 2){
iSlapPhase++;
if (iSlapPhase > 10){
iSlapPhase = 0;
};
if (iSlapPhase == 0){
arm.gotoAndStop((slapMethod + 1));
setExpression(1);
} else {
if (iSlapPhase == 5){
arm.gotoAndStop((slapMethod + 3));
updateRed();
setExpression((2 + Math.floor((Math.random() * 2))));
} else {
if (iSlapPhase == 10){
arm.gotoAndStop((slapMethod + 2));
setExpression(1);
};
};
};
} else {
if (slapSpeed == 3){
iSlapPhase++;
if (iSlapPhase > 4){
iSlapPhase = 0;
};
if (iSlapPhase == 0){
arm.gotoAndStop((slapMethod + 1));
setExpression(1);
} else {
if (iSlapPhase == 2){
arm.gotoAndStop((slapMethod + 3));
updateRed();
setExpression((2 + Math.floor((Math.random() * 2))));
} else {
if (iSlapPhase == 4){
arm.gotoAndStop((slapMethod + 2));
setExpression(1);
};
};
};
};
};
};
};
} else {
doWheel();
};
};
}
public function doWheel():void{
var _local1:*;
if (arm.wheel != null){
_local1 = arm.wheel.currentFrame;
_local1++;
if (_local1 > 4){
_local1 = 1;
};
if ((((slapSpeed == 0)) || ((slapSpeed == 4)))){
arm.wheel.gotoAndStop(3);
} else {
if (slapSpeed == 1){
iSlapPhase++;
if (iSlapPhase > 4){
iSlapPhase = 0;
arm.wheel.gotoAndStop(_local1);
if (_local1 == 1){
updateRed();
setExpression((2 + Math.floor((Math.random() * 2))));
} else {
setExpression(1);
};
};
} else {
if (slapSpeed == 2){
iSlapPhase++;
if (iSlapPhase > 1){
iSlapPhase = 0;
arm.wheel.gotoAndStop(_local1);
if (_local1 == 1){
updateRed();
setExpression((2 + Math.floor((Math.random() * 2))));
} else {
setExpression(1);
};
};
} else {
if (slapSpeed == 3){
arm.wheel.gotoAndStop(_local1);
if (_local1 == 1){
updateRed();
setExpression((2 + Math.floor((Math.random() * 2))));
} else {
setExpression(1);
};
};
};
};
};
};
}
public function setPose(_arg1:uint):void{
if (_arg1 == 0){
iPoseOffset = 0;
bgArt2.alpha = 0;
redGlowFeet.gotoAndStop(1);
redGlowButt.gotoAndStop(1);
panties.gotoAndStop((clothingArray[0] + 1));
bra.gotoAndStop((clothingArray[1] + 1));
socks.gotoAndStop((clothingArray[2] + 1));
extra.gotoAndStop((clothingArray[5] + 1));
illiClothing.gotoAndStop((clothingArray[6] + 1));
} else {
iPoseOffset = 10;
bgArt2.alpha = 1;
redGlowFeet.gotoAndStop(2);
redGlowButt.gotoAndStop(2);
panties.gotoAndStop((clothingArray[0] + 31));
bra.gotoAndStop((clothingArray[1] + 31));
socks.gotoAndStop((clothingArray[2] + 31));
extra.gotoAndStop((clothingArray[5] + 31));
illiClothing.gotoAndStop((clothingArray[6] + 31));
};
kelseyExpression.gotoAndStop(((iPoseOffset + 1) + kelseyExpressionDemeanor));
kelseyHair.gotoAndStop((iPoseOffset + kelseyHairStyle));
}
public function showHideButtons():void{
if (buttons.alpha == 0){
buttons.x = 5.5;
buttons.alpha = 1;
btnSlap2.alpha = 0;
btnBF.alpha = 0;
btnBF.y = -40;
} else {
buttons.alpha = 0;
buttons.x = -1000;
if (buttons.btnSlap.currentFrame == 1){
btnSlap2.alpha = 1;
};
if (bCode == true){
btnBF.y = 2.5;
btnBF.alpha = 1;
};
};
}
public function updateRed():void{
if (glowSetting == 4){
if (iPoseOffset == 0){
if (slapMethod == 0){
if (redGlowButt.alpha < 0.8){
redGlowButt.alpha = (redGlowButt.alpha + 0.02);
};
} else {
if (redGlowButt.alpha < 0.8){
redGlowButt.alpha = (redGlowButt.alpha + 0.04);
};
};
} else {
if (slapMethod == 0){
if (redGlowFeet.alpha < 0.8){
redGlowFeet.alpha = (redGlowFeet.alpha + 0.02);
};
} else {
if (redGlowFeet.alpha < 0.8){
redGlowFeet.alpha = (redGlowFeet.alpha + 0.04);
};
};
};
};
if (bCode == false){
if (redGlowButt.alpha > 0.3){
redGlowButt.alpha = 0.3;
};
if (redGlowFeet.alpha > 0.3){
redGlowFeet.alpha = 0.3;
};
};
}
public function setExpression(_arg1:uint):void{
kelseyExpression.gotoAndStop(((iPoseOffset + _arg1) + kelseyExpressionDemeanor));
}
public function mouseUpdate():void{
if (bMouseTail == true){
tailSprite.x = stage.mouseX;
tailSprite.y = stage.mouseY;
};
if (currentFrame == 3){
if (fakeKelsey.hitTestPoint(stage.mouseX, stage.mouseY, true)){
blackScreen.labelSomething.alpha = 0.5;
} else {
blackScreen.labelSomething.alpha = 0;
};
};
}
public function setMouseTail(_arg1):void{
bMouseTail = _arg1;
if (bMouseTail == true){
Mouse.hide();
} else {
Mouse.show();
};
}
public function pinTail(_arg1:MouseEvent):void{
if (bMouseTail == true){
fakeKelsey.x = 1000;
if (bullseye.hitTestPoint(stage.mouseX, stage.mouseY, true)){
setMouseTail(false);
kelseyHead.gotoAndStop(2);
uiBlock.labelResult.gotoAndStop(1);
uiBlock.btnAgain.gotoAndStop(1);
uiBlock.y = -130;
if (kelseyBody.x < 253){
uiBlock.x = 934;
} else {
uiBlock.x = 400;
};
uiBlock.alpha = 1;
blackScreen.y = -1000;
} else {
if (kelseyBody.hitTestPoint(stage.mouseX, stage.mouseY, true)){
setMouseTail(false);
kelseyHead.gotoAndStop(1);
blood.x = tailSprite.x;
blood.y = tailSprite.y;
blood.scaleY = 0.2;
blood.alpha = 1;
myTweenX = new Tween(blood, "scaleY", Regular.easeOut, 0.2, 1, 2, true);
myTweenX.FPS = 40;
uiBlock.labelResult.gotoAndStop(2);
uiBlock.btnAgain.gotoAndStop(2);
uiBlock.y = -130;
if (kelseyBody.x < 253){
uiBlock.x = 934;
} else {
uiBlock.x = 400;
};
uiBlock.alpha = 1;
blackScreen.y = -1000;
} else {
myTweenY = new Tween(blackScreen.labelMiss, "alpha", None.easeNone, 1, 0, 2, true);
myTweenY.FPS = 40;
fakeKelsey.x = kelseyBody.x;
};
};
} else {
if (_arg1.target.name == "btnReturn"){
clearInterval(myInterval3);
stage.removeEventListener(MouseEvent.CLICK, pinTail);
gotoAndStop(2);
} else {
if (_arg1.target.name == "btnAgain"){
if (uiBlock.btnAgain.currentFrame == 1){
uiBlock.alpha = 0;
uiBlock.y = -1000;
randomizeLocation();
setMouseTail(true);
} else {
if (nextBandaid < 9){
arrBandaid[nextBandaid].x = tailSprite.x;
arrBandaid[nextBandaid].y = tailSprite.y;
arrBandaid[nextBandaid].rotation = (Math.floor((Math.random() * 41)) - 20);
nextBandaid++;
uiBlock.labelResult.gotoAndStop(3);
} else {
arrBandaid[nextBandaid].x = tailSprite.x;
arrBandaid[nextBandaid].y = tailSprite.y;
arrBandaid[nextBandaid].rotation = (Math.floor((Math.random() * 41)) - 20);
nextBandaid++;
uiBlock.btnAgain.y = -1000;
uiBlock.btnAgain.alpha = 0;
uiBlock.labelResult.gotoAndStop(4);
};
blood.x = -300;
tailSprite.x = -300;
uiBlock.btnAgain.gotoAndStop(1);
kelseyHead.gotoAndStop(2);
};
};
};
};
}
public function randomizeLocation():void{
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
blackScreen.x = 0;
blackScreen.y = 0;
_local1 = (Math.floor((Math.random() * 161)) + 150);
_local2 = (Math.floor((Math.random() * 191)) + 270);
_local3 = kelseyBody.x;
_local4 = kelseyBody.y;
_local5 = (-(_local3) + _local1);
_local6 = (-(_local4) + _local2);
kelseyBody.x = (kelseyBody.x + _local5);
kelseyBody.y = (kelseyBody.y + _local6);
kelseyHead.x = (kelseyHead.x + _local5);
kelseyHead.y = (kelseyHead.y + _local6);
bullseye.x = (bullseye.x + _local5);
bullseye.y = (bullseye.y + _local6);
var _local7:* = 0;
while (_local7 < 10) {
arrBandaid[_local7].x = (arrBandaid[_local7].x + _local5);
arrBandaid[_local7].y = (arrBandaid[_local7].y + _local6);
_local7++;
};
fakeKelsey.x = kelseyBody.x;
fakeKelsey.y = kelseyBody.y;
}
function frame1(){
stop();
bCode = false;
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
}
function frame2(){
stop();
iSlapPhase = 0;
iPoseOffset = 0;
myInterval = setInterval(myTimer, 50);
myInterval2 = setInterval(myTimer2, 200);
slapSpeed = 1;
glowSetting = 4;
slapMethod = 0;
footGlow = 0;
buttGlow = 0;
kelseyHairStyle = 1;
kelseyExpressionDemeanor = 0;
illionoreExpression = 1;
clothingArray = [0, 0, 0, 0, 0, 0, 0];
kelseyHair.gotoAndStop((iPoseOffset + kelseyHairStyle));
kelseyExpression.gotoAndStop(((iPoseOffset + 1) + kelseyExpressionDemeanor));
bgArt2.alpha = 0;
buttons.btnButt.alpha = 0.2;
buttons.btnSlap.gotoAndStop(2);
buttons.btnAutomatic.alpha = 0.2;
buttons.btnHand.alpha = 0.2;
buttons.btnHair0.alpha = 0.2;
buttons.btnExpression1.alpha = 0.2;
buttons.btn1.alpha = 0.2;
btnSlap2.alpha = 0;
redGlowFeet.alpha = 0;
redGlowButt.alpha = 0;
illiExpression.gotoAndStop(Math.ceil((Math.random() * 3)));
btnBF.alpha = 0;
if (bCode == true){
buttons.codeBlock.y = -1000;
buttons.codeBlock.alpha = 0;
};
stage.addEventListener(MouseEvent.CLICK, mouseClicked);
}
function frame3(){
stop();
bMouseTail = false;
myInterval3 = setInterval(mouseUpdate, 50);
nextBandaid = 0;
arrBandaid = [bandaid1, bandaid2, bandaid3, bandaid4, bandaid5, bandaid6, bandaid7, bandaid8, bandaid9, bandaid10];
myTweenY = new Tween(blackScreen.labelMiss, "alpha", None.easeNone, 0, 0, 0.5, true);
blood.alpha = 0;
tailSprite.mouseEnabled = false;
setMouseTail(true);
randomizeLocation();
stage.addEventListener(MouseEvent.CLICK, pinTail);
uiBlock.y = -1000;
blackScreen.y = 0;
blackScreen.x = 0;
}
}
}//package spanking_kelsey_fla
Section 17
//panties_12 (spanking_kelsey_fla.panties_12)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class panties_12 extends MovieClip {
public function panties_12(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 18
//redGlow_8 (spanking_kelsey_fla.redGlow_8)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class redGlow_8 extends MovieClip {
public function redGlow_8(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 19
//redGlow2_7 (spanking_kelsey_fla.redGlow2_7)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class redGlow2_7 extends MovieClip {
public function redGlow2_7(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 20
//socks_18 (spanking_kelsey_fla.socks_18)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class socks_18 extends MovieClip {
public function socks_18(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 21
//wheel_35 (spanking_kelsey_fla.wheel_35)
package spanking_kelsey_fla {
import flash.display.*;
public dynamic class wheel_35 extends MovieClip {
public function wheel_35(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spanking_kelsey_fla
Section 22
//introStartButton (introStartButton)
package {
import flash.display.*;
public dynamic class introStartButton extends MovieClip {
}
}//package
Section 23
//movie_mc (movie_mc)
package {
import flash.display.*;
public dynamic class movie_mc extends MovieClip {
}
}//package