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

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

bounceicles.swf

This is the info page for
Flash #10800

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


Text
Bounceicles:
by GuyFlash

Bounceicles:
by GuyFlash

ActionScript [AS1/AS2]

Frame 1
theNumber = 1; theX = _root._xmouse; theY = _root._ymouse; _global.totalBalls = 7; _global.dragging = false; _global.dragBall = 1; a = 1; while (a < totalBalls) { attachMovie("ball", "ball" + theNumber, theNumber, {_x:(a * 60) + 70, _y:300, XDIF:_root._xmouse - theX, YDIF:_root._ymouse - theY, idNumber:theNumber}); theNumber++; if (theNumber == totalBalls) { theNumber = 1; } a++; } onEnterFrame = function () { Mouse.show(); if (_global.dragging == true) { _root["ball" + _global.dragBall]._x = _root._xmouse; _root["ball" + _global.dragBall]._y = _root._ymouse; _root["ball" + _global.dragBall].XDIF = _root._xmouse - theX; _root["ball" + _global.dragBall].YDIF = _root._ymouse - theY; Mouse.hide(); i = 1; while (i < totalBalls) { if (i != _global.dragBall) { _root["ball" + i].faceMC.gotoAndStop(3); b = _root["ball" + i]._x - _root["ball" + _global.dragBall]._x; c = _root["ball" + i]._y - _root["ball" + _global.dragBall]._y; radians = Math.atan2(c, b); angle = (radians / Math.PI) * 180; _root["ball" + i].faceMC.eyeL._rotation = angle; _root["ball" + i].faceMC.eyeR._rotation = angle; } i++; } } theX = _root._xmouse; theY = _root._ymouse; }; onMouseDown = function () { i = 1; while (i < totalBalls) { a = _root._xmouse - _root["ball" + i]._x; b = _root._ymouse - _root["ball" + i]._y; a = a * a; b = b * b; c = a + b; _root["ball" + i].faceMC.gotoAndStop(1); if (Math.sqrt(c) < 30) { _global.dragBall = i; _global.dragging = true; _root["ball" + i].faceMC.gotoAndStop(2); } i++; } }; onMouseUp = function () { if (_global.dragging == true) { _global.dragging = false; _root["ball" + _global.dragBall].XDIF = _root._xmouse - theX; _root["ball" + _global.dragBall].YDIF = _root._ymouse - theY; _root["ball" + _global.dragBall]._x = _root._xmouse; _root["ball" + _global.dragBall]._y = _root._ymouse; i = 1; while (i < totalBalls) { _root["ball" + i].faceMC.gotoAndStop(1); i++; } } };
Symbol 10 MovieClip Frame 1
stop();
Symbol 13 MovieClip [ball] Frame 1
gravity = 1; this.gotoAndStop(idNumber); onEnterFrame = function () { this._x = this._x + this.XDIF; this._y = this._y + this.YDIF; theHands._x = -(XDIF * 2); theHands._y = -(YDIF * 2); YDIF = YDIF + gravity; XDIF = XDIF - (XDIF / 40); if (YDIF > 20) { YDIF = 20; } if (XDIF > 20) { XDIF = 20; } if (this._x < 25) { this.XDIF = -this.XDIF; this._x = 25; } if (this._x > 525) { this.XDIF = -this.XDIF; this._x = 525; } if (this._y < 25) { this.YDIF = -this.YDIF; this._y = 25; } if (this._y > 375) { this.YDIF = -this.YDIF; this._y = 375; YDIF = YDIF / 2; } i = 1; while (i < totalBalls) { if (idNumber != i) { a = this._x - _root["ball" + i]._x; b = this._y - _root["ball" + i]._y; a = a * a; b = b * b; c = a + b; if (Math.sqrt(c) < 50) { this._x = preX; this._y = preY; XDIF = (-XDIF) - _root["ball" + i].XDIF; YDIF = (-YDIF) - _root["ball" + i].YDIF; _root["ball" + i].XDIF = (-_root["ball" + i].XDIF) - XDIF; _root["ball" + i].YDIF = (-_root["ball" + i].YDIF) - YDIF; faceMC.gotoAndPlay(4); _root["ball" + i].faceMC.gotoAndPlay(4); } } i++; } preX = this._x; preY = this._y; };
Symbol 20 MovieClip Frame 31
stop();

Library Items

Symbol 1 GraphicUsed by:10
Symbol 2 GraphicUsed by:10
Symbol 3 GraphicUsed by:10
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:10
Symbol 6 GraphicUsed by:10
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:1 2 3 5 6 8 9Used by:13
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:13
Symbol 13 MovieClip [ball]Uses:10 12
Symbol 14 GraphicUsed by:Timeline
Symbol 15 FontUsed by:17 18
Symbol 16 FontUsed by:17 18
Symbol 17 TextUses:15 16Used by:19
Symbol 18 TextUses:15 16Used by:19
Symbol 19 MovieClipUses:17 18Used by:20
Symbol 20 MovieClipUses:19Used by:Timeline

Instance Names

"eyeL"Symbol 10 MovieClip Frame 3Symbol 8 MovieClip
"eyeR"Symbol 10 MovieClip Frame 3Symbol 8 MovieClip
"faceMC"Symbol 13 MovieClip [ball] Frame 1Symbol 10 MovieClip
"theHands"Symbol 13 MovieClip [ball] Frame 1Symbol 12 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 13 as "ball"




http://swfchan.com/3/10800/info.shtml
Created: 8/6 -2019 00:37:24 Last modified: 8/6 -2019 00:37:24 Server time: 10/05 -2024 10:24:52