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

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

wselennay2.swf

This is the info page for
Flash #243226

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


Text
25%

ActionScript [AS1/AS2]

Frame 1
this.setMask(movieShapeMaskMC);
Frame 3
play();
Frame 4
play();
Frame 5
stop();
Frame 6
gotoAndPlay ("loopstart");
Symbol 9 MovieClip Frame 76
gotoAndPlay ("repeat");
Symbol 4 MovieClip Frame 1
ParamsValue = "<ParamsValue><Bg.Color>0xFFFFFF</Bg.Color><Bg.BgColor>0x000000</Bg.BgColor></ParamsValue>"; ParamsDefine = "<ParamsDefine><Bg.Color caption=\"Color\" type=\"color\" default=\"0xFFFFFF\"/><Bg.BgColor caption=\"Background color\" type=\"color\" default=\"0x000000\"/></ParamsDefine>"; param = new Array(); if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = true; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Bg.Color"] = parseInt(param["Bg.Color"]); } else { param["Bg.Color"] = 16777215 /* 0xFFFFFF */; param["Bg.BgColor"] = 0; } _parent.stop(); var myColor = new Color(loadingCircle); myColor.setRGB(param["Bg.Color"]); bytesDisplay.textColor = param["Bg.Color"];
Symbol 4 MovieClip Frame 2
var siteLoaded = _parent.getBytesLoaded(); var siteTotal = _parent.getBytesTotal(); var percentage = Math.round((siteLoaded / siteTotal) * 100); bytesDisplay.text = percentage; if (siteLoaded >= siteTotal) { gotoAndPlay(_currentframe + 2); }
Symbol 4 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 4 MovieClip Frame 4
stop(); _parent.play();
Symbol 74 MovieClip Frame 1
ParamsValue = "<ParamsValue><Bg.Color>0x000000</Bg.Color><Bg.BgColor>0xFFFFFF</Bg.BgColor></ParamsValue>"; ParamsDefine = "<ParamsDefine><Bg.Color caption=\"Color\" type=\"color\" default=\"0xFFFFFF\"/><Bg.BgColor caption=\"Background color\" type=\"color\" default=\"0x000000\"/></ParamsDefine>"; param = new Array(); if (ParamsValue != null) { paramXML = new XML(ParamsValue); paramXML.ignoreWhite = true; var i = 0; while (i < paramXML.childNodes[0].childNodes.length) { node = paramXML.childNodes[0].childNodes[i]; param[node.nodeName] = node.childNodes[0].nodeValue; i++; } param["Bg.Color"] = parseInt(param["Bg.Color"]); } else { param["Bg.Color"] = 16777215 /* 0xFFFFFF */; param["Bg.BgColor"] = 0; } _parent.stop(); var myColor = new Color(loadingCircle); myColor.setRGB(param["Bg.Color"]); bytesDisplay.textColor = param["Bg.Color"];
Symbol 74 MovieClip Frame 2
var siteLoaded = _parent.getBytesLoaded(); var siteTotal = _parent.getBytesTotal(); var percentage = Math.round((siteLoaded / siteTotal) * 100); bytesDisplay.text = percentage; if (siteLoaded >= siteTotal) { gotoAndPlay(_currentframe + 2); }
Symbol 74 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 74 MovieClip Frame 4
stop(); _parent.play();
Symbol 79 MovieClip Frame 1
stop(); var DrawColor = new Color(this); DrawColor.setRGB(this.SetColor); this.onRollOver = function () { this.gotoAndStop(2); }; this.onRollOut = function () { this.gotoAndStop(1); }; this.onPress = function () { this.gotoAndStop(3); };
Symbol 83 MovieClip Frame 1
stop(); var DrawColor = new Color(this); DrawColor.setRGB(this.SetColor); this.onRollOver = function () { this.gotoAndStop(2); }; this.onRollOut = function () { this.gotoAndStop(1); }; this.onPress = function () { this.gotoAndStop(3); };
Symbol 88 MovieClip Frame 1
stop(); var i = 0; while (i < 6) { this["EffectBar" + i]._visible = true; this["EffectBar" + i]._yscale = 100; this["EffectBar" + i].onEnterFrame = function () { }; i++; } LoadingTextPrecent._visible = false; var DrawColor = new Color(this); DrawColor.setRGB(this.SetColor);
Symbol 88 MovieClip Frame 29
stop(); var i = 0; while (i < 6) { this["EffectBar" + i]._visible = true; this["EffectBar" + i].onEnterFrame = function () { var _local1 = this; _local1._yscale = _local1._yscale - ((_local1._yscale - (random(80) + 20)) / 2); }; i++; } LoadingTextPrecent._visible = false; var DrawColor = new Color(this); DrawColor.setRGB(this.SetColor);
Symbol 88 MovieClip Frame 50
stop(); var i = 0; while (i < 6) { this["EffectBar" + i]._visible = false; i++; } LoadingTextPrecent._visible = true; LoadingTextPrecent.text = this.CurLoadedPercent + "%"; var DrawColor = new Color(this); DrawColor.setRGB(this.SetColor);
Symbol 89 MovieClip Frame 1
ParamsValue = "<ParamsValue><Py.MovieFPS>12</Py.MovieFPS><Py.PlayPercent>0</Py.PlayPercent><Py.Autostart>No</Py.Autostart><Py.Loop>No</Py.Loop><Py.Shuffle>No</Py.Shuffle><Py.BasicColor>0x808080</Py.BasicColor><Py.EffectColor>0x808080</Py.EffectColor></ParamsValue>"; MAXWAITFRAME = 60; GlobalInner = true; GlobalXMLTrackList = "<player><playlist><track><file>01 - \u0422\u0430\u0439\u043D\u0430.swf</file><title>\u0422\u0430\u0439\u043D\u0430</title><artist>\u0414\u0438\u0434\u044E\u043B\u044F</artist><album>\u041F\u0435\u0449\u0435\u0440\u043D\u044B\u0439 \u0433\u043E\u0440\u043E\u0434 \u0418\u043D\u043A\u0435\u0440\u043C\u0430\u043D</album></track></playlist></player>\r\n"; function ReadParams() { GlobalPlayerOptions["Py.Loop"] = "Yes"; GlobalPlayerOptions["Py.Autostart"] = "Yes"; GlobalPlayerOptions["Py.Shuffle"] = "No"; GlobalPlayerOptions["Py.BasicColor"] = 16744448 /* 0xFF8000 */; GlobalPlayerOptions["Py.TextColor"] = 16744448 /* 0xFF8000 */; GlobalPlayerOptions["Py.EffectColor"] = 16744448 /* 0xFF8000 */; GlobalPlayerOptions["Py.LightColor"] = 8421440 /* 0x808040 */; GlobalPlayerOptions["Py.PlaylistTimeout"] = 36; GlobalPlayerOptions["Py.PlayPercent"] = 10; GlobalPlayerOptions["Py.MovieFPS"] = 12; if (ParamsValue != null) { var _local3 = new XML(ParamsValue); _local3.ignoreWhite = true; var _local2 = 0; while (_local2 < _local3.childNodes[0].childNodes.length) { var _local1 = _local3.childNodes[0].childNodes[_local2]; GlobalPlayerOptions[_local1.nodeName] = _local1.childNodes[0].nodeValue; _local2++; } GlobalPlayerOptions["Py.BasicColor"] = parseInt(GlobalPlayerOptions["Py.BasicColor"]); GlobalPlayerOptions["Py.LightColor"] = parseInt(GlobalPlayerOptions["Py.LightColor"]); GlobalPlayerOptions["Py.TextColor"] = parseInt(GlobalPlayerOptions["Py.TextColor"]); GlobalPlayerOptions["Py.EffectColor"] = parseInt(GlobalPlayerOptions["Py.EffectColor"]); GlobalPlayerOptions["Py.PlaylistTimeout"] = parseInt(GlobalPlayerOptions["Py.PlaylistTimeout"]); GlobalPlayerOptions["Py.PlayPercent"] = parseInt(GlobalPlayerOptions["Py.PlayPercent"]); GlobalPlayerOptions["Py.MovieFPS"] = parseInt(GlobalPlayerOptions["Py.MovieFPS"]); } } function DrawInit() { var _local1; ReadParams(); BtnPlayMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; BtnNextMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; BtnPauseMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; BtnPrevMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; BtnStopMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; VolumeSlideMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; VolumeBarMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; ProgressSlideMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; ProgressBarMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; EffectMC.SetColor = GlobalPlayerOptions["Py.EffectColor"]; BackgroundMC.SetColor = GlobalPlayerOptions["Py.BasicColor"]; _local1 = new Color(TextTitle); _local1.setRGB(GlobalPlayerOptions["Py.TextColor"]); _local1 = new Color(TextTime); _local1.setRGB(GlobalPlayerOptions["Py.TextColor"]); var _local2 = new Sound(); _local2.setVolume(0); } function DrawAtItem() { var TotalTime; TextTitle.text = ""; if (GlobalPlayList[GlobalCurItem - 1][1] != undefined) { TextTitle.text = GlobalPlayList[GlobalCurItem - 1][1]; } if (GlobalPlayList[GlobalCurItem - 1][2] != undefined) { TextTitle.text = (TextTitle.text + " ") + GlobalPlayList[GlobalCurItem - 1][2]; } if (GlobalPlayList[GlobalCurItem - 1][3] != undefined) { TextTitle.text = (TextTitle.text + " ") + GlobalPlayList[GlobalCurItem - 1][3]; } if (TextTitle.text == "") { TextTitle.text = GlobalPlayList[GlobalCurItem - 1][0]; } TextTitle.hscroll = 0; if (TextTitle.maxhscroll > 0) { TextTitle.text = (TextTitle.text + " ") + TextTitle.text; } DrawTime(); ProgressSlideMC._x = ProgressBarMC._x; ProgressBarMC.ProgressLevel = 0; PlayListObj.selectedIndex = GlobalCurItem - 1; } function DrawEffect(State, CurLoadedPercent) { if (State == 0) { EffectMC.CurLoadedPercent = CurLoadedPercent; EffectMC.gotoAndPlay("Loading"); } else if (State == 1) { EffectMC.gotoAndPlay("Playing"); } else { EffectMC.gotoAndPlay("Stop"); } } function CheckMusicValid(Item) { return(true); } function GetCurrentFrame(Item) { var _local2 = Item; var _local1; switch (GlobalItemType[_local2]) { case 0 : _local1 = GlobalItemObject[_local2]._currentframe; break; case 1 : _local1 = GlobalItemObject[_local2].time * GlobalPlayerOptions["Py.MovieFPS"]; break; case 2 : _local1 = (GlobalItemObject[_local2].position / 1000) * GlobalPlayerOptions["Py.MovieFPS"]; } return(_local1); } function GetTotalFrames(Item) { var _local2 = Item; var _local1; switch (GlobalItemType[_local2]) { case 0 : _local1 = GlobalItemObject[_local2]._totalframes; break; case 1 : _local1 = GlobalItemTotalTime[_local2] * GlobalPlayerOptions["Py.MovieFPS"]; break; case 2 : _local1 = (GlobalItemObject[_local2].duration / 1000) * GlobalPlayerOptions["Py.MovieFPS"]; } return(_local1); } function MusicGetBytesTotal(Item) { var _local1 = Item; var _local2; switch (GlobalItemType[_local1]) { case 0 : _local2 = GlobalItemObject[_local1].getBytesTotal(); break; case 1 : if (((GlobalItemTotalTime[_local1] == 0) || (GlobalItemFailed[_local1])) || (isNaN(GlobalItemObject[_local1].bytesTotal))) { _local2 = 0; break; } _local2 = GlobalItemObject[_local1].bytesTotal; break; case 2 : if (((GlobalItemObject[_local1].duration == 0) || (GlobalItemFailed[_local1])) || (isNaN(GlobalItemObject[_local1].getBytesTotal()))) { _local2 = 0; } else { _local2 = GlobalItemObject[_local1].getBytesTotal(); } } return(_local2); } function MusicGetBytesLoaded(Item) { var _local2 = Item; var _local1; switch (GlobalItemType[_local2]) { case 0 : _local1 = GlobalItemObject[_local2].getBytesLoaded(); break; case 1 : _local1 = GlobalItemObject[_local2].bytesLoaded; break; case 2 : _local1 = GlobalItemObject[_local2].getBytesLoaded(); } return(_local1); } function MusicGotoAndPlay(Item, FramePos) { var _local1 = Item; var _local2 = FramePos; switch (GlobalItemType[_local1]) { case 0 : GlobalItemObject[_local1].gotoAndPlay(_local2); return; case 1 : GlobalItemObject[_local1].seek((_local2 - 1) / GlobalPlayerOptions["Py.MovieFPS"]); GlobalItemObject[_local1].pause(false); return; case 2 : GlobalItemObject[_local1].start((_local2 - 1) / GlobalPlayerOptions["Py.MovieFPS"]); } } function MusicGotoAndStop(Item, FramePos) { var _local1 = Item; var _local2 = FramePos; switch (GlobalItemType[_local1]) { case 0 : GlobalItemObject[_local1].gotoAndStop(_local2); return; case 1 : GlobalItemObject[_local1].seek((_local2 - 1) / GlobalPlayerOptions["Py.MovieFPS"]); GlobalItemObject[_local1].pause(true); return; case 2 : GlobalItemObject[_local1].start((_local2 - 1) / GlobalPlayerOptions["Py.MovieFPS"]); GlobalItemObject[_local1].stop(); } } function MusicPlay(Item) { var _local1 = Item; switch (GlobalItemType[_local1]) { case 0 : GlobalItemObject[_local1].play(); return; case 1 : GlobalItemObject[_local1].pause(false); return; case 2 : GlobalItemObject[_local1].start(GlobalItemObject[_local1].position / 1000); } } function MusicStop(Item) { var _local1 = Item; switch (GlobalItemType[_local1]) { case 0 : GlobalItemObject[_local1].stop(); return; case 1 : GlobalItemObject[_local1].pause(true); return; case 2 : GlobalItemObject[_local1].stop(); } } function DetectEnd(Item) { var _local1 = Item; var _local2 = false; switch (GlobalItemType[_local1]) { case 0 : if (GlobalItemObject[_local1]._currentframe == GlobalItemObject[_local1]._totalframes) { _local2 = true; } break; case 1 : _local2 = GlobalItemFinished[_local1]; if (GlobalItemFinished[_local1]) { GlobalItemFinished[_local1] = false; } break; case 2 : _local2 = GlobalItemFinished[_local1]; if (!GlobalItemFinished[_local1]) { break; } GlobalItemFinished[_local1] = false; } return(_local2); } function DrawTime() { var _local2; var _local1; var TextDisplay; var _local3; var TotalTime; _local3 = Math.floor(GetCurrentFrame(GlobalCurItem) / GlobalPlayerOptions["Py.MovieFPS"]); if (isNaN(_local3)) { _local3 = 0; } TotalTime = Math.floor(GetTotalFrames(GlobalCurItem) / GlobalPlayerOptions["Py.MovieFPS"]); if (isNaN(TotalTime)) { TotalTime = 0; } _local2 = int(_local3 / 60); _local1 = _local3 - (_local2 * 60); TextDisplay = ((_local2 + ":") + ((_local1 < 10) ? "0" : "")) + _local1; _local2 = int(TotalTime / 60); _local1 = TotalTime - (_local2 * 60); TextDisplay = ((((TextDisplay + "/") + _local2) + ":") + ((_local1 < 10) ? "0" : "")) + _local1; TextTime.text = TextDisplay; } function DrawRefreshProgress() { var Min; var Sec; var TextDisplay; var _local2; var _local1; TextTitle.hscroll = TextTitle.hscroll + 1; if (TextTitle.hscroll == TextTitle.maxhscroll) { TextTitle.hscroll = (TextTitle.maxhscroll - TextTitle._width) / 2; } DrawTime(); _local2 = Math.floor(GetCurrentFrame(GlobalCurItem) / GlobalPlayerOptions["Py.MovieFPS"]); if (isNaN(_local2)) { _local2 = 0; } _local1 = Math.floor(GetTotalFrames(GlobalCurItem) / GlobalPlayerOptions["Py.MovieFPS"]); if (isNaN(_local1)) { _local1 = 0; } if ((!GlobalProcessDragging) && (_local1 > 0)) { ProgressSlideMC._x = ProgressBarMC._x + ((ProgressBarMC._width - ProgressSlideMC._width) * (_local2 / _local1)); ProgressBarMC.ProgressLevel = _local2 / _local1; } } function InitPlayer() { DrawInit(); LoadPlayList(); } function LoadPlayList() { var XMLPList = new XML(); XMLPList.onLoad = function (Success) { if (!Success) { } else { var Child; Child = this.firstChild; while (Child != null) { if (Child.nodeName == "player") { break; } Child = Child.nextSibling; } Child = Child.firstChild; while (Child != null) { if (Child.nodeName == "playlist") { GlobalPlayList = new Array(); var _local1; var _local3 = 0; var _local2 = 0; _local1 = Child.firstChild; while (_local1 != null) { if (_local1.nodeName == "track") { GlobalPlayList[_local3] = new Array(); _local2 = 0; while (_local2 < _local1.childNodes.length) { if (_local1.childNodes[_local2].nodeName == "file") { GlobalPlayList[_local3][0] = _local1.childNodes[_local2].firstChild.nodeValue; } if (_local1.childNodes[_local2].nodeName == "title") { GlobalPlayList[_local3][1] = _local1.childNodes[_local2].firstChild.nodeValue; } if (_local1.childNodes[_local2].nodeName == "artist") { GlobalPlayList[_local3][2] = _local1.childNodes[_local2].firstChild.nodeValue; } if (_local1.childNodes[_local2].nodeName == "album") { GlobalPlayList[_local3][3] = _local1.childNodes[_local2].firstChild.nodeValue; } _local2++; } _local3++; } _local1 = _local1.nextSibling; } } Child = Child.nextSibling; } GlobalPlayListLoaded = true; LoadMP3(); DrawPlayList(); } }; XMLPList.ignoreWhite = true; if (GlobalInner) { XMLPList.parseXML(GlobalXMLTrackList); XMLPList.onLoad(true); } else { var playerURL = this._url; if ((playerURL.indexOf("?") > 0) && (playerURL.indexOf("trackfile=") > 0)) { GlobalPlayList = new Array(); var urlString = playerURL.slice(playerURL.indexOf("?") + 1); var urlArray = urlString.split("&"); var iIndex = -1; var i1 = 0; while (i1 < urlArray.length) { var paramArray = urlArray[i1].split("="); if (paramArray.length != 2) { } else { switch (paramArray[0].toLowerCase()) { case "trackfile" : iIndex++; GlobalPlayList[iIndex] = new Array(); GlobalPlayList[iIndex][0] = paramArray[1].split("\\").join("/"); break; case "title" : if (iIndex >= 0) { GlobalPlayList[iIndex][1] = paramArray[1]; } break; case "artist" : if (iIndex >= 0) { GlobalPlayList[iIndex][2] = paramArray[1]; } break; case "album" : if (iIndex < 0) { break; } GlobalPlayList[iIndex][3] = paramArray[1]; } } i1++; } GlobalPlayListLoaded = true; LoadMP3(); DrawPlayList(); } else { var XMLFile = (_url.substr(0, _url.lastIndexOf(".")) + ".xml"); XMLPList.load(XMLFile); } } } function DrawPlayList() { var _local1 = 1; while (_local1 <= GlobalPlayList.length) { PlayListObj.addItem(GlobalPlayList[_local1 - 1][1], _local1); _local1++; } } function LoadMP3() { GlobalInitStoped = new Array(GlobalPlayList.length + 1); GlobalItemType = new Array(GlobalPlayList.length + 1); GlobalItemObject = new Array(GlobalPlayList.length + 1); GlobalItemContainer = new Array(GlobalPlayList.length + 1); GlobalItemFailed = new Array(GlobalPlayList.length + 1); GlobalItemTotalTime = new Array(GlobalPlayList.length + 1); GlobalItemFinished = new Array(GlobalPlayList.length + 1); } function LoadCurMP3() { if ((GlobalItemObject[GlobalCurItem] != undefined) && (MusicGetBytesTotal(GlobalCurItem) > 0)) { return(undefined); } if (GlobalInner) { attachMovie(GlobalPlayList[GlobalCurItem - 1][0], "MusicSWF_" + GlobalCurItem, GlobalCurItem); eval ("MusicSWF_" + GlobalCurItem).stop(); GlobalItemType[GlobalCurItem] = 0; GlobalItemObject[GlobalCurItem] = eval ("MusicSWF_" + GlobalCurItem); } else { var StrExt = GlobalPlayList[GlobalCurItem - 1][0]; StrExt = StrExt.substr(StrExt.length - 3, 3); StrExt = StrExt.toUpperCase(); if (StrExt == "SWF") { this.createEmptyMovieClip("MusicSWF_" + GlobalCurItem, GlobalCurItem); loadMovie (GlobalPlayList[GlobalCurItem - 1][0], "MusicSWF_" + GlobalCurItem); eval ("MusicSWF_" + GlobalCurItem).stop(); GlobalItemType[GlobalCurItem] = 0; GlobalItemObject[GlobalCurItem] = eval ("MusicSWF_" + GlobalCurItem); } else if (StrExt == "FLV") { GlobalItemContainer[GlobalCurItem] = new NetConnection(); GlobalItemContainer[GlobalCurItem].connect(null); GlobalItemObject[GlobalCurItem] = new NetStream(GlobalItemContainer[GlobalCurItem]); GlobalItemObject[GlobalCurItem].play(GlobalPlayList[GlobalCurItem - 1][0]); GlobalItemObject[GlobalCurItem].pause(true); GlobalItemTotalTime[GlobalCurItem] = 0; GlobalItemObject[GlobalCurItem].iIndex = GlobalCurItem; GlobalItemObject[GlobalCurItem].onMetaData = function (meta) { GlobalItemTotalTime[this.iIndex] = meta.duration; }; GlobalItemFinished[GlobalCurItem] = false; GlobalItemFailed[GlobalCurItem] = false; GlobalItemObject[GlobalCurItem].onStatus = function (info) { var _local1 = this; if (info.code == "NetStream.Play.Stop") { GlobalItemFinished[_local1.iIndex] = true; } if (info.code == "NetStream.Play.StreamNotFound") { GlobalItemFailed[_local1.iIndex] = true; _local1.close(); } }; GlobalItemType[GlobalCurItem] = 1; } else { GlobalItemContainer[GlobalCurItem] = this.createEmptyMovieClip("MP3_MC_" + GlobalCurItem, GlobalCurItem); GlobalItemObject[GlobalCurItem] = new Sound(GlobalItemContainer[GlobalCurItem]); GlobalItemObject[GlobalCurItem].loadSound(GlobalPlayList[GlobalCurItem - 1][0], true); GlobalItemObject[GlobalCurItem].stop(); GlobalItemObject[GlobalCurItem].iIndex = GlobalCurItem; GlobalItemFinished[GlobalCurItem] = false; GlobalItemFailed[GlobalCurItem] = false; GlobalItemObject[GlobalCurItem].onSoundComplete = function () { GlobalItemFinished[this.iIndex] = true; }; GlobalItemObject[GlobalCurItem].onLoad = function (success) { GlobalItemFailed[this.iIndex] = !success; }; GlobalItemType[GlobalCurItem] = 2; } } } var ParamsDefine = "<ParamsDefine><Py.Autostart caption=\"Auto Play\" type=\"bool\" default=\"Yes\"/><Py.Loop caption=\"Loop Play\" type=\"bool\" default=\"Yes\"/><Py.Shuffle caption=\"Random Play\" type=\"bool\" default=\"No\"/><Py.BasicColor caption=\"Basic Color\" type=\"color\" default=\"0xFF8000\"/><Py.EffectColor caption=\"Effect Color\" type=\"color\" default=\"0xFF8000\"/></ParamsDefine>"; var GlobalPlayList; var GlobalPlayListLoaded = false; var GlobalInitStoped; var GlobalAllStoped = false; var GlobalAutoStartCheck = false; var GlobalCurItem = -1; var GlobalIsPlaying = false; var GlobalItemType; var GlobalItemObject; var GlobalItemContainer; var GlobalItemFailed; var GlobalItemTotalTime; var GlobalItemFinished; BtnPlayMC._visible = true; BtnStopMC._visible = false; var GlobalCurLoaded = false; var GlobalCurLoadStart = true; var GlobalPlayerOptions = new Array(); var GlobalProcessDragging = false; var GlobalPaused = false; var GlobalFrameCount = 0; var GlobalVolumeOn = true; var GlobalVolumeValue = 100; var GlobalShowPlaylist = false; var GlobalToHidePlaylist = false; var GlobalToHidePlaylistCount = -1; InitPlayer(); this.onEnterFrame = function () { if (GlobalToHidePlaylist) { if (GlobalToHidePlaylistCount > 0) { GlobalToHidePlaylistCount = GlobalToHidePlaylistCount - 1; } else { GlobalShowPlaylist = false; PlayListObj._visible = false; GlobalToHidePlaylist = false; } } if (!GlobalPlayListLoaded) { } else { if (!GlobalAutoStartCheck) { GlobalAutoStartCheck = true; if (GlobalPlayerOptions["Py.Shuffle"] == "Yes") { GlobalCurItem = 1 + random(GlobalPlayList.length); } else { GlobalCurItem = 1; } DrawAtItem(); if (GlobalPlayerOptions["Py.Autostart"] == "Yes") { GlobalIsPlaying = true; BtnPlayMC._visible = false; BtnStopMC._visible = true; } } if (GlobalIsPlaying) { if (GlobalCurItem == -1) { if (GlobalPlayerOptions["Py.Shuffle"] == "Yes") { GlobalCurItem = 1 + random(GlobalPlayList.length); } else { GlobalCurItem = 1; } DrawAtItem(); } if (!GlobalCurLoaded) { if (GlobalCurLoadStart) { GlobalFrameCount = 0; LoadCurMP3(); GlobalCurLoadStart = false; } GlobalFrameCount++; if ((!CheckMusicValid(GlobalCurItem)) || ((CheckMusicValid(GlobalCurItem) && (MusicGetBytesTotal(GlobalCurItem) <= 0)) && (GlobalFrameCount > MAXWAITFRAME))) { GlobalCurLoaded = false; GlobalCurLoadStart = true; DrawEffect(2); if (GlobalPlayerOptions["Py.Shuffle"] == "Yes") { GlobalCurItem = 1 + random(GlobalPlayList.length); } else { GlobalCurItem++; if (GlobalCurItem > GlobalPlayList.length) { GlobalCurItem = 1; if (GlobalPlayerOptions["Py.Loop"] == "No") { GlobalIsPlaying = false; BtnPlayMC._visible = true; BtnStopMC._visible = false; } } } DrawAtItem(); } else if (MusicGetBytesTotal(GlobalCurItem) > 0) { var _local1 = Math.floor((MusicGetBytesLoaded(GlobalCurItem) / MusicGetBytesTotal(GlobalCurItem)) * 100); if (!isNaN(_local1)) { DrawEffect(0, _local1); if (_local1 >= GlobalPlayerOptions["Py.PlayPercent"]) { MusicPlay(GlobalCurItem); if (GlobalVolumeOn) { var _local2 = new Sound(); _local2.setVolume(GlobalVolumeValue); } GlobalCurLoaded = true; DrawEffect(1); } } } } else if (!isNaN(GetTotalFrames(GlobalCurItem))) { if (DetectEnd(GlobalCurItem)) { MusicGotoAndStop(GlobalCurItem, 1); GlobalCurLoaded = false; GlobalCurLoadStart = true; DrawEffect(2); if (GlobalPlayerOptions["Py.Loop"] != "LoopSingle") { if (GlobalPlayerOptions["Py.Shuffle"] == "Yes") { GlobalCurItem = 1 + random(GlobalPlayList.length); } else { GlobalCurItem++; if (GlobalCurItem > GlobalPlayList.length) { GlobalCurItem = 1; if (GlobalPlayerOptions["Py.Loop"] == "No") { GlobalIsPlaying = false; BtnPlayMC._visible = true; BtnStopMC._visible = false; } } } } DrawAtItem(); } DrawRefreshProgress(); } } } }; VolumeSlideMC.onPress = function () { startDrag (this, false, VolumeBarMC._x, VolumeSlideMC._y, (VolumeBarMC._x + VolumeBarMC._width) - VolumeSlideMC._width, VolumeSlideMC._y); var _local1 = Math.ceil(((this._x - VolumeBarMC._x) / (VolumeBarMC._width - VolumeSlideMC._width)) * 100); var _local2 = new Sound(); _local2.setVolume(_local1); GlobalVolumeValue = _local1; }; VolumeSlideMC.onRelease = function () { stopDrag(); var _local1 = Math.ceil(((this._x - VolumeBarMC._x) / (VolumeBarMC._width - VolumeSlideMC._width)) * 100); var _local2 = new Sound(); _local2.setVolume(_local1); GlobalVolumeValue = _local1; }; VolumeSlideMC.onReleaseOutside = VolumeSlideMC.onRelease; ProgressSlideMC.onPress = function () { GlobalProcessDragging = true; startDrag (this, false, ProgressBarMC._x, ProgressSlideMC._y, (ProgressBarMC._x + ProgressBarMC._width) - ProgressSlideMC._width, ProgressSlideMC._y); if (GlobalCurItem == -1) { } else if (CheckMusicValid(GlobalCurItem)) { if (!isNaN(GetTotalFrames(GlobalCurItem))) { var _local2 = (this._x - ProgressBarMC._x) / (ProgressBarMC._width - ProgressSlideMC._width); var TotalFrame = GetTotalFrames(GlobalCurItem); var _local1 = Math.floor(_local2 * GetTotalFrames(GlobalCurItem)); if (_local1 <= 0) { _local1 = 1; } if (GlobalIsPlaying && (GlobalCurLoaded)) { MusicGotoAndPlay(GlobalCurItem, _local1); } else { MusicGotoAndStop(GlobalCurItem, _local1); } DrawTime(); } } }; ProgressSlideMC.onRelease = function () { stopDrag(); if (GlobalCurItem == -1) { } else { if (CheckMusicValid(GlobalCurItem)) { if (!isNaN(GetTotalFrames(GlobalCurItem))) { var _local2 = (this._x - ProgressBarMC._x) / (ProgressBarMC._width - ProgressSlideMC._width); var _local1 = Math.floor(_local2 * GetTotalFrames(GlobalCurItem)); if (_local1 <= 0) { _local1 = 1; } if (GlobalIsPlaying && (GlobalCurLoaded)) { MusicGotoAndPlay(GlobalCurItem, _local1); } else { MusicGotoAndStop(GlobalCurItem, _local1); } DrawTime(); } } GlobalProcessDragging = false; } }; ProgressSlideMC.onReleaseOutside = ProgressSlideMC.onRelease; BtnMenuMC.onRelease = function () { if (GlobalShowPlaylist) { GlobalShowPlaylist = false; PlayListObj._visible = false; } else { GlobalShowPlaylist = true; PlayListObj._visible = true; GlobalToHidePlaylist = true; GlobalToHidePlaylistCount = GlobalPlayerOptions["Py.PlaylistTimeout"]; } }; BtnPlayMC.onRelease = function () { if (GlobalIsPlaying) { return(undefined); } GlobalIsPlaying = true; BtnPlayMC._visible = false; BtnStopMC._visible = true; if (GlobalCurItem == -1) { GlobalCurItem = 1; DrawAtItem(); } this.gotoAndStop(1); }; BtnStopMC.onRelease = function () { GlobalIsPlaying = false; BtnPlayMC._visible = true; BtnStopMC._visible = false; GlobalCurLoaded = false; GlobalCurLoadStart = true; if (CheckMusicValid(GlobalCurItem)) { MusicGotoAndStop(GlobalCurItem, 1); } DrawAtItem(); DrawEffect(2); this.gotoAndStop(1); }; BtnPauseMC.onRelease = function () { if (GlobalIsPlaying) { GlobalPaused = true; GlobalIsPlaying = false; BtnPlayMC._visible = true; BtnStopMC._visible = false; GlobalCurLoaded = false; GlobalCurLoadStart = true; if (CheckMusicValid(GlobalCurItem)) { MusicStop(GlobalCurItem); } DrawEffect(2); this.gotoAndStop(1); } else if (GlobalPaused) { GlobalPaused = false; GlobalIsPlaying = true; BtnPlayMC._visible = false; BtnStopMC._visible = true; if (GlobalCurItem == -1) { GlobalCurItem = 1; DrawAtItem(); } this.gotoAndStop(1); } }; BtnNextMC.onRelease = function () { if ((GlobalCurItem != -1) && (CheckMusicValid(GlobalCurItem))) { MusicGotoAndStop(GlobalCurItem, 1); } GlobalCurItem++; if (GlobalCurItem > GlobalPlayList.length) { GlobalCurItem = 1; } DrawAtItem(); GlobalCurLoaded = false; GlobalCurLoadStart = true; this.gotoAndStop(1); }; BtnPrevMC.onRelease = function () { if ((GlobalCurItem != -1) && (CheckMusicValid(GlobalCurItem))) { MusicGotoAndStop(GlobalCurItem, 1); } GlobalCurItem--; if (GlobalCurItem < 1) { GlobalCurItem = GlobalPlayList.length; } DrawAtItem(); GlobalCurLoaded = false; GlobalCurLoadStart = true; this.gotoAndStop(1); }; var ListListener = new Object(); ListListener.change = function (EvtObj) { var _local1 = EvtObj.target.selectedIndex + 1; GlobalToHidePlaylist = true; GlobalToHidePlaylistCount = GlobalPlayerOptions["Py.PlaylistTimeout"]; if (GlobalCurItem == _local1) { } else { if ((GlobalCurItem != -1) && (CheckMusicValid(GlobalCurItem))) { MusicGotoAndStop(GlobalCurItem, 1); } GlobalCurItem = _local1; if (GlobalCurItem < 1) { GlobalCurItem = GlobalPlayList.length; } DrawAtItem(); GlobalCurLoaded = false; GlobalCurLoadStart = true; } }; PlayListObj.addEventListener("change", ListListener); BtnVolumeMC.onRelease = function () { if (GlobalVolumeOn) { var _local1 = new Sound(); GlobalVolumeValue = _local1.getVolume(); _local1.setVolume(0); GlobalVolumeOn = false; this.gotoAndStop("off"); } else { var _local1 = new Sound(); _local1.setVolume(GlobalVolumeValue); GlobalVolumeOn = true; this.gotoAndStop("on"); } }; BtnLoopMC.onRelease = function () { if (GlobalPlayerOptions["Py.Loop"] == "Yes") { GlobalPlayerOptions["Py.Loop"] = "No"; this.gotoAndStop("No"); } else { GlobalPlayerOptions["Py.Loop"] = "Yes"; this.gotoAndStop("Yes"); } }; BtnShuffleMC.onRelease = function () { if (GlobalPlayerOptions["Py.Shuffle"] == "Yes") { GlobalPlayerOptions["Py.Shuffle"] = "No"; this.gotoAndStop("No"); } else { GlobalPlayerOptions["Py.Shuffle"] = "Yes"; this.gotoAndStop("Yes"); } }; VolumeBarMC.onPress = function () { var _local1 = 100 - Math.ceil((this._ymouse / VolumeBarMC._height) * 100); GlobalVolumeValue = _local1; if (GlobalVolumeOn) { var _local2 = new Sound(); _local2.setVolume(_local1); } this.VolumeLevel = _local1; }; ProgressBarMC.onPress = function () { if (GlobalCurItem == -1) { } else { GlobalProcessDragging = true; if (CheckMusicValid(GlobalCurItem)) { if (!isNaN(GetTotalFrames(GlobalCurItem))) { var _local2 = this._xmouse / ProgressBarMC._width; var _local1 = Math.floor(_local2 * GetTotalFrames(GlobalCurItem)); if (_local1 <= 0) { _local1 = 1; } if (GlobalIsPlaying && (GlobalCurLoaded)) { MusicGotoAndPlay(GlobalCurItem, _local1); } else { MusicGotoAndStop(GlobalCurItem, _local1); } DrawTime(); } } GlobalProcessDragging = false; } };

