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

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

Upyachka_mp3player_gskin.swf

This is the info page for
Flash #233418

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


Text
...

00:00



ActionScript [AS1/AS2]

Frame 1
function loadData(success) { if (success) { showDisplay = this.firstChild.attributes.showDisplay; if (showDisplay == "yes") { top.easeY(toppos); topup = false; display_btn._rotation = display_btn._rotation + 180; } showPlaylist = this.firstChild.attributes.showPlaylist; if (showPlaylist == "yes") { bot.easeY(botpos); botup = false; list_btn._rotation = list_btn._rotation + 180; } aPath = new Array(); songTitel = new Array(); audioTracks = new Array(); audioTracks.shuffle(); audioTracks = this.firstChild.childNodes; song_total = audioTracks.length; var _local2 = 0; while (_local2 < song_total) { aPath.push(audioTracks[_local2].attributes.path); songTitel.push(audioTracks[_local2].attributes.title); bot.playlist.btn.duplicateMovieClip("btn" + _local2, _local2); bot.playlist["btn" + _local2]._y = (bot.playlist.btn._y + (_local2 * int(bot.playlist.btn._height))) + _local2; bot.playlist["btn" + _local2].txt = (checkDigits(_local2 + 1) + ". ") + songTitel[_local2]; bot.playlist["btn" + _local2].hit.onPress = function () { listClick(this._parent.getDepth() + 1); }; _local2++; } autoStart = this.firstChild.attributes.autoStart; if (autoStart == "yes") { playSong(); play_btn._visible = 0; } else if (autoStart == "no") { play_btn._visible = 1; pause_btn._visible = 0; } else if (autoStart == "random") { current_song = random(song_total) + 1; playSong(); play_btn._visible = 0; } else { current_song = int(this.firstChild.attributes.autoStart); playSong(); play_btn._visible = 0; } } delete audioTracks; delete data_xml; } function listClick(prm) { delete pausepos; current_song = prm; MySound.stop(); playSong(); } function playSong() { AudioPath = aPath[current_song - 1]; if (pausePos > 0) { top.equalizer._visible = 1; MySound.start(pausePos, 0); pausePos = 0; } else { MySound = new Sound(); MySound.loadSound(AudioPath, true); MySound.setPan(0); MySound.setVolume(volume); MySound.onSoundComplete = function () { top.equalizer._visible = 0; if (autoStart == "random") { current_song = random(song_total) + 1; } else { ((current_song == song_total) ? ((current_song = 1)) : (current_song++)); } playSong(); }; top.track_load.onEnterFrame = function () { total = this._parent._parent.MySound.getBytesTotal(); geladen = this._parent._parent.MySound.getBytesLoaded(); if (geladen != total) { this._parent.load_display = Math.round((geladen * 100) / total) + "% Loaded"; this._xscale = Math.round((geladen * 100) / total); return(undefined); } this._xscale = 100; top.equalizer._visible = 1; delete this.onEnterFrame; delete this._parent.load_display; }; } play_btn._visible = 0; pause_btn._visible = 1; } function checkDigits(toCheck) { var _local1 = toCheck; if (_local1 < 10) { _local1 = "0" + _local1; } return(_local1); } function scrollTitle() { top.title.txt.autoSize = true; if (songTitel[current_song - 1].length > 20) { top.title.txt.text = (songTitel[current_song - 1] + " ") + songTitel[current_song - 1]; ((((top.title._x + (top.title._width / 2)) + 4) < top.title_mask._x) ? ((top.title._x = top.title_mask._x)) : (top.title._x--)); return(undefined); } top.title.txt.text = songTitel[current_song - 1]; top.title._x = top.title_mask._x - 3; } ((_root.playlist == undefined) ? ((playlist = "audio.xml")) : ((playlist = _root.playlist))); Stage.showMenu = false; Stage.scaleMode = "noScale"; stop(); if (_root.volume == undefined) { volume = 90; } else { if (_root.volume > 100) { volume = 100; } vol_front._width = (vol_mask._width * volume) / 100; volume = _root.volume; } current_song = 1; top.equalizer._visible = 0; data_xml = new XML(); data_xml.ignoreWhite = true; data_xml.onLoad = loadData; data_xml.load(playlist); bot.list_bg.onEnterFrame = function () { if (hitTest(_root._xmouse, _root._ymouse, true) && (this._parent.playlist._height > this._height)) { ymin = (this._y + this._height) - this._parent.playlist._height; ymax = this._y + 3; conv = ((this._ymouse - 15) * 1.3) / this._height; ((conv > 1) ? ((conv = 1)) : null); ((conv < 0) ? ((conv = 0)) : null); this._parent.playlist.easeY(ymax - (conv * (ymax - ymin))); } }; bot.playlist.setMask(bot.list_bg); play_btn.onRelease = function () { playSong(); }; pause_btn.onRelease = function () { this._visible = 0; play_btn._visible = 1; pausePos = MySound.position / 1000; MySound.stop(); top.equalizer._visible = 0; }; next_btn.onRelease = function () { delete pausepos; ((current_song == song_total) ? ((current_song = 1)) : (current_song++)); MySound.stop(); playSong(); }; prev_btn.onRelease = function () { delete pausepos; ((current_song == 1) ? ((current_song = song_total)) : (current_song--)); MySound.stop(); playSong(); }; top.setMask(top_mask); toppos = top._y; top._y = int((toppos + top_mask._height) - 29); topup = true; display_btn.onPress = function () { if (topup == true) { top.easeY(toppos); topup = false; } else { top.easeY(int((toppos + top_mask._height) - 27)); topup = true; } this._rotation = this._rotation + 180; }; bot.setMask(bot_mask); botpos = bot._y; bot._y = (botpos - bot.list_bg._height) - 6; botup = true; list_btn.onPress = function () { if (botup == true) { bot.easeY(botpos); botup = false; } else { bot.easeY((botpos - bot.list_bg._height) - 6); botup = true; } this._rotation = this._rotation + 180; }; drag_btn.onPress = function () { startDrag (this._parent); }; drag_btn.onRelease = (drag_btn.onReleaseOutside = function () { stopDrag(); }); copy.onPress = function () { getURL ("http://www.oldupyachka.ru/", "_blank"); }; this.onEnterFrame = function () { dur = int(MySound.duration / 1000); pos = int(MySound.position / 1000); playTime = {}; playTime.minutes = int(pos / 60); playTime.seconds = int(pos % 60); playTime.total = (checkDigits(playTime.minutes) + ":") + checkDigits(playTime.seconds); trackTime = {}; trackTime.minutes = int(dur / 60); trackTime.seconds = int(dur % 60); trackTime.total = (checkDigits(trackTime.minutes) + ":") + checkDigits(trackTime.seconds); if (top.load_display == undefined) { top.display = (playTime.total + " / ") + trackTime.total; } else { top.display = top.load_display; } if (top.trackDrag != true) { prozent = (pos * 100) / dur; top.track_play._xscale = prozent; } }; top.track_back.onPress = function () { this._parent.trackDrag = true; this._parent.track_play.onEnterFrame = function () { perc = (this._parent._xmouse - this._parent.track_back._x) / this._parent.track_back._width; max = this._parent.track_load._width / this._parent.track_back._width; ((perc > max) ? ((perc = max)) : null); ((perc < 0.01) ? ((perc = 0.01)) : null); this._width = this._parent.track_back._width * perc; this._parent._parent.pausePos = (perc * this._parent._parent.MySound.duration) / 1000; }; }; top.track_back.onRelease = (top.track_back.onReleaseOutside = function () { delete this._parent.track_play.onEnterFrame; this._parent.trackDrag = false; MySound.stop(); playSong(); }); vol_back.onPress = function () { vol_front.onEnterFrame = function () { perc = (_xmouse - vol_back._x) / vol_back._width; ((perc > 0.95) ? ((perc = 1)) : null); ((perc < 0.05) ? ((perc = 0)) : null); this._width = vol_back._width * perc; volume = Math.round(perc * 100); MySound.setVolume(volume); top.equalizer._yscale = volume; }; }; vol_back.onRelease = (vol_back.onReleaseOutside = function () { delete vol_front.onEnterFrame; }); vol_front.setMask(vol_mask); top.equalizer.setMask(top.eq_mask); top.equalizer.onEnterFrame = function () { i++; this.createEmptyMovieClip("graph" + i, i); with (this["graph" + i]) { _x = 0; _y = 0; beginFill(16777215, 50); moveTo(0, 0); j = 0; while (j < 36) { z = random(12) + 8; lineTo(j * 6, -1); lineTo(j * 6, -z); lineTo((j * 6) + 4, -z); lineTo((j * 6) + 4, -1); lineTo(j * 6, -1); j++; } lineTo(j * 6, 0); lineTo(0, 0); endFill(); } ((i >= 3) ? ((i = 0)) : null); }; top.title.setMask(top.title_mask); setInterval(scrollTitle, 40); MovieClip.prototype.easeY = function (t) { this.onEnterFrame = function () { this._y = int(t - ((t - this._y) / 1.5)); if ((this._y > (t - 1)) && (this._y < (t + 1))) { delete this.onEnterFrame; } }; };

