Section 1
//Strong (fl.transitions.easing.Strong)
package fl.transitions.easing {
public class Strong {
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 easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _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 {
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
//BGfaces_2 (verticalcomicviewer_fla.BGfaces_2)
package verticalcomicviewer_fla {
import flash.display.*;
public dynamic class BGfaces_2 extends MovieClip {
public function BGfaces_2(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
spin();
}
public function spin():void{
rotation = (rotation + 0.5);
}
function frame2(){
spin();
}
}
}//package verticalcomicviewer_fla
Section 5
//BGspin1_3 (verticalcomicviewer_fla.BGspin1_3)
package verticalcomicviewer_fla {
import flash.display.*;
public dynamic class BGspin1_3 extends MovieClip {
public function BGspin1_3(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
spin();
}
public function spin():void{
rotation = (rotation + 3);
}
function frame2(){
spin();
}
}
}//package verticalcomicviewer_fla
Section 6
//Loadface_7 (verticalcomicviewer_fla.Loadface_7)
package verticalcomicviewer_fla {
import flash.display.*;
public dynamic class Loadface_7 extends MovieClip {
public function Loadface_7(){
addFrameScript(0, frame1);
}
function frame1(){
alpha = (0.4 + (Math.random() * 0.6));
}
}
}//package verticalcomicviewer_fla
Section 7
//Loadspin_4 (verticalcomicviewer_fla.Loadspin_4)
package verticalcomicviewer_fla {
import flash.display.*;
public dynamic class Loadspin_4 extends MovieClip {
public function Loadspin_4(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
spin();
}
public function spin():void{
rotation = (rotation + 4);
}
function frame2(){
spin();
}
}
}//package verticalcomicviewer_fla
Section 8
//Main_1 (verticalcomicviewer_fla.Main_1)
package verticalcomicviewer_fla {
import flash.display.*;
public dynamic class Main_1 extends MovieClip {
public var loadfaces:MovieClip;
public var barmc:MovieClip;
}
}//package verticalcomicviewer_fla
Section 9
//MainTimeline (verticalcomicviewer_fla.MainTimeline)
package verticalcomicviewer_fla {
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.utils.*;
import flash.display.*;
import flash.ui.*;
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.system.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var upbut:MovieClip;
public var downtween:Tween;
public var maxdist;
public var topbut:SimpleButton;
public var sections;
public var option2:ContextMenuItem;
public var option4:ContextMenuItem;
public var option1:ContextMenuItem;
public var i;
public var option3:ContextMenuItem;
public var vertbar:MovieClip;
public var derptxt:TextField;
public var warn:MovieClip;
public var mousein;
public var downbut:MovieClip;
public var tempdist;
public var mousesection;
public var sidemark:MovieClip;
public var main:MovieClip;
public var linevar:Sprite;
public var minusam;
public var customContextMenu:ContextMenu;
public var loadermc:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
public function option3down(_arg1:ContextMenuEvent):void{
stage.quality = "MEDIUM";
}
public function option1down(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest("http://www.furaffinity.net/user/thatkeiguy/"));
}
public function disablebuts():void{
upbut.alpha = 0.5;
upbut.mouseEnabled = false;
downbut.alpha = 0.5;
downbut.mouseEnabled = false;
vertbar.mouseEnabled = false;
topbut.mouseEnabled = false;
}
public function downclick(_arg1:MouseEvent):void{
tempdist++;
disablebuts();
downtween = new Tween(main, "y", Strong.easeInOut, main.y, (40 - (800 * tempdist)), 1, true);
downtween.addEventListener(TweenEvent.MOTION_FINISH, tweendone);
}
public function keypress(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 38){
if (upbut.mouseEnabled){
upbut.dispatchEvent(new MouseEvent(MouseEvent.CLICK, true));
};
};
if (_arg1.keyCode == 40){
if (downbut.mouseEnabled){
downbut.dispatchEvent(new MouseEvent(MouseEvent.CLICK, true));
};
};
}
public function vertclick(_arg1:MouseEvent):void{
if (tempdist != mousesection){
tempdist = mousesection;
disablebuts();
downtween = new Tween(main, "y", Strong.easeInOut, main.y, (40 - (800 * tempdist)), 1, true);
downtween.addEventListener(TweenEvent.MOTION_FINISH, tweendone);
};
}
public function topclick(_arg1:MouseEvent):void{
if (tempdist > 0){
tempdist = 0;
disablebuts();
downtween = new Tween(main, "y", Strong.easeInOut, main.y, (40 - (800 * tempdist)), 1, true);
downtween.addEventListener(TweenEvent.MOTION_FINISH, tweendone);
};
}
public function tweendone(_arg1:TweenEvent):void{
if (tempdist == 0){
upbut.alpha = 0.5;
upbut.mouseEnabled = false;
} else {
upbut.alpha = 1;
upbut.mouseEnabled = true;
};
if (tempdist >= (maxdist - 1)){
downbut.alpha = 0.5;
downbut.mouseEnabled = false;
} else {
downbut.alpha = 1;
downbut.mouseEnabled = true;
};
vertbar.mouseEnabled = true;
topbut.mouseEnabled = true;
}
public function option2down(_arg1:ContextMenuEvent):void{
stage.quality = "LOW";
}
function frame2(){
maxdist = Math.ceil((main.height / 800));
tempdist = 0;
sidemark.x = 410;
sidemark.mouseEnabled = false;
vertbar.buttonMode = true;
upbut.alpha = 0.5;
upbut.mouseEnabled = false;
upbut.intxt.mouseEnabled = false;
upbut.downarr.mouseEnabled = false;
upbut.uparr.mouseEnabled = false;
downbut.intxt.mouseEnabled = false;
downbut.downarr.mouseEnabled = false;
downbut.uparr.mouseEnabled = false;
vertbar.barin.mouseEnabled = false;
upbut.intxt.text = "Page Up";
upbut.downarr.visible = false;
downbut.intxt.text = "Page Down";
downbut.uparr.visible = false;
topbut.addEventListener(MouseEvent.CLICK, topclick);
upbut.addEventListener(MouseEvent.CLICK, upclick);
downbut.addEventListener(MouseEvent.CLICK, downclick);
stage.addEventListener(KeyboardEvent.KEY_UP, keypress);
derptxt.visible = false;
minusam = 0;
if (((main.height / 400) % 2) == 0){
minusam = 800;
} else {
minusam = 400;
};
mousesection = 0;
mousein = false;
stage.addEventListener(Event.ENTER_FRAME, update);
stage.addEventListener(MouseEvent.MOUSE_OVER, stagein);
stage.addEventListener(MouseEvent.MOUSE_OUT, stageout);
vertbar.addEventListener(MouseEvent.CLICK, vertclick);
sections = (880 / ((main.height - minusam) / 800));
i = 0;
while (i < ((main.height - minusam) / 800)) {
linevar = new Sprite();
addChild(linevar);
linevar.graphics.moveTo(401, (0 + (sections * i)));
linevar.graphics.lineStyle(2, 0);
linevar.graphics.lineTo(419, (0 + (sections * i)));
i++;
};
sidemark.scaleY = (1 / (880 / sections));
topbut.x = (topbut.x - 19.5);
warn.visible = false;
warn.warntxt.htmlText = (("<u>Warning:</u>\n" + "Biting\nSmall Bloods") + "\n\n-Click anywhere to continue-");
warn.addEventListener(MouseEvent.CLICK, warnclick);
}
public function option4down(_arg1:ContextMenuEvent):void{
stage.quality = "HIGH";
}
public function stageout(_arg1:MouseEvent):void{
mousein = false;
}
function frame1(){
stop();
loadermc.addEventListener(Event.ENTER_FRAME, loaderupdate);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP;
option1 = new ContextMenuItem("Made by Kei");
option2 = new ContextMenuItem("Quality = Low");
option3 = new ContextMenuItem("Quality = Medium");
option4 = new ContextMenuItem("Quality = High");
option1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, option1down);
option2.separatorBefore = true;
option2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, option2down);
option3.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, option3down);
option4.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, option4down);
customContextMenu = new ContextMenu();
customContextMenu.hideBuiltInItems();
customContextMenu.customItems.push(option1, option2, option3, option4);
this.contextMenu = customContextMenu;
option2.enabled = false;
option3.enabled = false;
option4.enabled = false;
}
public function stagein(_arg1:MouseEvent):void{
mousein = true;
}
public function loaderupdate(_arg1:Event):void{
loadermc.barmc.gotoAndStop(Math.floor(((this.stage.loaderInfo.bytesLoaded / this.stage.loaderInfo.bytesTotal) * 100)));
if (this.stage.loaderInfo.bytesLoaded == this.stage.loaderInfo.bytesTotal){
loadermc.removeEventListener(Event.ENTER_FRAME, loaderupdate);
nextFrame();
};
}
public function upclick(_arg1:MouseEvent):void{
tempdist--;
disablebuts();
downtween = new Tween(main, "y", Strong.easeInOut, main.y, (40 - (800 * tempdist)), 1, true);
downtween.addEventListener(TweenEvent.MOTION_FINISH, tweendone);
}
public function warnclick(_arg1:MouseEvent):void{
warn.visible = false;
}
public function update(_arg1:Event):void{
mousesection = Math.ceil((mouseY / sections));
derptxt.text = ((((((((((("Math:\nTempdist: " + tempdist) + "\nMain.y: ") + (main.y - 40)) + "\nMain.height: ") + main.height) + "\nMain Difference: ") + ((main.y - 40) / (main.height - minusam))) + "\nHeight sections: ") + (main.height / 400)) + "\nMouse section: ") + mousesection);
vertbar.barin.scaleY = Math.abs(((main.y - 40) / (main.height - minusam)));
if ((((((((mouseX > 400)) && ((mouseY > 0)))) && ((warn.visible == false)))) && (mousein))){
sidemark.y = (sections * (mousesection - 1));
} else {
sidemark.y = -1000;
};
}
}
}//package verticalcomicviewer_fla
Section 10
//Symbol1copy_10 (verticalcomicviewer_fla.Symbol1copy_10)
package verticalcomicviewer_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Symbol1copy_10 extends MovieClip {
public var intxt:TextField;
public var downarr:MovieClip;
public var uparr:MovieClip;
}
}//package verticalcomicviewer_fla
Section 11
//Symbol4_12 (verticalcomicviewer_fla.Symbol4_12)
package verticalcomicviewer_fla {
import flash.display.*;
public dynamic class Symbol4_12 extends MovieClip {
public var barin:MovieClip;
}
}//package verticalcomicviewer_fla
Section 12
//Symbol6_16 (verticalcomicviewer_fla.Symbol6_16)
package verticalcomicviewer_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Symbol6_16 extends MovieClip {
public var warntxt:TextField;
}
}//package verticalcomicviewer_fla