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

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

HAPPY SPRING TIME (contest entry).swf

This is the info page for
Flash #140195

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


ActionScript [AS1/AS2]
Frame 1
scrolling = function () { var _local5 = scrollTrack._height; var _local2 = contentMain._height; var _local4 = scrollFace._height; var _local3 = maskedView._height; var initPosition = ((scrollFace._y = scrollTrack._y)); var initContentPos = contentMain._y; var finalContentPos = ((_local3 - _local2) + initContentPos); var left = scrollTrack._x; var top = scrollTrack._y; var right = scrollTrack._x; var bottom = ((scrollTrack._height - _local4) + scrollTrack._y); var dy = 0; var speed = 10; var moveVal = ((_local2 - _local3) / (_local5 - _local4)); scrollFace.onPress = function () { var _local2 = this._y; startDrag (this, false, left, top, right, bottom); this.onMouseMove = function () { dy = Math.abs(initPosition - this._y); contentMain._y = Math.round(((dy * -1) * moveVal) + initContentPos); }; }; scrollFace.onMouseUp = function () { stopDrag(); delete this.onMouseMove; }; btnUp.onPress = function () { this.onEnterFrame = function () { if ((contentMain._y + speed) < maskedView._y) { if (scrollFace._y <= top) { scrollFace._y = top; } else { scrollFace._y = scrollFace._y - (speed / moveVal); } contentMain._y = contentMain._y + speed; } else { scrollFace._y = top; contentMain._y = maskedView._y; delete this.onEnterFrame; } }; }; btnUp.onDragOut = function () { delete this.onEnterFrame; }; btnUp.onRollOut = function () { delete this.onEnterFrame; }; btnDown.onPress = function () { this.onEnterFrame = function () { if ((contentMain._y - speed) > finalContentPos) { if (scrollFace._y >= bottom) { scrollFace._y = bottom; } else { scrollFace._y = scrollFace._y + (speed / moveVal); } contentMain._y = contentMain._y - speed; } else { scrollFace._y = bottom; contentMain._y = finalContentPos; delete this.onEnterFrame; } }; }; btnDown.onRelease = function () { delete this.onEnterFrame; }; btnDown.onDragOut = function () { delete this.onEnterFrame; }; if (_local2 < _local3) { scrollFace._visible = false; btnUp.enabled = false; btnDown.enabled = false; } else { scrollFace._visible = true; btnUp.enabled = true; btnDown.enabled = true; } }; scrolling();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:Timeline
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:Timeline
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:Timeline
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:Timeline

Instance Names

"maskedView"Frame 1Symbol 2 MovieClip
"contentMain"Frame 1Symbol 5 MovieClip
"scrollTrack"Frame 1Symbol 7 MovieClip
"scrollFace"Frame 1Symbol 9 MovieClip
"btnUp"Frame 1Symbol 11 MovieClip
"btnDown"Frame 1Symbol 13 MovieClip

Special Tags

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




http://swfchan.com/29/140195/info.shtml
Created: 28/10 -2018 00:58:04 Last modified: 28/10 -2018 00:58:04 Server time: 14/05 -2024 07:29:10