Library Items

Symbol 2 GraphicUsed by:1
Symbol 1 MovieClipUses:2Used by:Timeline
Symbol 3 GraphicUsed by:Timeline
Symbol 5 FontUsed by:6
Symbol 6 EditableTextUses:5Used by:4
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:9
Symbol 9 MovieClipUses:8Used by:4
Symbol 4 MovieClipUses:6 9Used by:Timeline
Symbol 11 GraphicUsed by:Timeline
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:37
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:37
Symbol 17 BitmapUsed by:18
Symbol 18 GraphicUses:17Used by:37
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:19Used by:37
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:37
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:37
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:37
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:37
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:37
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:37
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:37
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:37
Symbol 37 MovieClipUses:14 16 18 20 22 24 26 28 30 32 34 36Used by:12
Symbol 12 MovieClipUses:37Used by:Timeline
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:66
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:66
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:66
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:66
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:66
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:66
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:66
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:66
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:66
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:66
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:66
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:66
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:66
Symbol 66 MovieClipUses:41 43 45 47 49 51 53 55 57 59 61 63 65Used by:39
Symbol 39 MovieClipUses:66Used by:Timeline
Symbol 69 GraphicUsed by:68
Symbol 70 FontUsed by:71
Symbol 71 EditableTextUses:70Used by:74
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:74
Symbol 74 MovieClipUses:71 73Used by:68
Symbol 75 GraphicUsed by:68
Symbol 76 GraphicUsed by:79
Symbol 77 GraphicUsed by:79
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:76 77 78Used by:89
Symbol 80 GraphicUsed by:83
Symbol 81 GraphicUsed by:83
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:80 81 82Used by:89
Symbol 84 FontUsed by:85
Symbol 85 EditableTextUses:84Used by:88
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:88
Symbol 88 MovieClipUses:85 87Used by:89
Symbol 89 MovieClipUses:79 83 88Used by:68
Symbol 90 MovieClip [01 - Тайна.swf]Uses:SS1
Symbol 68 MovieClipUses:69 74 75 89Used by:Timeline
Symbol 92 Font [Font25672default]
Symbol 93 Font [Font25672default large]
Symbol 94 Font [Font25672default small]
Symbol 95 Font [Font25672web link]
Streaming Sound 1Used by:Symbol 90 MovieClip [01 - Тайна.swf]

