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

swfchan turned sixteen years old today! (5may2024)

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

Staring Back.swf

This is the info page for
Flash #146204

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


Text
Depth of Field

ActionScript [AS3]

Section 1
//Loadspin_2 (ottermirror_fla.Loadspin_2) package ottermirror_fla { import flash.display.*; public dynamic class Loadspin_2 extends MovieClip { public function Loadspin_2(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ spin(); } public function spin():void{ rotation = (rotation + 4); } function frame2(){ spin(); } } }//package ottermirror_fla
Section 2
//Main_1 (ottermirror_fla.Main_1) package ottermirror_fla { import flash.display.*; public dynamic class Main_1 extends MovieClip { public var barmc:MovieClip; } }//package ottermirror_fla
Section 3
//MainTimeline (ottermirror_fla.MainTimeline) package ottermirror_fla { import flash.events.*; 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.utils.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var fgmc:MovieClip; public var mainmask:MovieClip; public var mirrorbg:MovieClip; public var option1:ContextMenuItem; public var option2:ContextMenuItem; public var option4:ContextMenuItem; public var option5:ContextMenuItem; public var option3:ContextMenuItem; public var moving; public var innermc:MovieClip; public var ythis; public var trackermc:MovieClip; public var xmid; public var newy; public var depthbut:SimpleButton; public var newx; public var loadermc:MovieClip; public var mirrorshine:MovieClip; public var xthis; public var mirrorback:MovieClip; public var ymid; public var debugtxt:TextField; public var blurallow; public var stage_width; public var mistmc:MovieClip; public var outermc:MovieClip; public var customContextMenu:ContextMenu; public var bluramount; public var stage_height; public var mirrormc:MovieClip; public var thisx; public var main:MovieClip; public var addx; public var addy; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2); } public function option3down(_arg1:ContextMenuEvent):void{ stage.quality = "MEDIUM"; } public function stageup(_arg1:MouseEvent):void{ moving = false; } function frame1(){ stop(); loadermc.addEventListener(Event.ENTER_FRAME, loaderupdate); stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP; option1 = new ContextMenuItem("and Kei"); option2 = new ContextMenuItem("Quality = Low"); option3 = new ContextMenuItem("Quality = Medium"); option4 = new ContextMenuItem("Quality = High"); option5 = new ContextMenuItem("Made by Otter"); 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); option5.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, option5down); customContextMenu = new ContextMenu(); customContextMenu.hideBuiltInItems(); customContextMenu.customItems.push(option5, option1, option2, option3, option4); this.contextMenu = customContextMenu; option2.enabled = false; option3.enabled = false; option4.enabled = false; } function frame2(){ xmid = 475; ymid = 354.5; stage_width = 950; stage_height = 709; blurallow = true; bluramount = 0; thisx = -50; innermc.alpha = 0; outermc.alpha = 0; trackermc.x = xmid; trackermc.y = ymid; main.x = xmid; main.y = ymid; mainmask.x = xmid; mainmask.y = ymid; mirrormc.x = xmid; mirrormc.y = ymid; mirrorback.x = xmid; mirrorback.y = ymid; mirrorbg.x = xmid; mirrorbg.y = ymid; mirrorbg.scaleX = 1.5; xthis = xmid; ythis = ymid; addx = 0; addy = 0; newx = 0; newy = 0; moving = false; trackermc.visible = false; stage.addEventListener(MouseEvent.MOUSE_DOWN, stagedown); stage.addEventListener(MouseEvent.MOUSE_UP, stageup); stage.addEventListener(Event.ENTER_FRAME, update); debugtxt.visible = false; blurallow = false; stage.addEventListener(MouseEvent.MOUSE_OVER, stageover); stage.addEventListener(MouseEvent.MOUSE_OUT, stageout); depthbut.addEventListener(MouseEvent.CLICK, depthclick); } public function option2down(_arg1:ContextMenuEvent):void{ stage.quality = "LOW"; } 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 depthclick(_arg1:MouseEvent):void{ if (blurallow){ blurallow = false; } else { blurallow = true; }; } public function stagedown(_arg1:MouseEvent):void{ moving = true; newx = xthis; newy = ythis; } public function update(_arg1:Event):void{ debugtxt.text = ("" + ((xmid - trackermc.x) / xmid)); if (moving){ xthis = mouseX; ythis = mouseY; }; trackermc.x = (trackermc.x + ((xthis - trackermc.x) / 10)); trackermc.y = (trackermc.y + ((ythis - trackermc.y) / 10)); if (trackermc.x > stage_width){ trackermc.x = stage_width; }; if (trackermc.y > (stage_height - 10)){ trackermc.y = (stage_height - 10); }; if (trackermc.x < 0){ trackermc.x = 0; }; if (trackermc.y < 0){ trackermc.y = 0; }; addx = ((xmid - trackermc.x) / xmid); addy = ((ymid - trackermc.y) / ymid); mainmask.scaleX = (1 - (0.02 * Math.abs(addx))); mainmask.scaleY = (1 - (0.02 * Math.abs(addy))); mirrormc.scaleX = mainmask.scaleX; mirrormc.scaleY = mainmask.scaleY; main.x = (xmid + (xmid * addx)); main.y = (ymid + ((stage_height / 6.5) * addy)); mirrorbg.x = (xmid + ((xmid * 1.5) * addx)); mirrorbg.y = (ymid + ((stage_height / 3.5) * addy)); mirrorshine.x = (xmid + ((xmid / 1.5) * addx)); mirrorback.scaleX = mirrormc.scaleX; mirrorback.scaleY = mirrormc.scaleY; mirrorback.x = (xmid + (5 * addx)); mirrorback.y = (ymid + (5 * addy)); if (!moving){ if (outermc.hitTestPoint(mouseX, mouseY, true)){ bluramount = (bluramount - 1); }; if (innermc.hitTestPoint(mouseX, mouseY, true)){ bluramount = (bluramount + 1); }; }; if (bluramount > 20){ bluramount = 20; }; if (bluramount < 0){ bluramount = 0; }; blurchange(bluramount, bluramount, fgmc); blurchange((20 - bluramount), (20 - bluramount), main); blurchange((20 - bluramount), (20 - bluramount), mirrormc); blurchange((20 - bluramount), (20 - bluramount), mirrorback); blurchange((20 - bluramount), (20 - bluramount), mistmc); depthbut.x = (depthbut.x + ((thisx - depthbut.x) / 10)); } public function stageover(_arg1:MouseEvent):void{ thisx = 38; } public function blurchange(_arg1, _arg2, _arg3){ var _local4:BitmapFilter; var _local5:Array; if (blurallow){ _local4 = new BlurFilter(_arg1, _arg2, BitmapFilterQuality.HIGH); _local5 = new Array(); _local5.push(_local4); _arg3.filters = _local5; } else { _arg3.filters = []; }; } public function option1down(_arg1:ContextMenuEvent):void{ navigateToURL(new URLRequest("http://www.furaffinity.net/user/thatkeiguy/")); } public function option5down(_arg1:ContextMenuEvent):void{ navigateToURL(new URLRequest("http://www.furaffinity.net/user/oceanotter")); } public function option4down(_arg1:ContextMenuEvent):void{ stage.quality = "HIGH"; } public function stageout(_arg1:MouseEvent):void{ thisx = -50; } } }//package ottermirror_fla
Section 4
//Symbol14_6 (ottermirror_fla.Symbol14_6) package ottermirror_fla { import flash.display.*; public dynamic class Symbol14_6 extends MovieClip { public function Symbol14_6(){ addFrameScript(0, frame1); } function frame1(){ y = (y - 2); x = (x + (-3 + (Math.random() * 6))); if (y < -70){ y = -20; x = 8.6; scaleX = (0.1 + (Math.random() * 0.9)); scaleY = scaleX; }; } } }//package ottermirror_fla

