Section 1
//Elastic (fl.transitions.easing.Elastic)
package fl.transitions.easing {
public class Elastic {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5)));
};
return (((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6))) + _arg3) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5)));
};
--_arg1;
return ((-(((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6)))) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * (0.3 * 1.5));
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / (2 * Math.PI)) * Math.asin((_arg3 / _arg5)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6)))) + _arg2));
};
--_arg1;
return ((((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _arg6))) * 0.5) + _arg3) + _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 {
private var _position:Number;// = NAN
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var isPlaying:Boolean;// = false
public var begin:Number;// = NAN
private var _fps:Number;// = NAN
private var _time:Number;// = NAN
public var change:Number;// = NAN
private var _finish:Number;// = NAN
public var looping:Boolean;// = false
private var _intervalID:uint;// = 0
public var func:Function;
private var _timer:Timer;// = null
private var _startTime:Number;// = NAN
public var prop:String;// = ""
private var _duration:Number;// = NAN
public var obj:Object;// = null
public var useSeconds:Boolean;// = false
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){
isPlaying = false;
obj = null;
prop = "";
func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
begin = NaN;
change = NaN;
useSeconds = false;
prevTime = NaN;
prevPos = NaN;
looping = false;
_duration = NaN;
_time = NaN;
_fps = NaN;
_position = NaN;
_startTime = NaN;
_intervalID = 0;
_finish = NaN;
_timer = null;
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 continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean;
_local2 = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function get duration():Number{
return (this._duration);
}
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;
}
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();
};
};
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
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 set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
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 resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function get FPS():Number{
return (this._fps);
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function get time():Number{
return (this._time);
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
}
}//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_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
time = NaN;
position = NaN;
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
//bounce_1 (princessdiane_fla.bounce_1)
package princessdiane_fla {
import flash.display.*;
public dynamic class bounce_1 extends MovieClip {
public function bounce_1(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 331, frame332);
}
function frame332(){
stop();
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame13(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame16(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
function frame11(){
stop();
}
}
}//package princessdiane_fla
Section 5
//hit1_4 (princessdiane_fla.hit1_4)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit1_4 extends MovieClip {
public function hit1_4(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 6
//hit10_15 (princessdiane_fla.hit10_15)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit10_15 extends MovieClip {
public function hit10_15(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 7
//hit11_16 (princessdiane_fla.hit11_16)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit11_16 extends MovieClip {
public function hit11_16(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 8
//hit12_17 (princessdiane_fla.hit12_17)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit12_17 extends MovieClip {
public function hit12_17(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 9
//hit13_18 (princessdiane_fla.hit13_18)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit13_18 extends MovieClip {
public function hit13_18(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 10
//hit14_19 (princessdiane_fla.hit14_19)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit14_19 extends MovieClip {
public function hit14_19(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 11
//hit15_20 (princessdiane_fla.hit15_20)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit15_20 extends MovieClip {
public function hit15_20(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 12
//hit2_6 (princessdiane_fla.hit2_6)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit2_6 extends MovieClip {
public function hit2_6(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 13
//hit3_7 (princessdiane_fla.hit3_7)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit3_7 extends MovieClip {
public function hit3_7(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package princessdiane_fla
Section 14
//hit4_8 (princessdiane_fla.hit4_8)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit4_8 extends MovieClip {
public function hit4_8(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 15
//hit5_9 (princessdiane_fla.hit5_9)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit5_9 extends MovieClip {
public function hit5_9(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 16
//hit6_11 (princessdiane_fla.hit6_11)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit6_11 extends MovieClip {
public function hit6_11(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 17
//hit7_12 (princessdiane_fla.hit7_12)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit7_12 extends MovieClip {
public function hit7_12(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 18
//hit8_13 (princessdiane_fla.hit8_13)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit8_13 extends MovieClip {
public function hit8_13(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 19
//hit9_14 (princessdiane_fla.hit9_14)
package princessdiane_fla {
import flash.display.*;
public dynamic class hit9_14 extends MovieClip {
public function hit9_14(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package princessdiane_fla
Section 20
//jump_21 (princessdiane_fla.jump_21)
package princessdiane_fla {
import flash.display.*;
public dynamic class jump_21 extends MovieClip {
public function jump_21(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package princessdiane_fla
Section 21
//MainTimeline (princessdiane_fla.MainTimeline)
package princessdiane_fla {
import flash.events.*;
import fl.transitions.easing.*;
import fl.transitions.*;
import flash.display.*;
public dynamic class MainTimeline extends MovieClip {
public var jumpbtn:MovieClip;
public var bounce:MovieClip;
public var RESETbtn:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1);
}
public function MCOUT(_arg1:MouseEvent):void{
var _local2:Tween;
var _local3:Tween;
jumpbtn.gotoAndPlay(nextFrame);
_local2 = new Tween(jumpbtn, "scaleX", Elastic.easeOut, 1.5, 1, 1, true);
_local3 = new Tween(jumpbtn, "scaleY", Elastic.easeOut, 1.15, 1, 1, true);
}
public function MCOVER2(_arg1:MouseEvent):void{
var _local2:Tween;
var _local3:Tween;
RESETbtn.mouseChildren = false;
RESETbtn.gotoAndPlay(nextFrame);
_local2 = new Tween(RESETbtn, "scaleX", Elastic.easeOut, 1, 1.15, 1, true);
_local3 = new Tween(RESETbtn, "scaleY", Elastic.easeOut, 1, 1.15, 1, true);
}
public function clickHandlers(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler2);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler3);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler4);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler5);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler6);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler7);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler8);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler9);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler10);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler11);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler12);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler13);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler14);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler15);
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler16);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler);
bounce.gotoAndPlay("full");
}
public function clickHandler12(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler12);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler13);
bounce.gotoAndPlay("hit12");
}
public function clickHandler13(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler13);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler14);
bounce.gotoAndPlay("hit13");
}
public function clickHandler14(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler14);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler15);
bounce.gotoAndPlay("hit14");
}
public function clickHandler10(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler10);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler11);
bounce.gotoAndPlay("hit10");
}
public function clickHandler16(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler16);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler);
bounce.gotoAndPlay("start");
}
public function MCOUT2(_arg1:MouseEvent):void{
var _local2:Tween;
var _local3:Tween;
RESETbtn.gotoAndPlay(nextFrame);
_local2 = new Tween(RESETbtn, "scaleX", Elastic.easeOut, 1.5, 1, 1, true);
_local3 = new Tween(RESETbtn, "scaleY", Elastic.easeOut, 1.15, 1, 1, true);
}
public function MCOVER(_arg1:MouseEvent):void{
var _local2:Tween;
var _local3:Tween;
jumpbtn.mouseChildren = false;
jumpbtn.gotoAndPlay(nextFrame);
_local2 = new Tween(jumpbtn, "scaleX", Elastic.easeOut, 1, 1.15, 1, true);
_local3 = new Tween(jumpbtn, "scaleY", Elastic.easeOut, 1, 1.15, 1, true);
}
function frame1(){
RESETbtn.addEventListener(MouseEvent.CLICK, clickHandlers);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler);
jumpbtn.addEventListener(MouseEvent.MOUSE_OVER, MCOVER);
jumpbtn.addEventListener(MouseEvent.MOUSE_OUT, MCOUT);
RESETbtn.addEventListener(MouseEvent.MOUSE_OVER, MCOVER2);
RESETbtn.addEventListener(MouseEvent.MOUSE_OUT, MCOUT2);
}
public function clickHandler11(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler11);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler12);
bounce.gotoAndPlay("hit11");
}
public function clickHandler15(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler15);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler16);
bounce.gotoAndPlay("hit15");
}
public function clickHandler(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler2);
bounce.gotoAndPlay("hit1");
}
public function clickHandler2(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler2);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler3);
bounce.gotoAndPlay("hit2");
}
public function clickHandler3(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler3);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler4);
bounce.gotoAndPlay("hit3");
}
public function clickHandler4(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler4);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler5);
bounce.gotoAndPlay("hit4");
}
public function clickHandler5(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler5);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler6);
bounce.gotoAndPlay("hit5");
}
public function clickHandler6(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler6);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler7);
bounce.gotoAndPlay("hit6");
}
public function clickHandler7(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler7);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler8);
bounce.gotoAndPlay("hit7");
}
public function clickHandler8(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler8);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler9);
bounce.gotoAndPlay("hit8");
}
public function clickHandler9(_arg1:MouseEvent):void{
jumpbtn.removeEventListener(MouseEvent.CLICK, clickHandler9);
jumpbtn.addEventListener(MouseEvent.CLICK, clickHandler10);
bounce.gotoAndPlay("hit9");
}
}
}//package princessdiane_fla
Section 22
//RESET_22 (princessdiane_fla.RESET_22)
package princessdiane_fla {
import flash.display.*;
public dynamic class RESET_22 extends MovieClip {
public function RESET_22(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package princessdiane_fla