STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228066
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/10892928?noj=FRM10892928-27DC" width="1" height="1"></div>

LIMITED - Simpson Week wrap-up bonus by Flek-Lola.swf

This is the info page for
Flash #207155

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS3]
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
//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 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
//MainTimeline (marge_golf_fla.MainTimeline) package marge_golf_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 wheel:MovieClip; public var flower:MovieClip; public var bird:MovieClip; public var iSpinSpeed; public var tweenX:Tween; public var tweenY:Tween; public var tweenR:Tween; public function MainTimeline(){ addFrameScript(0, frame1); } public function mouseClicked(_arg1:MouseEvent):void{ if (_arg1.target.name == "wheel"){ if (iSpinSpeed == 0){ iSpinSpeed = 1; bird.windmill.alpha = 0; bird.windmill2.alpha = 1; } else { if (iSpinSpeed == 1){ iSpinSpeed = 2; tweenX = new Tween(bird, "x", Regular.easeIn, 0, -400, 1.5, true); tweenX.FPS = 40; tweenY = new Tween(bird, "y", Strong.easeIn, 0, -200, 1.5, true); tweenY.FPS = 40; tweenR = new Tween(flower, "rotation", Strong.easeIn, 0, -75, 3, true); tweenR.FPS = 40; }; }; }; } function frame1(){ stop(); iSpinSpeed = 0; stage.addEventListener(MouseEvent.CLICK, mouseClicked); } } }//package marge_golf_fla

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:Timeline
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:Timeline
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:16
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:14 15
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:14 15
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14 15
Symbol 14 MovieClipUses:9 11 13Used by:16
Symbol 15 MovieClipUses:9 11 13Used by:16
Symbol 16 MovieClipUses:7 14 15Used by:Timeline
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:Timeline

Instance Names

"flower"Frame 1Symbol 5 MovieClip
"bird"Frame 1Symbol 16 MovieClip
"wheel"Frame 1Symbol 18 MovieClip
"windmill"Symbol 16 MovieClip Frame 1Symbol 14 MovieClip
"windmill2"Symbol 16 MovieClip Frame 1Symbol 15 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 11298 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmln ..."




http://swfchan.com/42/207155/info.shtml
Created: 9/10 -2018 14:38:22 Last modified: 9/10 -2018 14:38:22 Server time: 27/04 -2024 22:24:49