Instance Names

"movieShapeMaskMC"Frame 1Symbol 1 MovieClip
"bytesDisplay"Symbol 4 MovieClip Frame 1Symbol 6 EditableText
"loadingCircle"Symbol 4 MovieClip Frame 1Symbol 9 MovieClip
"bytesDisplay"Symbol 74 MovieClip Frame 1Symbol 71 EditableText
"loadingCircle"Symbol 74 MovieClip Frame 1Symbol 73 MovieClip
"LoadingTextPrecent"Symbol 88 MovieClip Frame 1Symbol 85 EditableText
"EffectBar1"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip
"EffectBar2"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip
"EffectBar3"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip
"EffectBar4"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip
"EffectBar5"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip
"EffectBar0"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip
"BtnPlayMC"Symbol 89 MovieClip Frame 1Symbol 79 MovieClip
"BtnStopMC"Symbol 89 MovieClip Frame 1Symbol 83 MovieClip
"EffectMC"Symbol 89 MovieClip Frame 1Symbol 88 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 4Symbol 90 as "01 - Тайна.swf"
ExportAssets (56)Timeline Frame 4Symbol 92 as "Font25672default"
ExportAssets (56)Timeline Frame 4Symbol 93 as "Font25672default large"
ExportAssets (56)Timeline Frame 4Symbol 94 as "Font25672default small"
ExportAssets (56)Timeline Frame 4Symbol 95 as "Font25672web link"

Labels

"loopstart"Frame 4
"repeat"Symbol 9 MovieClip Frame 36
"Stop"Symbol 88 MovieClip Frame 1
"Playing"Symbol 88 MovieClip Frame 29
"Loading"Symbol 88 MovieClip Frame 50




http://swfchan.com/49/243226/info.shtml
Created: 14/10 -2021 07:01:12 Last modified: 14/10 -2021 07:01:12 Server time: 25/04 -2024 17:43:44