Library Items

Symbol 1 GraphicUsed by:17
Symbol 2 GraphicUsed by:17
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:5
Symbol 5 MovieClip {ottermirror_fla.Loadspin_2}Uses:4Used by:17
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:10
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:7 8 9Used by:17
Symbol 11 GraphicUsed by:16
Symbol 12 GraphicUsed by:16 59
Symbol 13 GraphicUsed by:16
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClip {ottermirror_fla.Symbol14_6}Uses:14Used by:16
Symbol 16 MovieClipUses:11 12 13 15Used by:17
Symbol 17 MovieClip {ottermirror_fla.Main_1}Uses:1 2 5 10 16Used by:Timeline
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20 23
Symbol 20 MovieClipUses:19Used by:Timeline
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:Timeline
Symbol 23 MovieClipUses:19Used by:Timeline
Symbol 24 GraphicUsed by:33
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:27
Symbol 27 MovieClipUses:26Used by:33
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:33
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClipUses:31Used by:33
Symbol 33 MovieClipUses:24 27 29 32Used by:Timeline
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:38
Symbol 38 MovieClipUses:37Used by:Timeline
Symbol 39 GraphicUsed by:Timeline
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:42
Symbol 42 MovieClipUses:41Used by:Timeline
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClipUses:44Used by:46
Symbol 46 MovieClipUses:45Used by:Timeline
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:Timeline
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:Timeline
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:Timeline
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:Timeline
Symbol 55 GraphicUsed by:59
Symbol 56 GraphicUsed by:59
Symbol 57 FontUsed by:58
Symbol 58 TextUses:57Used by:59
Symbol 59 ButtonUses:55 56 58 12Used by:Timeline
Symbol 60 FontUsed by:61
Symbol 61 EditableTextUses:60Used by:Timeline

Instance Names

"loadermc"Frame 1Symbol 17 MovieClip {ottermirror_fla.Main_1}
"mainmask"Frame 2Symbol 22 MovieClip
"mirrorbg"Frame 2Symbol 23 MovieClip
"main"Frame 2Symbol 33 MovieClip
"mirrorshine"Frame 2Symbol 35 MovieClip
"mistmc"Frame 2Symbol 38 MovieClip
"mirrorback"Frame 2Symbol 42 MovieClip
"mirrormc"Frame 2Symbol 42 MovieClip
"fgmc"Frame 2Symbol 46 MovieClip
"trackermc"Frame 2Symbol 48 MovieClip
"innermc"Frame 2Symbol 50 MovieClip
"outermc"Frame 2Symbol 52 MovieClip
"depthbut"Frame 2Symbol 59 Button
"debugtxt"Frame 2Symbol 61 EditableText
"barmc"Symbol 17 MovieClip {ottermirror_fla.Main_1} Frame 1Symbol 10 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.




http://swfchan.com/30/146204/info.shtml
Created: 25/7 -2019 06:50:29 Last modified: 25/7 -2019 06:50:29 Server time: 05/05 -2024 23:41:11