Section 1
//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 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
//arrowUp_43 (JenFan_fla.arrowUp_43)
package JenFan_fla {
import flash.display.*;
public dynamic class arrowUp_43 extends MovieClip {
public function arrowUp_43(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package JenFan_fla
Section 5
//blindfold_8 (JenFan_fla.blindfold_8)
package JenFan_fla {
import flash.display.*;
public dynamic class blindfold_8 extends MovieClip {
public function blindfold_8(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package JenFan_fla
Section 6
//catEars_13 (JenFan_fla.catEars_13)
package JenFan_fla {
import flash.display.*;
public dynamic class catEars_13 extends MovieClip {
public function catEars_13(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package JenFan_fla
Section 7
//face_6 (JenFan_fla.face_6)
package JenFan_fla {
import flash.display.*;
public dynamic class face_6 extends MovieClip {
public function face_6(){
addFrameScript(0, frame1, 9, frame10, 16, frame17, 23, frame24, 30, frame31);
}
function frame1(){
stop();
}
function frame10(){
gotoAndPlay(4);
}
function frame17(){
gotoAndPlay(11);
}
function frame24(){
gotoAndPlay(18);
}
function frame31(){
gotoAndPlay(25);
}
}
}//package JenFan_fla
Section 8
//ftTkTop_33 (JenFan_fla.ftTkTop_33)
package JenFan_fla {
import flash.display.*;
public dynamic class ftTkTop_33 extends MovieClip {
public function ftTkTop_33(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package JenFan_fla
Section 9
//jen_4 (JenFan_fla.jen_4)
package JenFan_fla {
import flash.display.*;
public dynamic class jen_4 extends MovieClip {
public function jen_4(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package JenFan_fla
Section 10
//jenLegs_7 (JenFan_fla.jenLegs_7)
package JenFan_fla {
import flash.display.*;
public dynamic class jenLegs_7 extends MovieClip {
public function jenLegs_7(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package JenFan_fla
Section 11
//MainTimeline (JenFan_fla.MainTimeline)
package JenFan_fla {
import flash.events.*;
import fl.transitions.easing.*;
import fl.transitions.*;
import flash.utils.*;
import flash.display.*;
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.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var sliertDown1:MovieClip;
public var mod3:MovieClip;
public var jen:MovieClip;
public var fanL1:MovieClip;
public var arrowDown:MovieClip;
public var onIndicator:MovieClip;
public var star1:MovieClip;
public var sliertDown2:MovieClip;
public var mod4:MovieClip;
public var fanL2:MovieClip;
public var star2:MovieClip;
public var mod5:MovieClip;
public var legs:MovieClip;
public var star3:MovieClip;
public var mod6:MovieClip;
public var handleRed:MovieClip;
public var star4:MovieClip;
public var mod7:MovieClip;
public var robotArm:MovieClip;
public var tailRight:MovieClip;
public var tailUp:MovieClip;
public var star5:MovieClip;
public var mod8:MovieClip;
public var star6:MovieClip;
public var wheel1:MovieClip;
public var mod9:MovieClip;
public var tailRightBack:MovieClip;
public var wheel2:MovieClip;
public var tailNormal:MovieClip;
public var arrowUp:MovieClip;
public var cover:MovieClip;
public var tailBackDown:MovieClip;
public var wheel3:MovieClip;
public var wheel4:MovieClip;
public var tailLeftBack:MovieClip;
public var ftTkTop:MovieClip;
public var sliertLeft:MovieClip;
public var mainFan:MovieClip;
public var tailLeft:MovieClip;
public var expression:MovieClip;
public var gasmask:MovieClip;
public var catears:MovieClip;
public var blindfold:MovieClip;
public var sliertRight:MovieClip;
public var tailUpBack:MovieClip;
public var mod1:MovieClip;
public var skirt:MovieClip;
public var fanR1:MovieClip;
public var tvKast:MovieClip;
public var mod2:MovieClip;
public var fanR2:MovieClip;
public var myTimer:uint;
public var myTween:Tween;
public var machineState:uint;
public var bPowerInPlace:Boolean;
public var f1:uint;
public var f2:uint;
public var f3:uint;
public var f4:uint;
public var f5:uint;
public var f6:uint;
public var f7:uint;
public var f8:uint;
public var f9:uint;
public var spinWheel2;
public var spinWheel3;
public var spinWheel4;
public var spinRadar7;
public var spinRadar8;
public var spinRadar9;
public var myPerk;
public var myAddon;
public var myFeature;
public var laughterCounter;
public var recoveryCountDown;
public function MainTimeline(){
addFrameScript(1, frame2);
}
public function rotateWheels():void{
var _local1:*;
if (machineState == 2){
wheel1.rotation = (wheel1.rotation - 5);
wheel2.rotation = (wheel2.rotation + spinWheel2);
wheel3.rotation = (wheel3.rotation + spinWheel3);
wheel4.rotation = (wheel4.rotation + spinWheel4);
mod7.wheel.rotation = (mod7.wheel.rotation + spinRadar7);
mod8.wheel.rotation = (mod8.wheel.rotation + spinRadar8);
mod9.wheel.rotation = (mod9.wheel.rotation + spinRadar9);
if (((((!((wheel2.rotation == 0))) || (!((wheel3.rotation == 0))))) || (!((wheel4.rotation == 0))))){
laughterCounter++;
if (wheel4.rotation != 0){
laughterCounter++;
};
if (laughterCounter == 2){
expression.gotoAndPlay(3);
};
if (laughterCounter == 20){
expression.gotoAndPlay(11);
};
if (laughterCounter == 50){
expression.gotoAndPlay(18);
};
if (laughterCounter == 100){
expression.gotoAndPlay(25);
};
if (laughterCounter == 200){
expression.gotoAndStop(32);
stars(1);
};
if (laughterCounter > 202){
laughterCounter = 202;
recoveryCountDown = 250;
};
};
} else {
if (recoveryCountDown > 0){
recoveryCountDown--;
if (recoveryCountDown == 0){
laughterCounter = 0;
expression.gotoAndStop(2);
stars(0);
};
} else {
if (Math.floor((Math.random() * 8)) == 0){
_local1 = expression.currentFrame;
if (_local1 > 3){
_local1 = 2;
};
if (_local1 == 1){
expression.gotoAndStop((_local1 + 1));
} else {
if (_local1 == 3){
expression.gotoAndStop((_local1 - 1));
} else {
if (Math.floor((Math.random() * 2)) == 0){
expression.gotoAndStop((_local1 + 1));
} else {
expression.gotoAndStop((_local1 - 1));
};
};
};
};
};
};
}
public function openCover():void{
myTween = new Tween(cover, "scaleY", Regular.easeIn, 1, 0.1, 1, true);
myTween.FPS = 40;
}
public function closeCover():void{
myTween = new Tween(cover, "scaleY", Regular.easeIn, 0.1, 1, 1, true);
myTween.FPS = 40;
}
public function mouseClicked(_arg1:MouseEvent):void{
if (_arg1.target.name == "arrowUp"){
if (machineState == 0){
if (bPowerInPlace == true){
machineState++;
closeCover();
handleRed.rotation = 0;
};
} else {
if (machineState == 1){
machineState++;
handleRed.rotation = -45;
onIndicator.gotoAndStop(2);
mod1.pow2.gotoAndStop(1);
mod1.pow1.gotoAndStop(2);
if (spinWheel2 != 0){
doRightFan(1);
};
if (spinWheel3 != 0){
doLeftFan(1);
};
if (spinWheel4 != 0){
doBottomFan(1);
};
showExtras();
};
};
} else {
if (_arg1.target.name == "arrowDown"){
if (machineState == 2){
machineState--;
handleRed.rotation = 0;
onIndicator.gotoAndStop(1);
mod1.pow2.gotoAndStop(2);
mod1.pow1.gotoAndPlay(1);
doRightFan(0);
doLeftFan(0);
doBottomFan(0);
clearExtras();
} else {
if (machineState == 1){
machineState--;
openCover();
handleRed.rotation = 45;
};
};
};
};
if (machineState == 0){
if ((((((((mouseX > 478)) && ((mouseX < 722)))) && ((mouseY > 336)))) && ((mouseY < 458)))){
tile1Clicked();
} else {
if ((((((((mouseX > 722)) && ((mouseX < 844)))) && ((mouseY > 336)))) && ((mouseY < 458)))){
tile2Clicked();
} else {
if ((((((((mouseX > 844)) && ((mouseX < 966)))) && ((mouseY > 336)))) && ((mouseY < 458)))){
tile3Clicked();
} else {
if ((((((((mouseX > 600)) && ((mouseX < 722)))) && ((mouseY > 458)))) && ((mouseY < 580)))){
tile4Clicked();
} else {
if ((((((((mouseX > 722)) && ((mouseX < 844)))) && ((mouseY > 458)))) && ((mouseY < 580)))){
tile5Clicked();
} else {
if ((((((((mouseX > 844)) && ((mouseX < 966)))) && ((mouseY > 458)))) && ((mouseY < 580)))){
tile6Clicked();
} else {
if ((((((((mouseX > 600)) && ((mouseX < 722)))) && ((mouseY > 580)))) && ((mouseY < 702)))){
tile7Clicked();
} else {
if ((((((((mouseX > 722)) && ((mouseX < 844)))) && ((mouseY > 580)))) && ((mouseY < 702)))){
tile8Clicked();
} else {
if ((((((((mouseX > 844)) && ((mouseX < 966)))) && ((mouseY > 580)))) && ((mouseY < 702)))){
tile9Clicked();
};
};
};
};
};
};
};
};
};
alignRotations();
};
}
public function tile1Clicked():void{
if ((((f1 == 0)) || ((f1 == 1)))){
if (bPowerInPlace == true){
bPowerInPlace = false;
myTween = new Tween(mod1, "x", Regular.easeInOut, mod1.x, 478, 0.5, true);
myTween.FPS = 40;
f1 = 0;
mod2.powDisplay.gotoAndStop(15);
mod3.powDisplay.gotoAndStop(15);
mod4.powDisplay.gotoAndStop(15);
mod5.powDisplay.gotoAndStop(15);
mod6.powDisplay.gotoAndStop(15);
} else {
bPowerInPlace = true;
myTween = new Tween(mod1, "x", Regular.easeInOut, mod1.x, 600, 0.5, true);
myTween.FPS = 40;
f1 = 1;
calculatePower();
};
} else {
if (f2 == 0){
moveTile(f1, f2, "x", 722);
f2 = f1;
f1 = 0;
} else {
if (f4 == 0){
moveTile(f1, f4, "y", 458);
f4 = f1;
f1 = 0;
};
};
};
}
public function tile2Clicked():void{
if (f1 == 0){
moveTile(f2, f1, "x", 600);
f1 = f2;
f2 = 0;
} else {
if (f3 == 0){
moveTile(f2, f3, "x", 844);
f3 = f2;
f2 = 0;
} else {
if (f5 == 0){
moveTile(f2, f5, "y", 458);
f5 = f2;
f2 = 0;
};
};
};
}
public function tile3Clicked():void{
if (f2 == 0){
moveTile(f3, f2, "x", 722);
f2 = f3;
f3 = 0;
} else {
if (f6 == 0){
moveTile(f3, f6, "y", 458);
f6 = f3;
f3 = 0;
};
};
}
public function tile4Clicked():void{
if (f1 == 0){
moveTile(f4, f1, "y", 336);
f1 = f4;
f4 = 0;
} else {
if (f5 == 0){
moveTile(f4, f5, "x", 722);
f5 = f4;
f4 = 0;
} else {
if (f7 == 0){
moveTile(f4, f7, "y", 580);
f7 = f4;
f4 = 0;
};
};
};
}
public function tile5Clicked():void{
if (f2 == 0){
moveTile(f5, f2, "y", 336);
f2 = f5;
f5 = 0;
} else {
if (f6 == 0){
moveTile(f5, f6, "x", 844);
f6 = f5;
f5 = 0;
} else {
if (f8 == 0){
moveTile(f5, f8, "y", 580);
f8 = f5;
f5 = 0;
} else {
if (f4 == 0){
moveTile(f5, f4, "x", 600);
f4 = f5;
f5 = 0;
};
};
};
};
}
public function tile6Clicked():void{
if (f3 == 0){
moveTile(f6, f3, "y", 336);
f3 = f6;
f6 = 0;
} else {
if (f5 == 0){
moveTile(f6, f5, "x", 722);
f5 = f6;
f6 = 0;
} else {
if (f9 == 0){
moveTile(f6, f9, "y", 580);
f9 = f6;
f6 = 0;
};
};
};
}
public function tile7Clicked():void{
if (f4 == 0){
moveTile(f7, f4, "y", 458);
f4 = f7;
f7 = 0;
} else {
if (f8 == 0){
moveTile(f7, f8, "x", 722);
f8 = f7;
f7 = 0;
};
};
}
public function tile8Clicked():void{
if (f7 == 0){
moveTile(f8, f7, "x", 600);
f7 = f8;
f8 = 0;
} else {
if (f5 == 0){
moveTile(f8, f5, "y", 458);
f5 = f8;
f8 = 0;
} else {
if (f9 == 0){
moveTile(f8, f9, "x", 844);
f9 = f8;
f8 = 0;
};
};
};
}
public function tile9Clicked():void{
if (f6 == 0){
moveTile(f9, f6, "y", 458);
f6 = f9;
f9 = 0;
} else {
if (f8 == 0){
moveTile(f9, f8, "x", 722);
f8 = f9;
f9 = 0;
};
};
}
public function moveTile(_arg1, _arg2, _arg3, _arg4):void{
var _local5:*;
if (_arg1 == 2){
_local5 = mod2;
};
if (_arg1 == 3){
_local5 = mod3;
};
if (_arg1 == 4){
_local5 = mod4;
};
if (_arg1 == 5){
_local5 = mod5;
};
if (_arg1 == 6){
_local5 = mod6;
};
if (_arg1 == 7){
_local5 = mod7;
};
if (_arg1 == 8){
_local5 = mod8;
};
if (_arg1 == 9){
_local5 = mod9;
};
if (_arg3 == "x"){
myTween = new Tween(_local5, "x", Regular.easeInOut, _local5.x, _arg4, 0.5, true);
myTween.FPS = 40;
} else {
myTween = new Tween(_local5, "y", Regular.easeInOut, _local5.y, _arg4, 0.5, true);
myTween.FPS = 40;
};
}
public function alignRotations():void{
spinWheel2 = 0;
spinWheel3 = 0;
spinWheel4 = 0;
spinRadar7 = 0;
spinRadar8 = 0;
spinRadar9 = 0;
wheel1.rotation = 0;
wheel2.rotation = 0;
wheel3.rotation = 0;
wheel4.rotation = 0;
if ((((((((f2 == 7)) || ((f4 == 7)))) || ((f6 == 7)))) || ((f8 == 7)))){
mod7.wheel.rotation = 45;
} else {
mod7.wheel.rotation = 0;
};
if ((((((((f2 == 8)) || ((f4 == 8)))) || ((f6 == 8)))) || ((f8 == 8)))){
mod8.wheel.rotation = 45;
} else {
mod8.wheel.rotation = 0;
};
if ((((((((f2 == 9)) || ((f4 == 9)))) || ((f6 == 9)))) || ((f8 == 9)))){
mod9.wheel.rotation = 45;
} else {
mod9.wheel.rotation = 0;
};
if ((((((f2 == 7)) || ((f2 == 8)))) || ((f2 == 9)))){
if (f2 == 7){
spinRadar7 = 5;
};
if (f2 == 8){
spinRadar8 = 5;
};
if (f2 == 9){
spinRadar9 = 5;
};
if ((((((f3 == 7)) || ((f3 == 8)))) || ((f3 == 9)))){
if (f3 == 7){
spinRadar7 = -5;
};
if (f3 == 8){
spinRadar8 = -5;
};
if (f3 == 9){
spinRadar9 = -5;
};
if ((((((f6 == 7)) || ((f6 == 8)))) || ((f6 == 9)))){
if (f6 == 7){
spinRadar7 = 5;
};
if (f6 == 8){
spinRadar8 = 5;
};
if (f6 == 9){
spinRadar9 = 5;
};
spinWheel2 = -5;
};
};
if ((((((f5 == 7)) || ((f5 == 8)))) || ((f5 == 9)))){
if (f5 == 7){
spinRadar7 = -5;
};
if (f5 == 8){
spinRadar8 = -5;
};
if (f5 == 9){
spinRadar9 = -5;
};
if ((((((f6 == 7)) || ((f6 == 8)))) || ((f6 == 9)))){
if (f6 == 7){
spinRadar7 = 5;
};
if (f6 == 8){
spinRadar8 = 5;
};
if (f6 == 9){
spinRadar9 = 5;
};
spinWheel2 = -5;
};
if ((((((f4 == 7)) || ((f4 == 8)))) || ((f4 == 9)))){
if (f4 == 7){
spinRadar7 = 5;
};
if (f4 == 8){
spinRadar8 = 5;
};
if (f4 == 9){
spinRadar9 = 5;
};
spinWheel3 = -5;
};
if ((((((f8 == 7)) || ((f8 == 8)))) || ((f8 == 9)))){
if (f8 == 7){
spinRadar7 = 5;
};
if (f8 == 8){
spinRadar8 = 5;
};
if (f8 == 9){
spinRadar9 = 5;
};
spinWheel4 = -5;
};
};
};
}
public function calculatePower():void{
var _local1:* = 0;
var _local2:* = 0;
var _local3:* = 0;
var _local4:* = 0;
var _local5:* = 0;
var _local6:* = 0;
var _local7:* = 0;
var _local8:* = 0;
if (((((!((f4 == 7))) && (!((f4 == 8))))) && (!((f4 == 9))))){
if (f4 == 6){
_local3 = 2;
} else {
_local3 = 4;
};
};
if (((((!((f3 == 7))) && (!((f3 == 8))))) && (!((f3 == 9))))){
if (f3 == 6){
_local2 = 2;
} else {
_local2 = 4;
};
};
if (((((((!((f7 == 7))) && (!((f7 == 8))))) && (!((f7 == 9))))) && (!((_local3 == 0))))){
if (f7 == 6){
_local6 = 2;
} else {
_local6 = 4;
};
};
if (((((((!((f6 == 7))) && (!((f6 == 8))))) && (!((f6 == 9))))) && (!((_local2 == 0))))){
if (f6 == 6){
_local5 = 2;
} else {
_local5 = 4;
};
};
if (((((((!((f9 == 7))) && (!((f9 == 8))))) && (!((f9 == 9))))) && (!((_local5 == 0))))){
if (f9 == 6){
_local8 = 2;
} else {
_local8 = 4;
};
};
if (((((((!((f8 == 7))) && (!((f8 == 8))))) && (!((f8 == 9))))) && ((((_local6 == 4)) || ((_local8 == 4)))))){
if (f8 != 6){
_local7 = 4;
};
};
if (((((((!((f5 == 7))) && (!((f5 == 8))))) && (!((f5 == 9))))) && ((((_local3 == 4)) || ((_local5 == 4)))))){
if (f5 != 6){
_local4 = 4;
};
};
if (((((((!((f5 == 7))) && (!((f5 == 8))))) && (!((f5 == 9))))) && (!((_local7 == 0))))){
if (f5 == 6){
_local4 = 2;
} else {
_local4 = 4;
};
};
if (((((((!((f7 == 7))) && (!((f7 == 8))))) && (!((f7 == 9))))) && ((_local7 == 4)))){
if (f7 != 6){
_local6 = 4;
};
};
if (((((((!((f7 == 7))) && (!((f7 == 8))))) && (!((f7 == 9))))) && ((_local7 == 4)))){
if (f7 != 6){
_local6 = 4;
};
};
if (((((((!((f9 == 7))) && (!((f9 == 8))))) && (!((f9 == 9))))) && ((_local7 == 4)))){
if (f9 != 6){
_local8 = 4;
};
};
if (((((((!((f4 == 7))) && (!((f4 == 8))))) && (!((f4 == 9))))) && (!((_local6 == 0))))){
if (f4 == 6){
_local3 = 2;
} else {
_local3 = 4;
};
};
if (((((((!((f6 == 7))) && (!((f6 == 8))))) && (!((f6 == 9))))) && (!((_local8 == 0))))){
if (f6 == 6){
_local5 = 2;
} else {
_local5 = 4;
};
};
if (((((((!((f2 == 7))) && (!((f2 == 8))))) && (!((f2 == 9))))) && (!((_local4 == 0))))){
if (f2 == 6){
_local1 = 2;
} else {
_local1 = 4;
};
};
toggleNoPowDisplay(2, f2, _local1);
toggleNoPowDisplay(3, f3, _local2);
toggleNoPowDisplay(4, f4, _local3);
toggleNoPowDisplay(5, f5, _local4);
toggleNoPowDisplay(6, f6, _local5);
toggleNoPowDisplay(7, f7, _local6);
toggleNoPowDisplay(8, f8, _local7);
toggleNoPowDisplay(9, f9, _local8);
myPerk = 0;
myAddon = 0;
myFeature = 0;
if (_local6 > 0){
if (f7 == 2){
myPerk = 1;
};
if (f7 == 3){
myPerk = 2;
};
if (f7 == 4){
myPerk = 3;
};
};
if (_local2 > 0){
if (f3 == 2){
myAddon = 1;
};
if (f3 == 3){
myAddon = 2;
};
};
if (_local8 > 0){
if (f9 == 2){
myFeature = 1;
};
if (f9 == 3){
myFeature = 2;
};
if (f9 == 4){
myFeature = 3;
};
};
}
public function toggleNoPowDisplay(_arg1, _arg2, _arg3):void{
if (_arg2 == 2){
if (_arg3 == 0){
mod2.powDisplay.gotoAndPlay(1);
} else {
mod2.powDisplay.gotoAndStop(15);
};
};
if (_arg2 == 3){
if (_arg3 == 0){
mod3.powDisplay.gotoAndPlay(1);
} else {
mod3.powDisplay.gotoAndStop(15);
};
};
if (_arg2 == 4){
if (_arg3 == 0){
mod4.powDisplay.gotoAndPlay(1);
} else {
mod4.powDisplay.gotoAndStop(15);
};
};
if (_arg2 == 5){
if (_arg3 == 0){
mod5.powDisplay.gotoAndPlay(1);
} else {
mod5.powDisplay.gotoAndStop(15);
};
};
if (_arg2 == 6){
if (_arg3 == 0){
mod6.powDisplay.gotoAndPlay(1);
} else {
mod6.powDisplay.gotoAndStop(15);
};
};
}
public function doRightFan(_arg1):void{
if (_arg1 == 1){
fanR1.gotoAndPlay(1);
fanR2.gotoAndPlay(1);
sliertRight.gotoAndPlay(1);
} else {
fanR1.gotoAndStop(1);
fanR2.gotoAndStop(1);
};
}
public function doLeftFan(_arg1):void{
if (_arg1 == 1){
fanL1.gotoAndPlay(1);
fanL2.gotoAndPlay(1);
sliertLeft.gotoAndPlay(1);
} else {
fanL1.gotoAndStop(1);
fanL2.gotoAndStop(1);
};
}
public function doBottomFan(_arg1):void{
if (_arg1 == 1){
mainFan.gotoAndPlay(1);
sliertDown1.gotoAndPlay(1);
sliertDown2.gotoAndPlay(1);
} else {
mainFan.gotoAndStop(1);
};
}
public function showExtras():void{
if (myPerk != 1){
if (spinWheel2 != 0){
tailLeft.alpha = 1;
};
if (spinWheel3 != 0){
tailRight.alpha = 1;
};
if (spinWheel4 != 0){
tailUp.alpha = 1;
ftTkTop.alpha = 1;
};
} else {
if (spinWheel2 != 0){
tailLeftBack.alpha = 1;
};
if (spinWheel3 != 0){
tailRightBack.alpha = 1;
};
if (spinWheel4 != 0){
tailUpBack.alpha = 1;
};
robotArm.gotoAndStop(3);
};
if ((((((spinWheel2 == 0)) && ((spinWheel3 == 0)))) && ((spinWheel4 == 0)))){
if (myPerk != 1){
tailNormal.alpha = 1;
} else {
tailBackDown.alpha = 1;
};
} else {
tailNormal.alpha = 0;
if (spinWheel2 != 0){
skirt.gotoAndPlay(3);
} else {
if (spinWheel3 != 0){
skirt.gotoAndPlay(10);
} else {
if (spinWheel4 != 0){
skirt.gotoAndPlay(17);
};
};
};
};
if (myPerk == 1){
jen.gotoAndStop(2);
expression.alpha = 0;
if ((((((spinWheel2 == 0)) && ((spinWheel3 == 0)))) && ((spinWheel4 == 0)))){
skirt.gotoAndStop(2);
};
} else {
if (myPerk == 2){
tvKast.feetView.alpha = 1;
if (spinWheel4 != 0){
tvKast.sliertTv1.alpha = 0.5;
tvKast.sliertTv2.alpha = 0.5;
tvKast.sliertTv1.gotoAndPlay(1);
tvKast.sliertTv2.gotoAndPlay(1);
};
} else {
if (myPerk == 3){
robotArm.gotoAndStop(1);
};
};
};
if (myAddon == 1){
if (myPerk != 1){
legs.gotoAndStop(3);
legs.alpha = 1;
ftTkTop.gotoAndStop(2);
if (myPerk == 2){
tvKast.ph.alpha = 1;
};
} else {
legs.gotoAndStop(4);
legs.alpha = 1;
ftTkTop.gotoAndStop(2);
if (myPerk == 2){
tvKast.ph.alpha = 1;
};
};
} else {
if (myAddon == 2){
if (myPerk != 1){
legs.gotoAndStop(1);
legs.alpha = 1;
ftTkTop.gotoAndStop(3);
} else {
legs.gotoAndStop(2);
legs.alpha = 1;
ftTkTop.gotoAndStop(3);
};
};
};
if (myFeature == 1){
gasmask.alpha = 1;
} else {
if (myFeature == 2){
blindfold.alpha = 1;
if (myPerk != 1){
blindfold.gotoAndStop(1);
} else {
blindfold.gotoAndStop(2);
};
} else {
if (myFeature == 3){
catears.alpha = 1;
if (myPerk != 1){
catears.gotoAndStop(1);
} else {
catears.gotoAndStop(2);
};
};
};
};
}
public function clearExtras():void{
jen.gotoAndStop(1);
expression.alpha = 1;
gasmask.alpha = 0;
skirt.gotoAndStop(1);
tailLeft.alpha = 0;
tailRight.alpha = 0;
tailUp.alpha = 0;
tailLeftBack.alpha = 0;
tailRightBack.alpha = 0;
tailUpBack.alpha = 0;
tailNormal.alpha = 1;
tailBackDown.alpha = 0;
blindfold.alpha = 0;
robotArm.gotoAndStop(2);
sliertLeft.gotoAndStop(6);
sliertRight.gotoAndStop(6);
sliertDown1.gotoAndStop(6);
sliertDown2.gotoAndStop(6);
ftTkTop.alpha = 0;
ftTkTop.gotoAndStop(1);
tvKast.ph.alpha = 0;
catears.alpha = 0;
if (recoveryCountDown == 0){
laughterCounter = 0;
expression.gotoAndStop(2);
stars(0);
};
tvKast.sliertTv1.alpha = 0;
tvKast.sliertTv2.alpha = 0;
tvKast.sliertTv1.gotoAndStop(1);
tvKast.sliertTv2.gotoAndStop(1);
tvKast.feetView.alpha = 0;
legs.alpha = 0;
}
public function stars(_arg1:uint):void{
if (_arg1 == 0){
star1.gotoAndStop(9);
star2.gotoAndStop(9);
star3.gotoAndStop(9);
star4.gotoAndStop(9);
star5.gotoAndStop(9);
star6.gotoAndStop(9);
} else {
star1.gotoAndPlay(1);
star2.gotoAndPlay(3);
star3.gotoAndPlay(6);
star4.gotoAndPlay(9);
star5.gotoAndPlay(12);
star6.gotoAndPlay(15);
};
}
function frame2(){
stop();
myTimer = setInterval(rotateWheels, 200);
machineState = 1;
bPowerInPlace = true;
f1 = 1;
f2 = 7;
f3 = 2;
f4 = 6;
f5 = 8;
f6 = 9;
f7 = 3;
f8 = 5;
f9 = 4;
spinWheel2 = 0;
spinWheel3 = 0;
spinWheel4 = 0;
spinRadar7 = 0;
spinRadar8 = 0;
spinRadar9 = 0;
myPerk = 2;
myAddon = 1;
myFeature = 3;
laughterCounter = 0;
recoveryCountDown = 0;
mod1.pow2.gotoAndStop(2);
mod1.pow1.gotoAndPlay(1);
alignRotations();
stage.addEventListener(MouseEvent.CLICK, mouseClicked);
mod2.powDisplay.gotoAndStop(15);
mod3.powDisplay.gotoAndStop(15);
mod4.powDisplay.gotoAndStop(15);
mod5.powDisplay.gotoAndStop(15);
mod6.powDisplay.gotoAndStop(15);
stars(0);
clearExtras();
handleRed.rotation = 0;
onIndicator.gotoAndStop(1);
arrowUp.gotoAndStop(1);
arrowDown.gotoAndStop(1);
mainFan.gotoAndStop(1);
fanL1.gotoAndStop(1);
fanL2.gotoAndStop(1);
fanR1.gotoAndStop(1);
fanR2.gotoAndStop(1);
}
}
}//package JenFan_fla
Section 12
//onIndicator_42 (JenFan_fla.onIndicator_42)
package JenFan_fla {
import flash.display.*;
public dynamic class onIndicator_42 extends MovieClip {
public function onIndicator_42(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package JenFan_fla
Section 13
//robotArm1_10 (JenFan_fla.robotArm1_10)
package JenFan_fla {
import flash.display.*;
public dynamic class robotArm1_10 extends MovieClip {
public function robotArm1_10(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package JenFan_fla
Section 14
//skirt_11 (JenFan_fla.skirt_11)
package JenFan_fla {
import flash.display.*;
public dynamic class skirt_11 extends MovieClip {
public function skirt_11(){
addFrameScript(0, frame1, 8, frame9, 15, frame16, 20, frame21);
}
function frame1(){
stop();
}
function frame9(){
gotoAndPlay(3);
}
function frame16(){
gotoAndPlay(10);
}
function frame21(){
gotoAndPlay(17);
}
}
}//package JenFan_fla
Section 15
//sliert1_29 (JenFan_fla.sliert1_29)
package JenFan_fla {
import flash.display.*;
public dynamic class sliert1_29 extends MovieClip {
public function sliert1_29(){
addFrameScript(4, frame5);
}
function frame5(){
gotoAndPlay(1);
}
}
}//package JenFan_fla
Section 16
//sliertDown_28 (JenFan_fla.sliertDown_28)
package JenFan_fla {
import flash.display.*;
public dynamic class sliertDown_28 extends MovieClip {
public function sliertDown_28(){
addFrameScript(4, frame5);
}
function frame5(){
gotoAndPlay(1);
}
}
}//package JenFan_fla
Section 17
//sliertDownTV_37 (JenFan_fla.sliertDownTV_37)
package JenFan_fla {
import flash.display.*;
public dynamic class sliertDownTV_37 extends MovieClip {
public function sliertDownTV_37(){
addFrameScript(4, frame5);
}
function frame5(){
gotoAndPlay(1);
}
}
}//package JenFan_fla
Section 18
//starIn_30 (JenFan_fla.starIn_30)
package JenFan_fla {
import flash.display.*;
public dynamic class starIn_30 extends MovieClip {
public function starIn_30(){
addFrameScript(19, frame20);
}
function frame20(){
gotoAndPlay(1);
}
}
}//package JenFan_fla