STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
A Very Merry Christmas! |
This is the info page for Flash #180249 |
00:00/00:00 |
ActionScript [AS1/AS2]
Frame 1function makeTotalDuration() { var _local2; var _local1; total_seconds = Math.floor((_totalframes - 2) / frame_rate); _local2 = Math.floor(total_seconds / 60); _local1 = total_seconds % 60; total_duration = (((((_local2 < 10) ? "0" : "") + _local2) + ":") + ((_local1 < 10) ? "0" : "")) + _local1; } frame_rate = 12; total_seconds = 0; total_duration = "00:00"; status_playing = true; playbtn._visible = true; pausebtn._visible = false; stopbtn.enabled = false; onEnterFrame = function () { var _local1; var _local3; var _local2; _local1 = Math.floor((_currentframe - 1) / frame_rate); if (_local1 > total_seconds) { _local1 = total_seconds; } _local3 = Math.floor(_local1 / 60); _local2 = _local1 % 60; timeDisp = (((((((_local3 < 10) ? "0" : "") + _local3) + ":") + ((_local2 < 10) ? "0" : "")) + _local2) + "/") + total_duration; }; makeTotalDuration(); gotoAndStop (2); timeSlider.updateThumbPos();Frame 2670status_playing = false; playbtn._visible = true; pausebtn._visible = false; stopbtn.enabled = false; gotoAndStop (2); timeSlider.updateThumbPos();Symbol 13 MovieClip Frame 1function updateVolume() { volvalue = Math.round((vc.maskrc._width * 100) / vc._width); if ((volvalue > 0) && (snd.getVolume() == 0)) { normaltrumpet._visible = true; mutetrumpet._visible = false; } else if ((volvalue == 0) && (snd.getVolume() > 0)) { normaltrumpet._visible = false; mutetrumpet._visible = true; } snd.setVolume(volvalue); } snd = new Sound(); vc.onPress = function () { var _local1 = this; _local1.onEnterFrame = function () { var _local1 = this; if (_local1._xmouse <= 0) { _local1.maskrc._width = 0; } else if (_local1._xmouse > _local1._width) { _local1.maskrc._width = _local1._width; } else { _local1.maskrc._width = _local1._xmouse; } updateVolume(); }; }; vc.onRelease = (vc.onReleaseOutside = function () { delete this.onEnterFrame; }); normaltrumpet.onRelease = function () { vc.maskrc._width = 0; updateVolume(); }; mutetrumpet.onRelease = function () { vc.maskrc._width = vc._width * 0.8; updateVolume(); }; updateVolume();Symbol 19 Buttonon (press) { _parent._parent.stop(); _parent.dragging = true; startDrag (this, true, 0, _y, _parent.maxThumbPos, _y); } on (release, releaseOutside) { stopDrag(); _parent.dragging = false; _parent.setPlayPos(_x); }Symbol 21 MovieClip Frame 1function setPlayPos(thumbPos) { var _local2 = _parent; var _local1 = Math.round((thumbPos / maxThumbPos) * (_local2._totalframes - 2)); _local1 = _local1 + 2; if (_local1 < 2) { _local1 = 2; } else if (_local1 >= _local2._totalframes) { _local1 = _local2._totalframes - 1; } if (_local2.status_playing) { _local2.gotoAndPlay(_local1); } else { _local2.gotoAndStop(_local1); } } function updateThumbPos() { var _local2 = _parent; var _local1 = ((_local2._currentframe - 2) / (_local2._totalframes - 3)) * maxThumbPos; if (_local1 < minThumbPos) { _local1 = minThumbPos; } else if (_local1 > maxThumbPos) { _local1 = maxThumbPos; } thumb._x = _local1; } minThumbPos = 0; maxThumbPos = _width - (thumb._width / 2); dragging = false;Instance of Symbol 20 MovieClip "thumb" in Symbol 21 MovieClip Frame 1onClipEvent (enterFrame) { if ((!_parent.dragging) && (_parent._parent.status_playing)) { _parent.updateThumbPos(); } }Symbol 24 Buttonon (release) { offsetframes = Math.round(_totalframes / 30); if (offsetframes < 3) { offsetframes = 3; } toFrame = _currentframe + offsetframes; if (toFrame >= _totalframes) { toFrame = _totalframes - 1; } if (status_playing) { gotoAndPlay(toFrame); } else { gotoAndStop(toFrame); } timeSlider.updateThumbPos(); }Symbol 25 Buttonon (release) { offsetframes = Math.round(_totalframes / 30); if (offsetframes < 3) { offsetframes = 3; } toFrame = _currentframe - offsetframes; if (toFrame < 2) { toFrame = 2; } if (status_playing) { gotoAndPlay(toFrame); } else { gotoAndStop(toFrame); } timeSlider.updateThumbPos(); }Symbol 26 Buttonon (release) { status_playing = false; playbtn._visible = true; pausebtn._visible = false; stop(); }Symbol 27 Buttonon (release) { status_playing = true; playbtn._visible = false; pausebtn._visible = true; stopbtn.enabled = true; play(); }
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip | Uses:1 | Used by:Timeline |
Symbol 3 Font | Used by:4 | |
Symbol 4 EditableText | Uses:3 | Used by:Timeline |
Symbol 5 Graphic | Used by:7 12 | |
Symbol 6 Graphic | Used by:7 | |
Symbol 7 MovieClip | Uses:5 6 | Used by:13 |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 MovieClip | Uses:8 | Used by:12 |
Symbol 10 Graphic | Used by:11 26 | |
Symbol 11 MovieClip | Uses:10 | Used by:12 |
Symbol 12 MovieClip | Uses:5 9 11 | Used by:13 |
Symbol 13 MovieClip | Uses:7 12 | Used by:Timeline |
Symbol 14 Graphic | Used by:15 | |
Symbol 15 MovieClip | Uses:14 | Used by:21 |
Symbol 16 Graphic | Used by:17 | |
Symbol 17 MovieClip | Uses:16 | Used by:21 |
Symbol 18 Graphic | Used by:19 | |
Symbol 19 Button | Uses:18 | Used by:20 |
Symbol 20 MovieClip | Uses:19 | Used by:21 |
Symbol 21 MovieClip | Uses:15 17 20 | Used by:Timeline |
Symbol 22 Graphic | Used by:24 25 27 | |
Symbol 23 Graphic | Used by:24 25 26 27 | |
Symbol 24 Button | Uses:22 23 | Used by:Timeline |
Symbol 25 Button | Uses:22 23 | Used by:Timeline |
Symbol 26 Button | Uses:10 23 | Used by:Timeline |
Symbol 27 Button | Uses:22 23 | Used by:Timeline |
Streaming Sound 1 | Used by:Timeline |
Instance Names
"timeSlider" | Frame 1 | Symbol 21 MovieClip |
"forbtn" | Frame 1 | Symbol 24 Button |
"backbtn" | Frame 1 | Symbol 25 Button |
"pausebtn" | Frame 1 | Symbol 26 Button |
"playbtn" | Frame 1 | Symbol 27 Button |
"maskrc" | Symbol 12 MovieClip Frame 1 | Symbol 11 MovieClip |
"mutetrumpet" | Symbol 13 MovieClip Frame 1 | Symbol 7 MovieClip |
"normaltrumpet" | Symbol 13 MovieClip Frame 1 | Symbol 7 MovieClip |
"vc" | Symbol 13 MovieClip Frame 1 | Symbol 12 MovieClip |
"bgBar" | Symbol 21 MovieClip Frame 1 | Symbol 15 MovieClip |
"loadBar" | Symbol 21 MovieClip Frame 1 | Symbol 17 MovieClip |
"thumb" | Symbol 21 MovieClip Frame 1 | Symbol 20 MovieClip |
Dynamic Text Variables
timeDisp | Symbol 4 EditableText | "00:00/00:00" |
|