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

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

Floating Image.swf

This is the info page for
Flash #54342

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


Text
The Biasphere

Opens this summer

ActionScript [AS3]

Section 1
//MainTimeline (thebiasphere_fla.MainTimeline) package thebiasphere_fla { import flash.events.*; import flash.display.*; public dynamic class MainTimeline extends MovieClip { public var xvel:Number; public var destinationy:Number; public var destinationx:Number; public var action:String; public var yvel:Number; public var thebiasphere:MovieClip; public function MainTimeline(){ addFrameScript(0, frame1); } public function newvel(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return (((_arg2 - _arg1) / _arg3)); } function frame1(){ thebiasphere = new Globe(); addChild(thebiasphere); this.setChildIndex(thebiasphere, 0); thebiasphere.x = (stage.stageWidth / 2); thebiasphere.y = (stage.stageHeight / 2); action = "down"; xvel = 0; yvel = 0; destinationx = (Math.random() * stage.stageWidth); destinationy = (Math.random() * stage.stageHeight); addEventListener(Event.ENTER_FRAME, movearound); } public function movearound(_arg1:Event):void{ if ((((thebiasphere.width < 200)) || ((thebiasphere.height < 105.6)))){ thebiasphere.width = 200; thebiasphere.height = 105.6; action = "up"; }; if ((((thebiasphere.width > 800)) || ((thebiasphere.height > 422.4)))){ thebiasphere.width = 800; thebiasphere.height = 422.4; action = "down"; }; if ((((thebiasphere.x > (destinationx - 5))) && ((thebiasphere.x < (destinationx + 5))))){ destinationx = (Math.random() * stage.stageWidth); }; if ((((thebiasphere.y > (destinationy - 5))) && ((thebiasphere.y < (destinationy + 5))))){ destinationy = (Math.random() * stage.stageHeight); }; switch (action){ case "up": thebiasphere.width = (thebiasphere.width * 1.001); thebiasphere.height = (thebiasphere.height * 1.001); break; case "down": thebiasphere.width = (thebiasphere.width / 1.001); thebiasphere.height = (thebiasphere.height / 1.001); break; }; xvel = newvel(thebiasphere.x, destinationx, 75); yvel = newvel(thebiasphere.y, destinationy, 75); thebiasphere.x = (thebiasphere.x + xvel); thebiasphere.y = (thebiasphere.y + yvel); } } }//package thebiasphere_fla
Section 2
//Globe (Globe) package { import flash.display.*; public dynamic class Globe extends MovieClip { } }//package

Library Items

Symbol 1 BitmapUsed by:4
Symbol 2 BitmapUsed by:4
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:1 2 3Used by:5
Symbol 5 MovieClip {Globe}Uses:4
Symbol 6 GraphicUsed by:Timeline
Symbol 7 FontUsed by:8 9
Symbol 8 TextUses:7Used by:Timeline
Symbol 9 TextUses:7Used by:Timeline

Special Tags

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




http://swfchan.com/11/54342/info.shtml
Created: 21/4 -2019 19:29:37 Last modified: 21/4 -2019 19:29:37 Server time: 22/12 -2024 23:48:13