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

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

Spectrum Tunnel.swf

This is the info page for
Flash #69407

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


ActionScript [AS3]
Section 1
//cursorTunnel (cursorTunnel) package { import flash.display.*; import flash.events.*; import flash.ui.*; public class cursorTunnel extends MovieClip { var counter:int;// = 0 var currentRotation:int;// = 0 var newTunnel:tunnel; public function cursorTunnel(){ counter = 0; currentRotation = 0; newTunnel = new tunnel(); super(); init(); } private function init():void{ addEventListener(Event.ENTER_FRAME, always); } private function always(_arg1):void{ if (counter == 0){ Mouse.hide(); }; if ((counter % 2) == 0){ addChild(newTunnel); newTunnel = new tunnel(); }; currentRotation = (currentRotation + 5); counter++; } } }//package
Section 2
//tunnel (tunnel) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class tunnel extends MovieClip { var counter:int;// = 0 var thisColor:ColorTransform; var hasBeenRemoved:Boolean;// = false public function tunnel(){ counter = 0; thisColor = new ColorTransform(); hasBeenRemoved = false; super(); init(); } private function init():void{ this.height = 1; this.width = 1; addEventListener(Event.ENTER_FRAME, always); } private function always(_arg1):void{ if (MovieClip(parent) != null){ if (counter == 0){ resetValues(); counter++; }; rotate(); increaseSize(); }; } private function rotate():void{ this.rotation = (this.rotation - 10); } private function increaseSize():void{ var _local1:int; _local1 = this.rotation; this.rotation = 0; this.height = (this.height * 3); this.width = (this.width * 1.5); handleCleanUp(); if (!hasBeenRemoved){ this.rotation = _local1; }; } private function resetValues():void{ this.rotation = MovieClip(parent).currentRotation; this.x = ((MovieClip(parent).mouseX + (Math.random() * 7)) - 3.5); this.y = ((MovieClip(parent).mouseY + (Math.random() * 7)) - 3.5); thisColor = new ColorTransform(1, 1, 1, 1, ((Math.random() * 510) - 0xFF), ((Math.random() * 510) - 0xFF), ((Math.random() * 510) - 0xFF)); this.transform.colorTransform = thisColor; } private function handleCleanUp():void{ if ((((this.height >= (MovieClip(parent).stage.stageHeight * 100))) && ((this.width >= (MovieClip(parent).stage.stageWidth * 100))))){ cleanUp(); }; } private function cleanUp():void{ hasBeenRemoved = true; removeEventListener(Event.ENTER_FRAME, always); MovieClip(parent).removeChild(this); } } }//package

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip {tunnel}Uses:1

Special Tags

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




http://swfchan.com/14/69407/info.shtml
Created: 10/4 -2019 11:28:59 Last modified: 10/4 -2019 11:28:59 Server time: 14/11 -2024 06:36:33