Library Items

Symbol 1 GraphicUsed by:2 31 60
Symbol 2 MovieClipUses:1Used by:27 43  Timeline
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:27
Symbol 5 GraphicUsed by:17 32 57
Symbol 6 GraphicUsed by:16
Symbol 7 BitmapUsed by:8 9 10 11 12 13 14 15
Symbol 8 GraphicUses:7Used by:16
Symbol 9 GraphicUses:7Used by:16
Symbol 10 GraphicUses:7Used by:16
Symbol 11 GraphicUses:7Used by:16
Symbol 12 GraphicUses:7Used by:16
Symbol 13 GraphicUses:7Used by:16
Symbol 14 GraphicUses:7Used by:16
Symbol 15 GraphicUses:7Used by:16
Symbol 16 MovieClipUses:6 8 9 10 11 12 13 14 15Used by:17
Symbol 17 MovieClipUses:5 16Used by:27
Symbol 18 GraphicUsed by:22
Symbol 19 GraphicUsed by:22
Symbol 20 GraphicUsed by:22
Symbol 21 GraphicUsed by:22 63
Symbol 22 ButtonUses:18 19 20 21Used by:25
Symbol 23 FontUsed by:24 28
Symbol 24 EditableTextUses:23Used by:25
Symbol 25 MovieClipUses:22 24Used by:26
Symbol 26 MovieClipUses:25Used by:27
Symbol 27 MovieClipUses:4 17 2 26Used by:Timeline
Symbol 28 EditableTextUses:23Used by:Timeline
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:43
Symbol 31 MovieClipUses:1Used by:43
Symbol 32 MovieClipUses:5Used by:43
Symbol 33 FontUsed by:34
Symbol 34 EditableTextUses:33Used by:43
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:43
Symbol 37 FontUsed by:38
Symbol 38 EditableTextUses:37Used by:39
Symbol 39 MovieClipUses:38Used by:43
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:43
Symbol 42 MovieClipUsed by:43
Symbol 43 MovieClipUses:30 31 32 34 36 2 39 41 42Used by:Timeline
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:46
Symbol 46 MovieClipUses:45Used by:Timeline
Symbol 47 GraphicUsed by:50
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 ButtonUses:47 48 49Used by:Timeline
Symbol 51 GraphicUsed by:54
Symbol 52 GraphicUsed by:54
Symbol 53 GraphicUsed by:54
Symbol 54 ButtonUses:51 52 53Used by:Timeline
Symbol 55 GraphicUsed by:57
Symbol 56 GraphicUsed by:57
Symbol 57 ButtonUses:55 56 5Used by:Timeline
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:Timeline
Symbol 60 MovieClipUses:1Used by:Timeline
Symbol 61 GraphicUsed by:63
Symbol 62 GraphicUsed by:63
Symbol 63 ButtonUses:61 62 21Used by:Timeline

