Section 1
//Strong (fl.transitions.easing.Strong)
package fl.transitions.easing {
public class Strong {
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _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) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
}
}//package fl.transitions.easing
Section 2
//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 3
//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 4
//ani_4 (swing_fla.ani_4)
package swing_fla {
import flash.display.*;
public dynamic class ani_4 extends MovieClip {
public function ani_4(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package swing_fla
Section 5
//correctWrong_21 (swing_fla.correctWrong_21)
package swing_fla {
import flash.display.*;
public dynamic class correctWrong_21 extends MovieClip {
public function correctWrong_21(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package swing_fla
Section 6
//eye_14 (swing_fla.eye_14)
package swing_fla {
import flash.display.*;
public dynamic class eye_14 extends MovieClip {
public function eye_14(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package swing_fla
Section 7
//MainTimeline (swing_fla.MainTimeline)
package swing_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 btnSpect:MovieClip;
public var btnEnter:MovieClip;
public var ani:MovieClip;
public var correctWrong:MovieClip;
public var eye:MovieClip;
public var top:MovieClip;
public var btnIntroStart:introStartButton;
public var btnNone:MovieClip;
public var btnBlindf:MovieClip;
public var btnUp:MovieClip;
public var loader_mc:movie_mc;
public var loaded_txt:TextField;
public var btnPantiesOff:MovieClip;
public var btnOff:MovieClip;
public var txtNr:TextField;
public var btnPantiesUp:MovieClip;
public var btnDown:MovieClip;
public var introLogo:MovieClip;
public var answerSymbol:MovieClip;
public var btnSkirtOff:MovieClip;
public var btnSkirtRegular:MovieClip;
public var btnHalf:MovieClip;
public var btnSkirtWave:MovieClip;
public var txtAnswer:TextField;
public var txtQuestion:TextField;
public var skirt:MovieClip;
public var btnPantiesDown:MovieClip;
public var panties:MovieClip;
public var myInterval:uint;
public var myFrame;
public var topOffset;
public var eyeOffset;
public var pantiesOffset;
public var skirtOffset;
public var myTween:Tween;
public var iPhase;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
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:* = true;
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{
btnIntroStart.removeEventListener(MouseEvent.CLICK, startGame);
gotoAndStop(2);
}
public function myTimer():void{
myFrame++;
if (myFrame > 8){
myFrame = 1;
};
ani.gotoAndStop(myFrame);
top.gotoAndStop((myFrame + topOffset));
eye.gotoAndStop((myFrame + eyeOffset));
panties.gotoAndStop((myFrame + pantiesOffset));
skirt.gotoAndStop((myFrame + skirtOffset));
}
public function mouseClicked(_arg1:MouseEvent):void{
if ((((_arg1.target.name == "btnUp")) && ((btnUp.alpha == 1)))){
topOffset = 20;
} else {
if ((((_arg1.target.name == "btnHalf")) && ((btnHalf.alpha == 1)))){
topOffset = 10;
} else {
if ((((_arg1.target.name == "btnOff")) && ((btnDown.alpha == 1)))){
topOffset = 30;
} else {
if ((((_arg1.target.name == "btnDown")) && ((btnDown.alpha == 1)))){
topOffset = 0;
} else {
if ((((_arg1.target.name == "btnBlindf")) && ((btnBlindf.alpha == 1)))){
eyeOffset = 0;
} else {
if ((((_arg1.target.name == "btnSpect")) && ((btnSpect.alpha == 1)))){
eyeOffset = 10;
} else {
if ((((_arg1.target.name == "btnNone")) && ((btnNone.alpha == 1)))){
eyeOffset = 20;
} else {
if ((((_arg1.target.name == "btnPantiesUp")) && ((btnPantiesUp.alpha == 1)))){
pantiesOffset = 0;
} else {
if ((((_arg1.target.name == "btnPantiesDown")) && ((btnPantiesDown.alpha == 1)))){
pantiesOffset = 10;
} else {
if ((((_arg1.target.name == "btnPantiesOff")) && ((btnPantiesOff.alpha == 1)))){
pantiesOffset = 20;
} else {
if ((((_arg1.target.name == "btnSkirtRegular")) && ((btnSkirtRegular.alpha == 1)))){
skirtOffset = 0;
} else {
if ((((_arg1.target.name == "btnSkirtWave")) && ((btnSkirtWave.alpha == 1)))){
skirtOffset = 10;
} else {
if ((((_arg1.target.name == "btnSkirtOff")) && ((btnSkirtOff.alpha == 1)))){
skirtOffset = 20;
} else {
if (_arg1.target.name == "btnEnter"){
if (txtAnswer.text.toLowerCase() == "lovely jenny"){
txtQuestion.text = "Welcome back and enjoy!";
iPhase = 15;
txtAnswer.text = "";
txtAnswer.alpha = 0;
txtAnswer.y = 1000;
btnEnter.alpha = 0;
btnEnter.y = 1000;
answerSymbol.alpha = 0;
answerSymbol.y = 1000;
btnOff.alpha = 1;
btnUp.alpha = 1;
btnHalf.alpha = 1;
btnPantiesDown.alpha = 1;
btnPantiesOff.alpha = 1;
btnBlindf.alpha = 1;
btnSpect.alpha = 1;
btnSkirtWave.alpha = 1;
btnSkirtOff.alpha = 1;
txtNr.text = "";
} else {
if (iPhase == 0){
if ((((txtAnswer.text.toLowerCase() == "3")) || ((txtAnswer.text.toLowerCase() == "three")))){
txtQuestion.text = "Question: What is Kelsey's password of choice?";
txtAnswer.text = "";
btnSkirtWave.alpha = 1;
iPhase++;
showOK(true);
} else {
txtAnswer.text = "3";
showOK(false);
};
} else {
if (iPhase == 1){
if (txtAnswer.text.toLowerCase() == "spidey"){
txtQuestion.text = "Q: Jen, Kelsey & Am showed off their feet at ... watchers.";
txtAnswer.text = "";
btnSpect.alpha = 1;
iPhase++;
showOK(true);
} else {
txtAnswer.text = "spidey";
showOK(false);
};
} else {
if (iPhase == 2){
if (txtAnswer.text.toLowerCase() == "600"){
txtQuestion.text = "Question: How many kids does Emmi have?";
txtAnswer.text = "";
btnHalf.alpha = 1;
iPhase++;
showOK(true);
} else {
txtAnswer.text = "600";
showOK(false);
};
} else {
if (iPhase == 3){
if ((((txtAnswer.text.toLowerCase() == "5")) || ((txtAnswer.text.toLowerCase() == "five")))){
txtQuestion.text = "Question: In which year did the Jen comic start?";
txtAnswer.text = "";
btnPantiesDown.alpha = 1;
iPhase++;
showOK(true);
} else {
txtAnswer.text = "5";
showOK(false);
};
} else {
if (iPhase == 4){
if (txtAnswer.text.toLowerCase() == "2008"){
txtQuestion.text = "Question: What is Bee's real FULL (first + last) name?";
txtAnswer.text = "";
btnBlindf.alpha = 1;
iPhase++;
showOK(true);
} else {
txtAnswer.text = "2008";
showOK(false);
};
} else {
if (iPhase == 5){
if (txtAnswer.text.toLowerCase() == "bianca mccrow"){
txtQuestion.text = "Question: In which year was Kelsey born?";
txtAnswer.text = "";
btnUp.alpha = 1;
iPhase++;
showOK(true);
} else {
txtAnswer.text = "bianca mccrow";
showOK(false);
};
} else {
if (iPhase == 6){
if (txtAnswer.text.toLowerCase() == "1889"){
txtQuestion.text = "Question: What is Mindy's surname?";
txtAnswer.text = "";
btnSkirtOff.alpha = 1;
iPhase++;
showOK(true);
} else {
txtAnswer.text = "1889";
showOK(false);
};
} else {
if (iPhase == 7){
if (txtAnswer.text.toLowerCase() == "hamilton"){
txtQuestion.text = "Question: What does Flek-Lola mean? (in full!)";
txtAnswer.text = "";
btnPantiesOff.alpha = 1;
iPhase++;
showOK(true);
} else {
txtAnswer.text = "hamilton";
showOK(false);
};
} else {
if (iPhase == 8){
if (txtAnswer.text.toLowerCase() == "flek-hi-see's slave's paperweight"){
txtQuestion.text = "The 'master answer' is: Lovely Jenny";
txtAnswer.text = "";
txtAnswer.alpha = 0;
txtAnswer.y = 1000;
btnEnter.alpha = 0;
btnEnter.y = 1000;
answerSymbol.alpha = 0;
answerSymbol.y = 1000;
btnOff.alpha = 1;
iPhase++;
showOK(true);
txtNr.text = "";
} else {
txtAnswer.text = "flek-hi-see's slave's paperweight";
showOK(false);
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
stage.focus = txtAnswer;
}
public function showOK(_arg1):void{
txtNr.text = (iPhase + 1);
if (_arg1 == true){
correctWrong.gotoAndStop(1);
} else {
correctWrong.gotoAndStop(2);
};
myTween.stop();
myTween = new Tween(correctWrong, "y", Strong.easeIn, 350, -125, 2, true);
myTween.FPS = 40;
}
function frame1(){
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
}
function frame2(){
stop();
myInterval = setInterval(myTimer, 200);
myFrame = 1;
topOffset = 0;
eyeOffset = 20;
pantiesOffset = 0;
skirtOffset = 0;
iPhase = 0;
txtQuestion.text = "Question: How many daughters does Jen have?";
eye.gotoAndStop(21);
myTween = new Tween(correctWrong, "alpha", Strong.easeIn, 1, 1, 1, true);
stage.addEventListener(MouseEvent.CLICK, mouseClicked);
stage.focus = txtAnswer;
}
}
}//package swing_fla
Section 8
//panties_15 (swing_fla.panties_15)
package swing_fla {
import flash.display.*;
public dynamic class panties_15 extends MovieClip {
public function panties_15(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
stop();
}
function frame5(){
stop();
}
}
}//package swing_fla
Section 9
//skirt_16 (swing_fla.skirt_16)
package swing_fla {
import flash.display.*;
public dynamic class skirt_16 extends MovieClip {
public function skirt_16(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
stop();
}
function frame11(){
stop();
}
}
}//package swing_fla
Section 10
//top_5 (swing_fla.top_5)
package swing_fla {
import flash.display.*;
public dynamic class top_5 extends MovieClip {
public function top_5(){
addFrameScript(0, frame1, 10, frame11, 20, frame21);
}
function frame1(){
stop();
}
function frame11(){
stop();
}
function frame21(){
stop();
}
}
}//package swing_fla
Section 11
//introStartButton (introStartButton)
package {
import flash.display.*;
public dynamic class introStartButton extends MovieClip {
}
}//package
Section 12
//movie_mc (movie_mc)
package {
import flash.display.*;
public dynamic class movie_mc extends MovieClip {
}
}//package