Instance Names

"top_mask"Frame 1Symbol 2 MovieClip
"bot_mask"Frame 1Symbol 2 MovieClip
"bot"Frame 1Symbol 27 MovieClip
"top"Frame 1Symbol 43 MovieClip
"mid"Frame 1Symbol 46 MovieClip
"prev_btn"Frame 1Symbol 50 Button
"next_btn"Frame 1Symbol 50 Button
"play_btn"Frame 1Symbol 54 Button
"pause_btn"Frame 1Symbol 57 Button
"vol_back"Frame 1Symbol 59 MovieClip
"vol_front"Frame 1Symbol 60 MovieClip
"vol_mask"Frame 1Symbol 59 MovieClip
"list_btn"Frame 1Symbol 63 Button
"display_btn"Frame 1Symbol 63 Button
"hit"Symbol 25 MovieClip Frame 1Symbol 22 Button
"btn   _txt"Symbol 25 MovieClip Frame 1Symbol 24 EditableText
"btn"Symbol 26 MovieClip Frame 1Symbol 25 MovieClip
"list_grad"Symbol 27 MovieClip Frame 1Symbol 17 MovieClip
"list_bg"Symbol 27 MovieClip Frame 1Symbol 2 MovieClip
"playlist"Symbol 27 MovieClip Frame 1Symbol 26 MovieClip
"txt"Symbol 39 MovieClip Frame 1Symbol 38 EditableText
"track_load"Symbol 43 MovieClip Frame 1Symbol 31 MovieClip
"track_play"Symbol 43 MovieClip Frame 1Symbol 32 MovieClip
"time_txt"Symbol 43 MovieClip Frame 1Symbol 34 EditableText
"eq_mask"Symbol 43 MovieClip Frame 1Symbol 36 MovieClip
"title_mask"Symbol 43 MovieClip Frame 1Symbol 2 MovieClip
"title"Symbol 43 MovieClip Frame 1Symbol 39 MovieClip
"track_back"Symbol 43 MovieClip Frame 1Symbol 41 MovieClip
"equalizer"Symbol 43 MovieClip Frame 1Symbol 42 MovieClip

Dynamic Text Variables

txtSymbol 24 EditableText"... "
displaySymbol 34 EditableText"00:00 "




http://swfchan.com/47/233418/info.shtml
Created: 18/3 -2020 08:27:11 Last modified: 18/3 -2020 08:27:11 Server time: 21/05 -2024 19:34:14