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

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

1242084592712.swf

This is the info page for
Flash #124701

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


ActionScript [AS1/AS2]
Frame 1
function WM_infobutton() { getURL (((((((((((((("javascript:wmwpInfoWin=window.open(\"http://www.webminster.de/?id=9640&version=" + _root.version) + "&language=") + _root.language) + "&date=") + _root.date) + "&os=") + System.capabilities.os) + "&flashversion=") + getVersion()) + "\",\"wmwpInfoWin\",\"width=400,height=300,left=") + ((System.capabilities.screenResolutionX / 2) - 204)) + ",top=") + (((System.capabilities.screenResolutionY / 2) - 150) - Math.round((System.capabilities.screenResolutionY - 300) * 0.1))) + ",toolbar=no,status=no,resizable=no,menubar=no,location=no,dependent=yes\");wmwpInfoWin.focus();void(0);"); } fscommand ("allowscale", false); fscommand ("showmenu", false); var version = "2.0.1"; var language = "EN"; var date = "20050720"; _soundbuftime = 1; attachMovie("logo", "logo", 3); logo._width = 56; logo._height = 56; logo._x = 120; logo._y = 32; logo.onRelease = function () { WM_infobutton(); }; if (((_framesloaded == _totalframes) && (getTimer() >= 2000)) && (Math.min(Stage.height, Stage.width) > 0)) { attachMovie("lib_layout", "layout", 2); gotoAndPlay (3); } if ((Math.min(Stage.height, Stage.width) < 58) && (Math.min(Stage.height, Stage.width) > 0)) { if (Math.min(Stage.height, Stage.width) < 14) { logo._visible = 0; } logo._height = Math.min(Stage.height, Stage.width); logo._width = Math.min(Stage.height, Stage.width); }
Frame 2
gotoAndPlay (1);
Frame 3
function WM_CTRL_skip() { var WM_target = "_self"; if ((target != "") && (target != null)) { WM_target = target; } getURL (link, WM_target); } function WM_INFO_skip() { if ((link != "") && (link != null)) { return(true); } return(false); } function isFalse(param) { if (((param == "0") || (param.toLowerCase() == "false")) || (param.toLowerCase() == "no")) { return(true); } return(false); } function isTrue(param) { if (((param == "1") || (param.toLowerCase() == "true")) || (param.toLowerCase() == "yes")) { return(true); } return(false); } function wmError() { getURL (("javascript:alert('WebMinster WebPlayer could not find the file at:\\n\n '+decodeURI(document.URL.substring(0,document.URL.lastIndexOf('/')+1))+'" + WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]) + "\\n\n Pease check the url and try it again.');"); if (WP_core.INFO_playing() && (WP_core.INFO_playlistentry() == WP_core.INFO_playlistlength())) { if ((skipped == false) && (WM_INFO_skip() == true)) { WP_core.CTRL_pause(); clearInterval(skipID); skipID = setInterval(checkskiptime, 20); skipTime = getTimer(); skipped = true; } } else { if ((skipped == false) && (skipTime > 0)) { clearInterval(skipID); } skipped = false; } } function jscheck() { if ((jsMethod != null) && (jsMethod != "")) { switch (jsMethod) { case "play" : WP_core.CTRL_play(); break; case "pause" : WP_core.CTRL_pause(); break; case "stop" : WP_core.CTRL_stop(); break; case "next" : WP_core.CTRL_next(); break; case "previous" : WP_core.CTRL_previous(); break; case "goto" : WP_core.CTRL_goto(jsValue); break; case "position" : WP_core.CTRL_position(jsValue); break; case "volume" : WP_core.CTRL_volume(jsValue); break; case "newfile" : WP_core.CTRL_stop(); lastFileType = null; lastFile = 0; src = jsValue; unloadMovieNum (1); layout._visible = 0; logo._visible = 1; if (WP_core.PARAM_autostart == true) { WP_core.VAR_playing = true; } else { WP_core.VAR_playing = false; } gotoAndStop (4); break; case "newplaylist" : WP_core.CTRL_stop(); lastFileType = null; lastFile = 0; src = jsValue; unloadMovieNum (1); layout._visible = 0; logo._visible = 1; if (WP_core.PARAM_autostart == true) { WP_core.VAR_playing = true; } else { WP_core.VAR_playing = false; } gotoAndStop (4); break; case "info" : WM_infobutton(); break; case "autostart" : if (isFalse(jsValue)) { WP_core.PARAM_autostart = false; } else { WP_core.PARAM_autostart = true; } break; case "loop" : if (isTrue(jsValue)) { WP_core.PARAM_loop = true; } else { WP_core.PARAM_loop = false; } layout_update(); break; case "effect" : if (isFalse(jsValue)) { effect = false; } else { effect = true; } layout_update(); } } JS_volume = WP_core.INFO_volume(); JS_position = WP_core.INFO_position(); JS_playing = WP_core.INFO_playing(); JS_loaded = WP_core.INFO_loaded(); JS_playlistlength = WP_core.INFO_playlistlength(); JS_playlistentry = WP_core.INFO_playlistentry(); JS_filelength = WP_core.INFO_filelength(); JS_filesize = WP_core.INFO_filesize(); JS_quality = WP_core.INFO_quality(); JS_artist = WP_core.FILEINFO_artist; JS_creator = WP_core.FILEINFO_creator; JS_title = WP_core.FILEINFO_title; JS_date = WP_core.FILEINFO_date; JS_comment = WP_core.FILEINFO_comment; JS_copyright = WP_core.FILEINFO_copyright; JS_url = WP_core.FILEINFO_url; JS_filename = WP_core.FILEINFO_filename; jsMethod = null; jsValue = null; } WP_core = new Object(); WP_core.PARAM_autostart = true; WP_core.PARAM_loop = false; WP_core.PARAM_moviename = "movie"; WP_core.PARAM_movielevel = 1; WP_core.PARAM_refreshlayout = "layout_update"; WP_core.PARAM_refreshfileinfo = "fileinfo_update"; WP_core.PARAM_errorcall = "wmError"; WP_core.VAR_soundpos = 0; WP_core.VAR_playing = true; WP_core.VAR_playlist = new Array(); WP_core.VAR_playlistentry = 0; WP_core.VAR_theend = false; WP_core.VAR_checkfileinfoID; WP_core.VAR_checkloadingID; WP_core.VAR_checkendID; WP_core.VAR_checktime = 0; WP_core.VAR_fileinfotime = 0; WP_core.VAR_lengthtime = 0; WP_core.VAR_lengthtmp = 0; WP_core.FILEINFO_artist = ""; WP_core.FILEINFO_creator = ""; WP_core.FILEINFO_title = ""; WP_core.FILEINFO_date = ""; WP_core.FILEINFO_comment = ""; WP_core.FILEINFO_copyright = ""; WP_core.FILEINFO_url = ""; WP_core.FILEINFO_filename = ""; WP_core.FILEINFO_width = 0; WP_core.FILEINFO_height = 0; WP_core.sound = new Sound(); WP_core.sound.setVolume(80); WP_core.CTRL_play = function () { if (WP_core.INFO_playing()) { return(undefined); } switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_filesize() == null) { WP_core.VAR_playing = true; WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } else if (WP_core.INFO_position() == 100) { WP_core.sound.start(0); } else { WP_core.sound.start(WP_core.VAR_soundpos / 1000); } break; case "swf" : if (_root["_level" + WP_core.PARAM_movielevel]._currentframe == _root["_level" + WP_core.PARAM_movielevel]._totalframes) { _root["_level" + WP_core.PARAM_movielevel].gotoAndPlay(2); } else { _root["_level" + WP_core.PARAM_movielevel].play(); } } WP_core.VAR_playing = true; clearInterval(WP_core.VAR_checkendID); WP_core.VAR_checkendID = setInterval(WP_core, "checkend", 10); _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_pause = function () { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { WP_core.VAR_soundpos = WP_core.sound.position; } WP_core.sound.stop(); break; case "swf" : _root["_level" + WP_core.PARAM_movielevel].stop(); } WP_core.VAR_playing = false; clearInterval(WP_core.VAR_checkendID); _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_stop = function () { WP_core.CTRL_pause(); switch (WP_core.INFO_filetype()) { case "mp3" : WP_core.CTRL_position(0); return; case "swf" : _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(1); _root[WP_core.PARAM_refreshlayout].call(); } }; WP_core.CTRL_position = function (newpos) { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { if (newpos == 100) { WP_core.CTRL_pause(); WP_core.VAR_soundpos = WP_core.INFO_filelength(); } else { WP_core.sound.start((WP_core.INFO_filelength() * newpos) / 100000); } } else { WP_core.VAR_soundpos = (WP_core.INFO_filelength() * newpos) / 100; } break; case "swf" : if (WP_core.INFO_playing()) { if (newpos == 100) { WP_core.CTRL_pause(); WP_core.CTRL_position(100); } else { _root["_level" + WP_core.PARAM_movielevel].gotoAndPlay(2 + Math.round((_root["_level" + WP_core.PARAM_movielevel]._totalframes - 2) * (newpos / 100))); } } else { _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(2 + Math.round((_root["_level" + WP_core.PARAM_movielevel]._totalframes - 2) * (newpos / 100))); } } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_volume = function (newvol) { if ((newvol >= 0) && (newvol <= 100)) { WP_core.sound.setVolume(newvol); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_next = function () { if (WP_core.INFO_playlistlength() < 2) { return(undefined); } if (WP_core.VAR_playlistentry == WP_core.VAR_playlist.length) { if (WP_core.PARAM_loop == true) { WP_core.VAR_playlistentry = 1; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } } else { WP_core.VAR_playlistentry++; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_previous = function () { if (WP_core.INFO_playlistlength() < 2) { return(undefined); } if (WP_core.VAR_playlistentry == 1) { if (WP_core.PARAM_loop == true) { WP_core.VAR_playlistentry = WP_core.VAR_playlist.length; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } } else { WP_core.VAR_playlistentry--; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_goto = function (value) { if (value == WP_core.VAR_playlistentry) { switch (WP_core.INFO_filetype()) { case "mp3" : WP_core.CTRL_position(0); break; case "swf" : if (WP_core.INFO_playing()) { WP_core.CTRL_position(0); } else { _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(1); _root[WP_core.PARAM_refreshlayout].call(); } } } else if (value <= WP_core.INFO_playlistlength()) { WP_core.VAR_playlistentry = value; WP_core.loadfile(WP_core.VAR_playlist[value - 1]); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.loadfile = function (file) { unloadMovieNum (WP_core.PARAM_movielevel); var volumetmp = WP_core.sound.getVolume(); WP_core.sound = new Sound(); WP_core.sound.setVolume(100); WP_core.FILEINFO_width = 0; WP_core.FILEINFO_height = 0; WP_core.FILEINFO_artist = ""; WP_core.FILEINFO_creator = ""; WP_core.FILEINFO_title = ""; WP_core.FILEINFO_date = ""; WP_core.FILEINFO_comment = ""; WP_core.FILEINFO_copyright = ""; WP_core.FILEINFO_url = ""; WP_core.FILEINFO_filename = ""; switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { WP_core.sound.loadSound(file, true); WP_core.VAR_checktime = getTimer(); clearInterval(WP_core.VAR_checkendID); WP_core.VAR_checkendID = setInterval(WP_core, "checkend", 10); clearInterval(WP_core.VAR_checkloadingID); WP_core.VAR_checkloadingID = setInterval(WP_core, "checkloading", 10); } break; case "swf" : loadMovieNum (file, WP_core.PARAM_movielevel); WP_core.VAR_checktime = getTimer(); clearInterval(WP_core.VAR_checkloadingID); WP_core.VAR_checkloadingID = setInterval(WP_core, "checkloading", 10); clearInterval(WP_core.VAR_checkendID); WP_core.VAR_checkendID = setInterval(WP_core, "checkend", 10); } WP_core.sound.setVolume(volumetmp); WP_core.FILEINFO_filename = WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].substr(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].lastIndexOf("/") + 1); clearInterval(WP_core.VAR_checkfileinfoID); WP_core.VAR_checkfileinfoID = setInterval(WP_core, "checkfileinfo", 200); _root[WP_core.PARAM_refreshfileinfo].call(); _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.fillplaylist = function (newpl) { WP_core.VAR_playlist = newpl; if (WP_core.INFO_playlistlength() > 0) { WP_core.VAR_playlistentry = 1; } if (WP_core.PARAM_autostart == false) { WP_core.VAR_playing = false; } WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); }; WP_core.checkloading = function () { if ((getTimer() > (WP_core.VAR_checktime + 6000)) && ((!WP_core.INFO_loaded()) > 0)) { if (isTrue(debug)) { _root[WP_core.PARAM_errorcall].call(); } clearInterval(WP_core.VAR_checkloadingID); WP_core.VAR_checktime = 0; if (WP_core.INFO_playing() || (WP_core.INFO_filetype() == "swf")) { WP_core.finalprogress(); } } switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_filesize() > 0) { clearInterval(WP_core.VAR_checkloadingID); } return; case "swf" : if (!((_root["_level" + WP_core.PARAM_movielevel]._width > 0) && (_root["_level" + WP_core.PARAM_movielevel]._height > 0))) { break; } if ((_root["_level" + WP_core.PARAM_movielevel]._width == WP_core.FILEINFO_width) && (_root["_level" + WP_core.PARAM_movielevel]._height == WP_core.FILEINFO_height)) { if (!WP_core.INFO_playing()) { WP_core.CTRL_pause(); _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(1); } _root[WP_core.PARAM_refreshlayout].call(); clearInterval(WP_core.VAR_checkloadingID); } WP_core.FILEINFO_width = _root["_level" + WP_core.PARAM_movielevel]._width; WP_core.FILEINFO_height = _root["_level" + WP_core.PARAM_movielevel]._height; } }; WP_core.checkend = function () { if ((WP_core.INFO_position() == 100) && (WP_core.INFO_loaded() == 100)) { if (WP_core.VAR_theend == false) { WP_core.finalprogress(); WP_core.VAR_theend = true; } } else { WP_core.VAR_theend = false; } }; WP_core.finalprogress = function () { if ((WP_core.INFO_playlistentry() == WP_core.INFO_playlistlength()) && (WP_core.INFO_playing())) { _root[WP_core.PARAM_refreshlayout].call(); if (WP_core.PARAM_loop == true) { if (WP_core.INFO_playlistlength() == 1) { WP_core.CTRL_position(0); } else { WP_core.CTRL_next(); } } else { WP_core.CTRL_pause(); } } else { WP_core.CTRL_next(); } }; WP_core.checkfileinfo = function () { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.sound.id3.TPE1 != WP_core.FILEINFO_artist) { WP_core.FILEINFO_artist = WP_core.sound.id3.TPE1; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.TIT2 != WP_core.FILEINFO_title) { WP_core.FILEINFO_title = WP_core.sound.id3.TIT2; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.TYER != WP_core.FILEINFO_date) { WP_core.FILEINFO_date = WP_core.sound.id3.TYER; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.COMM != WP_core.FILEINFO_comment) { WP_core.FILEINFO_comment = WP_core.sound.id3.COMM; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.TCOP != WP_core.FILEINFO_copyright) { WP_core.FILEINFO_copyright = WP_core.sound.id3.TCOP; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.WXXX != WP_core.FILEINFO_url) { WP_core.FILEINFO_url = WP_core.sound.id3.WXXX; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.FILEINFO_artist == " ") { WP_core.FILEINFO_artist = ""; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.FILEINFO_title == " ") { WP_core.FILEINFO_title = ""; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.INFO_loaded() == 100) { if ((WP_core.sound.id3.TPE1 == null) || (WP_core.sound.id3.TPE1 == "")) { WP_core.FILEINFO_artist = WP_core.sound.id3.artist; _root[WP_core.PARAM_refreshfileinfo].call(); } if ((WP_core.sound.id3.TIT2 == null) || (WP_core.sound.id3.TIT2 == "")) { WP_core.FILEINFO_title = WP_core.sound.id3.songname; _root[WP_core.PARAM_refreshfileinfo].call(); } if ((WP_core.sound.id3.TYER == null) || (WP_core.sound.id3.TYER == "")) { WP_core.FILEINFO_date = WP_core.sound.id3.year; _root[WP_core.PARAM_refreshfileinfo].call(); } if ((WP_core.sound.id3.COMM == null) || (WP_core.sound.id3.COMM == "")) { WP_core.FILEINFO_comment = WP_core.sound.id3.comment; _root[WP_core.PARAM_refreshfileinfo].call(); } } break; case "swf" : WP_core.FILEINFO_title = _root["_level" + WP_core.PARAM_movielevel].title; WP_core.FILEINFO_creator = _root["_level" + WP_core.PARAM_movielevel].creator; WP_core.FILEINFO_date = _root["_level" + WP_core.PARAM_movielevel].date; WP_core.FILEINFO_comment = _root["_level" + WP_core.PARAM_movielevel].comment; WP_core.FILEINFO_copyright = _root["_level" + WP_core.PARAM_movielevel].copyright; WP_core.FILEINFO_url = _root["_level" + WP_core.PARAM_movielevel].url; _root[WP_core.PARAM_refreshfileinfo].call(); } if (((WP_core.INFO_loaded() == 100) || (WP_core.INFO_playlistlength() == 0)) && (WP_core.VAR_fileinfotime == 0)) { WP_core.VAR_fileinfotime = getTimer(); } if ((WP_core.VAR_fileinfotime > 0) && (getTimer() > (WP_core.VAR_fileinfotime + 2000))) { WP_core.VAR_fileinfotime = 0; _root[WP_core.PARAM_refreshfileinfo].call(); clearInterval(WP_core.VAR_checkfileinfoID); } }; WP_core.INFO_playing = function () { if (WP_core.VAR_playing) { return(true); } return(false); }; WP_core.INFO_position = function () { if (WP_core.INFO_filesize() > 0) { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { if ((!WP_core.INFO_filelength()) > 0) { return(0); } var postmp = ((WP_core.sound.position + 1) / WP_core.INFO_filelength()); if (postmp > 1) { postmp = 1; } return(postmp * 100); } return((WP_core.VAR_soundpos / WP_core.INFO_filelength()) * 100); case "swf" : if ((_root["_level" + WP_core.PARAM_movielevel]._currentframe == 1) || (_root["_level" + WP_core.PARAM_movielevel]._totalframes < 2)) { return(0); } return(((_root["_level" + WP_core.PARAM_movielevel]._currentframe - 2) / (_root["_level" + WP_core.PARAM_movielevel]._totalframes - 2)) * 100); return(0); } } return(0); }; WP_core.INFO_volume = function () { return(WP_core.sound.getVolume()); }; WP_core.INFO_loaded = function () { var loadtmp; switch (WP_core.INFO_filetype()) { case "mp3" : loadtmp = (WP_core.sound.getBytesLoaded() / WP_core.INFO_filesize()) * 100; break; case "swf" : loadtmp = (_root["_level" + WP_core.PARAM_movielevel]._framesloaded / _root["_level" + WP_core.PARAM_movielevel]._totalframes) * 100; } if (isNaN(loadtmp)) { loadtmp = 0; } return(loadtmp); }; WP_core.INFO_playlistlength = function () { return(WP_core.VAR_playlist.length); }; WP_core.INFO_playlistentry = function () { return(WP_core.VAR_playlistentry); }; WP_core.INFO_quality = function () { var qualitytmp = ((WP_core.INFO_filesize() / WP_core.INFO_filelength()) * 8); if (isNaN(qualitytmp)) { qualitytmp = 0; } return(qualitytmp); }; WP_core.INFO_filelength = function () { var lengthtmp; if (!(WP_core.INFO_filetype() === "mp3")) { } else if (WP_core.INFO_loaded() < 100) { var coefficienttmp; var qualitytmp = (((WP_core.INFO_fileloaded() / WP_core.sound.duration) * 8) - 3.5); if (isNaN(qualitytmp)) { qualitytmp = 0; } if (qualitytmp < 52) { coefficienttmp = 1.116; } else if (qualitytmp < 84) { coefficienttmp = 1.062; } else if (qualitytmp < 116) { coefficienttmp = 1.038; } else if (qualitytmp < 148) { coefficienttmp = 1.028; } else if (qualitytmp < 180) { coefficienttmp = 1.024; } else if (qualitytmp < 212) { coefficienttmp = 1.02; } else if (qualitytmp < 276) { coefficienttmp = 1.017; } else if (qualitytmp >= 276) { coefficienttmp = 1.014; } lengthtmp = (WP_core.sound.duration * (100 / WP_core.INFO_loaded())) * coefficienttmp; WP_core.VAR_lengthtime = getTimer(); WP_core.VAR_lengthtmp = lengthtmp; } else if ((WP_core.VAR_lengthtime + 2000) < getTimer()) { lengthtmp = WP_core.sound.duration; } else { lengthtmp = WP_core.VAR_lengthtmp; } if (isNaN(lengthtmp)) { lengthtmp = 0; } return(lengthtmp); }; WP_core.INFO_filesize = function () { switch (WP_core.INFO_filetype()) { case "mp3" : return(WP_core.sound.getBytesTotal()); case "swf" : return(_root["_level" + WP_core.PARAM_movielevel].getBytesTotal()); } }; WP_core.INFO_fileloaded = function () { switch (WP_core.INFO_filetype()) { case "mp3" : return(WP_core.sound.getBytesLoaded()); case "swf" : return(_root["_level" + WP_core.PARAM_movielevel].getBytesLoaded()); } }; WP_core.INFO_fileposition = function () { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { return(WP_core.sound.position); } return(WP_core.VAR_soundpos); case "swf" : return((_root["_level" + WP_core.PARAM_movielevel]._currentframe / 30) * 1000); } }; WP_core.INFO_filetype = function (filename) { if ((filename == "") || (filename == null)) { return(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].toLowerCase().substr(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].lastIndexOf(".") + 1)); } return(filename.toLowerCase().substr(filename.lastIndexOf(".") + 1)); }; if ((autostart != "") && (autostart != null)) { if (isFalse(autostart)) { WP_core.PARAM_autostart = false; } else { WP_core.PARAM_autostart = true; } } else if ((as != "") && (as != null)) { if (isFalse(as)) { WP_core.PARAM_autostart = false; } else { WP_core.PARAM_autostart = true; } } if ((loop != "") && (loop != null)) { if (isTrue(loop)) { WP_core.PARAM_loop = true; } else { WP_core.PARAM_loop = false; } } else if ((fp != "") && (fp != null)) { if ((fp == "loop") || (fp == "repeat")) { WP_core.PARAM_loop = true; } else { WP_core.PARAM_loop = false; } } if ((volume != "") && (volume != null)) { WP_core.CTRL_volume(volume); } if (isTrue(jscontrol)) { setInterval(jscheck, 50); } var jsMethod; var jsValue; myListener = new Object(); myListener.onResize = function () { layout_update(); }; Stage.addListener(myListener); layout._visible = 0;
Frame 4
function playlistLoading() { if ((WM_playlist.getBytesLoaded() >= WM_playlist.getBytesTotal()) && (WM_playlist.getBytesTotal() > 0)) { var i = 0; while (i < WM_playlist.firstChild.childNodes.length) { WM_playlistfiles[i] = WM_playlist.firstChild.attributes.basedir + WM_playlist.firstChild.childNodes[i].attributes.src; i++; } clearInterval(checkPlaylistLoading); gotoAndStop(_currentframe + 1); } if ((getTimer() > (checktime + 6000)) && ((!WM_playlist.getBytesLoaded()) > 0)) { if (isTrue(debug)) { getURL (("javascript:alert('WebMinster WebPlayer could not find the playlist at:\\n\n '+decodeURI(document.URL.substring(0,document.URL.lastIndexOf('/')+1))+'" + WM_src) + "\\n\n Pease check the url and try it again.');"); } clearInterval(checkPlaylistLoading); gotoAndStop(_currentframe + 1); } } var WM_src; var checkPlaylistLoading; var checktime = 0; if ((src != "") && (src != null)) { WM_src = src; } else if ((fi != "") && (fi != null)) { WM_src = fi; } WM_playlistfiles = new Array(); if ((WP_core.INFO_filetype(WM_src) == "xml") || (WP_core.INFO_filetype(WM_src) == "wpl")) { WM_playlist = new XML(); WM_playlist.ignoreWhite = true; WM_playlist.load(WM_src); checktime = getTimer(); checkPlaylistLoading = setInterval(playlistLoading, 100); } else if (WM_src != null) { WM_playlistfiles[0] = WM_src; gotoAndStop(_currentframe + 1); } else { gotoAndStop(_currentframe + 1); WP_core.VAR_playing = false; } stop();
Frame 5
function imageLoading() { if (((_level2.getBytesLoaded() == _level2.getBytesTotal()) && (_level2._width > 0)) && (_level2._height > 0)) { logo._visible = 0; _level2._x = Math.round((240 - _level2._width) / 2); _level2._y = Math.round((64 - _level2._height) / 2); _level2.onMouseUp = function () { _level2.unloadMovie(); logo._visible = 1; gotoAndStop(_currentframe + 1); }; clearInterval(checkImageLoading); } if ((getTimer() > (checktime + 6000)) && ((!_level2.getBytesLoaded()) > 0)) { if (isTrue(debug)) { getURL (("javascript:alert('WebMinster WebPlayer could not find the image at:\\n\n '+decodeURI(document.URL.substring(0,document.URL.lastIndexOf('/')+1))+'" + image) + "\\n\n Pease check the url and try it again.');"); } unloadMovieNum (2); clearInterval(checkImageLoading); gotoAndStop(_currentframe + 1); } } var checkImageLoading; if (((WP_core.INFO_filetype(image) == "jpg") || (WP_core.INFO_filetype(image) == "jpeg")) || (WP_core.INFO_filetype(image) == "jpe")) { loadMovieNum (image, 2); stop(); checktime = getTimer(); checkImageLoading = setInterval(imageLoading, 2); } else { gotoAndStop(_currentframe + 1); } stop();
Frame 6
function checkskiptime() { if (getTimer() > (skipTime + 2000)) { WM_CTRL_skip(); skipTime = 0; clearInterval(skipID); } } function layout_update() { if ((WP_core.INFO_playing() && (WP_core.INFO_playlistentry() == WP_core.INFO_playlistlength())) && (WP_core.INFO_position() == 100)) { if ((skipped == false) && (WM_INFO_skip() == true)) { clearInterval(skipID); skipID = setInterval(checkskiptime, 10); skipTime = getTimer(); skipped = true; } } else { if ((skipped == false) && (skipTime > 0)) { clearInterval(skipID); } skipped = false; } switch (WP_core.INFO_filetype()) { case "mp3" : if (((lastFileType != "audio") || (lastStageWidth != Stage.width)) || (lastStageHeight != Stage.height)) { layout.layout(Stage.width, Stage.height); layoutHeight = Stage.height; layout._visible = 1; logo._visible = 0; } lastFileType = "audio"; lastFile = WP_core.INFO_playlistentry(); clearInterval(swfloadingID); swfloadstatus = 1; break; case "swf" : if (lastFile != WP_core.INFO_playlistentry()) { swfloadstatus = 1; swfloadtimer = getTimer(); clearInterval(swfloadingID); swfloadingID = setInterval(swfloading, 10); lastFile = WP_core.INFO_playlistentry(); } lastFileType = "movie"; break; default : if ((lastStageWidth != Stage.width) || (lastStageHeight != Stage.height)) { layout.layout(Stage.width, Stage.height); layoutHeight = Stage.height; layout._visible = 1; logo._visible = 0; } clearInterval(swfloadingID); lastFileType = ""; } lastStageWidth = Stage.width; lastStageHeight = Stage.height; layout.butupdate(layoutHeight); if (Math.min(Stage.height, Stage.width) < 14) { layout._visible = 0; } } function swfloading() { if (swfloadstatus == 1) { _level1.gotoAndStop(1); _level1._visible = 0; layout._visible = 0; logo._visible = 1; if ((_level1._framesloaded >= 1) && (getTimer() > (swfloadtimer + 100))) { swfloadstatus = 2; swfloadtimer = getTimer(); _level1.gotoAndStop(1); } } else if (swfloadstatus == 2) { _level1._visible = 0; if (getTimer() > (swfloadtimer + 100)) { if (Stage.height < (_level1._height + 16)) { if (Math.round(Stage.height / 2) == Math.floor(Stage.height / 2)) { var yadd = 0; } else { var yadd = 1; } layout.layout(_level1._width, 15); layoutHeight = 15; } else { var yadd = 0; layout.layout(_level1._width, 16); layoutHeight = 16; } layout._y = Math.round((_level1._height / 2) + 24) + yadd; _level1._x = Math.round((240 - _level1._width) / 2); _level1._y = Math.round(((64 - _level1._height) / 2) - 8) + yadd; WM_mask._x = Math.round((240 - _level1._width) / 2); WM_mask._y = Math.round(((64 - _level1._height) / 2) - 8) + yadd; WM_mask._width = _level1._width; WM_mask._height = _level1._height; _level1.setMask(WM_mask); if (isFalse(_level1.audio)) { swfaudio = false; } else { swfaudio = true; } swfloadstatus = 3; swfloadtimer = getTimer(); } } else if (swfloadstatus == 3) { if (getTimer() > (swfloadtimer + 100)) { layout._visible = 1; _level1._visible = 1; logo._visible = 0; if (WP_core.INFO_playing()) { _level1.play(); } layout.butupdate(layoutHeight); swfloadstatus = 0; swfloadtimer = 0; clearInterval(swfloadingID); } } } function fileinfo_update() { layout.but1.fileinfo_update(); } WP_core.fillplaylist(WM_playlistfiles); var lastFileType; var lastFile = 0; var lastStageWidth = Stage.width; var lastStageHeight = Stage.height; var skipped = false; var layoutHeight; var swfloadingID; var swfloadstatus = 1; var swfloadtimer = 0; var swfaudio = true; var skipID; var skipTime = 0; attachMovie("lib_quad", "WM_mask", 4); WM_mask._visible = 0; stop();
Symbol 11 MovieClip [user_mask] Frame 1
function mask(mwidth, mheight, tr, br, bl, tl) { setsize("tr", tr, tr); setpos("tr", mwidth - tr, 0); setsize("br", br, br); setpos("br", mwidth - br, mheight - br); setsize("bl", bl, bl); setpos("bl", 0, mheight - bl); setsize("tl", tl, tl); setpos("tl", 0, 0); setsize("t", (mwidth - tl) - tr, mheight - Math.max(bl, br)); setpos("t", tl, 0); setsize("r", mwidth - Math.max(tl, bl), (mheight - tr) - br); setpos("r", Math.max(tl, bl), tr); setsize("b", (mwidth - bl) - br, mheight - Math.max(tl, tr)); setpos("b", bl, Math.max(tl, tr)); setsize("l", mwidth - Math.max(tr, br), (mheight - tl) - bl); setpos("l", 0, tl); if (((tl + br) > mwidth) || ((tl + br) > mheight)) { c._width = Math.abs((mwidth - tl) - br); c._height = Math.abs((mheight - tl) - br); c._x = tl; c._y = mheight - br; } else if (((tr + bl) > mwidth) || ((tr + bl) > mheight)) { c._width = Math.abs((mwidth - tr) - bl); c._height = Math.abs((mheight - tr) - bl); c._x = bl; c._y = mheight - bl; } else { c._width = 0; c._height = 0; } } function setsize(object, x, y) { this[object]._width = x; this[object]._height = y; } function setpos(object, x, y) { this[object]._x = x; this[object]._y = y; }
Symbol 13 Button [lib_quad]
on (press) { buttonpress = 1; startDrag (faderbut, true, 8, 6, 8 + Math.round((width - 16) * (loadpercent / 100)), 6); faderbut.gotoAndStop(2); } on (release, dragOut) { buttonpress = 0; stopDrag(); faderbut.gotoAndStop(1); }
Symbol 18 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 1
function fader(setwidth) { width = setwidth; faderbg._width = width - 12; loadstatus._width = width - 16; loadstatus._x = width - 6; faderarea._width = width; mask.mask(width - 12, 4, 2, 2, 2, 2); mask2.mask(width - 16, 4, 2, 2, 2, 2); faderbg.setMask(mask); loadstatus.setMask(mask2); } function getpos() { return(((faderbut._x - 8) / (width - 16)) * 100); } function setpos(pos) { faderbut._x = Math.round((width - 16) * (pos / 100)) + 8; } function setloadstatus(percent) { if (percent < 0) { percent = 0; } else if (percent > 100) { percent = 100; } loadstatus._width = (width - 16) - Math.round((width - 16) * (percent / 100)); loadpercent = percent; } var width; var buttonpress = 0; var loadpercent = 0; faderarea.useHandCursor = 0;
Symbol 25 Button [lib_quad]
on (press) { _parent.gotoAndStop(4); } on (dragOut) { _parent.gotoAndStop(2); } on (release) { _parent.gotoAndStop(2); }
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 2
WP_core = new Object(); WP_core.PARAM_autostart = true; WP_core.PARAM_loop = false; WP_core.PARAM_moviename = "movie"; WP_core.PARAM_movielevel = 1; WP_core.PARAM_refreshlayout = "layout_update"; WP_core.PARAM_refreshfileinfo = "fileinfo_update"; WP_core.PARAM_errorcall = "wmError"; WP_core.VAR_soundpos = 0; WP_core.VAR_playing = true; WP_core.VAR_playlist = new Array(); WP_core.VAR_playlistentry = 1; WP_core.VAR_theend = false; WP_core.VAR_checkfileinfoID; WP_core.VAR_checkloadingID; WP_core.VAR_checkendID; WP_core.VAR_checktime = 0; WP_core.VAR_fileinfotime = 0; WP_core.VAR_lengthtime = 0; WP_core.VAR_lengthtmp = 0; WP_core.FILEINFO_artist = ""; WP_core.FILEINFO_creator = ""; WP_core.FILEINFO_title = ""; WP_core.FILEINFO_date = ""; WP_core.FILEINFO_comment = ""; WP_core.FILEINFO_copyright = ""; WP_core.FILEINFO_url = ""; WP_core.FILEINFO_filename = ""; WP_core.FILEINFO_width = 0; WP_core.FILEINFO_height = 0; WP_core.sound = new Sound(); WP_core.sound.setVolume(80); WP_core.CTRL_play = function () { if (WP_core.INFO_playing()) { return(undefined); } switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_filesize() == null) { WP_core.VAR_playing = true; WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } else if (WP_core.INFO_position() == 100) { WP_core.sound.start(0); } else { WP_core.sound.start(WP_core.VAR_soundpos / 1000); } break; case "swf" : if (_root["_level" + WP_core.PARAM_movielevel]._currentframe == _root["_level" + WP_core.PARAM_movielevel]._totalframes) { _root["_level" + WP_core.PARAM_movielevel].gotoAndPlay(2); } else { _root["_level" + WP_core.PARAM_movielevel].play(); } } WP_core.VAR_playing = true; clearInterval(WP_core.VAR_checkendID); WP_core.VAR_checkendID = setInterval(WP_core, "checkend", 10); _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_pause = function () { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { WP_core.VAR_soundpos = WP_core.sound.position; } WP_core.sound.stop(); break; case "swf" : _root["_level" + WP_core.PARAM_movielevel].stop(); } WP_core.VAR_playing = false; clearInterval(WP_core.VAR_checkendID); _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_stop = function () { WP_core.CTRL_pause(); switch (WP_core.INFO_filetype()) { case "mp3" : WP_core.CTRL_position(0); return; case "swf" : _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(1); _root[WP_core.PARAM_refreshlayout].call(); } }; WP_core.CTRL_position = function (newpos) { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { if (newpos == 100) { WP_core.CTRL_pause(); WP_core.VAR_soundpos = WP_core.INFO_filelength(); } else { WP_core.sound.start((WP_core.INFO_filelength() * newpos) / 100000); } } else { WP_core.VAR_soundpos = (WP_core.INFO_filelength() * newpos) / 100; } break; case "swf" : if (WP_core.INFO_playing()) { if (newpos == 100) { WP_core.CTRL_pause(); WP_core.CTRL_position(100); } else { _root["_level" + WP_core.PARAM_movielevel].gotoAndPlay(2 + Math.round((_root["_level" + WP_core.PARAM_movielevel]._totalframes - 2) * (newpos / 100))); } } else { _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(2 + Math.round((_root["_level" + WP_core.PARAM_movielevel]._totalframes - 2) * (newpos / 100))); } } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_volume = function (newvol) { if ((newvol >= 0) && (newvol <= 100)) { WP_core.sound.setVolume(newvol); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_next = function () { if (WP_core.INFO_playlistlength() < 2) { return(undefined); } if (WP_core.VAR_playlistentry == WP_core.VAR_playlist.length) { if (WP_core.PARAM_loop == true) { WP_core.VAR_playlistentry = 1; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } } else { WP_core.VAR_playlistentry++; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_previous = function () { if (WP_core.INFO_playlistlength() < 2) { return(undefined); } if (WP_core.VAR_playlistentry == 1) { if (WP_core.PARAM_loop == true) { WP_core.VAR_playlistentry = WP_core.VAR_playlist.length; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } } else { WP_core.VAR_playlistentry--; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_goto = function (value) { if (value == WP_core.VAR_playlistentry) { switch (WP_core.INFO_filetype()) { case "mp3" : WP_core.CTRL_position(0); break; case "swf" : if (WP_core.INFO_playing()) { WP_core.CTRL_position(0); } else { _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(1); _root[WP_core.PARAM_refreshlayout].call(); } } } else if (value <= WP_core.INFO_playlistlength()) { WP_core.VAR_playlistentry = value; WP_core.loadfile(WP_core.VAR_playlist[value - 1]); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.loadfile = function (file) { unloadMovieNum (WP_core.PARAM_movielevel); var volumetmp = WP_core.sound.getVolume(); WP_core.sound = new Sound(); WP_core.sound.setVolume(100); WP_core.FILEINFO_width = 0; WP_core.FILEINFO_height = 0; WP_core.FILEINFO_artist = ""; WP_core.FILEINFO_creator = ""; WP_core.FILEINFO_title = ""; WP_core.FILEINFO_date = ""; WP_core.FILEINFO_comment = ""; WP_core.FILEINFO_copyright = ""; WP_core.FILEINFO_url = ""; WP_core.FILEINFO_filename = ""; switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { WP_core.sound.loadSound(file, true); WP_core.VAR_checktime = getTimer(); clearInterval(WP_core.VAR_checkendID); WP_core.VAR_checkendID = setInterval(WP_core, "checkend", 10); clearInterval(WP_core.VAR_checkloadingID); WP_core.VAR_checkloadingID = setInterval(WP_core, "checkloading", 10); } break; case "swf" : loadMovieNum (file, WP_core.PARAM_movielevel); WP_core.VAR_checktime = getTimer(); clearInterval(WP_core.VAR_checkloadingID); WP_core.VAR_checkloadingID = setInterval(WP_core, "checkloading", 10); clearInterval(WP_core.VAR_checkendID); WP_core.VAR_checkendID = setInterval(WP_core, "checkend", 10); } WP_core.sound.setVolume(volumetmp); WP_core.FILEINFO_filename = WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].substr(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].lastIndexOf("/") + 1); clearInterval(WP_core.VAR_checkfileinfoID); WP_core.VAR_checkfileinfoID = setInterval(WP_core, "checkfileinfo", 200); _root[WP_core.PARAM_refreshfileinfo].call(); _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.fillplaylist = function (newpl) { WP_core.VAR_playlistentry = 1; WP_core.VAR_playlist = newpl; if (WP_core.PARAM_autostart == false) { WP_core.VAR_playing = false; } WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); }; WP_core.checkloading = function () { if ((getTimer() > (WP_core.VAR_checktime + 6000)) && ((!WP_core.INFO_loaded()) > 0)) { if (isTrue(debug)) { _root[WP_core.PARAM_errorcall].call(); } clearInterval(WP_core.VAR_checkloadingID); WP_core.VAR_checktime = 0; if (WP_core.INFO_playing()) { WP_core.finalprogress(); } } switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_filesize() > 0) { clearInterval(WP_core.VAR_checkloadingID); } return; case "swf" : if (!((_root["_level" + WP_core.PARAM_movielevel]._width > 0) && (_root["_level" + WP_core.PARAM_movielevel]._height > 0))) { break; } if ((_root["_level" + WP_core.PARAM_movielevel]._width == WP_core.FILEINFO_width) && (_root["_level" + WP_core.PARAM_movielevel]._height == WP_core.FILEINFO_height)) { if (!WP_core.INFO_playing()) { WP_core.CTRL_pause(); _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(1); } _root[WP_core.PARAM_refreshlayout].call(); clearInterval(WP_core.VAR_checkloadingID); } WP_core.FILEINFO_width = _root["_level" + WP_core.PARAM_movielevel]._width; WP_core.FILEINFO_height = _root["_level" + WP_core.PARAM_movielevel]._height; } }; WP_core.checkend = function () { if ((WP_core.INFO_position() == 100) && (WP_core.INFO_loaded() == 100)) { if (WP_core.VAR_theend == false) { WP_core.finalprogress(); WP_core.VAR_theend = true; } } else { WP_core.VAR_theend = false; } }; WP_core.finalprogress = function () { if ((WP_core.INFO_playlistentry() == WP_core.INFO_playlistlength()) && (WP_core.INFO_playing())) { _root[WP_core.PARAM_refreshlayout].call(); if (WP_core.PARAM_loop == true) { if (WP_core.INFO_playlistlength() == 1) { WP_core.CTRL_position(0); } else { WP_core.CTRL_next(); } } else { WP_core.CTRL_pause(); } } else { WP_core.CTRL_next(); } }; WP_core.checkfileinfo = function () { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.sound.id3.TPE1 != WP_core.FILEINFO_artist) { WP_core.FILEINFO_artist = WP_core.sound.id3.TPE1; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.TIT2 != WP_core.FILEINFO_title) { WP_core.FILEINFO_title = WP_core.sound.id3.TIT2; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.TYER != WP_core.FILEINFO_date) { WP_core.FILEINFO_date = WP_core.sound.id3.TYER; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.COMM != WP_core.FILEINFO_comment) { WP_core.FILEINFO_comment = WP_core.sound.id3.COMM; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.TCOP != WP_core.FILEINFO_copyright) { WP_core.FILEINFO_copyright = WP_core.sound.id3.TCOP; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.WXXX != WP_core.FILEINFO_url) { WP_core.FILEINFO_url = WP_core.sound.id3.WXXX; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.FILEINFO_artist == " ") { WP_core.FILEINFO_artist = ""; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.FILEINFO_title == " ") { WP_core.FILEINFO_title = ""; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.INFO_loaded() == 100) { if ((WP_core.sound.id3.TPE1 == null) || (WP_core.sound.id3.TPE1 == "")) { WP_core.FILEINFO_artist = WP_core.sound.id3.artist; _root[WP_core.PARAM_refreshfileinfo].call(); } if ((WP_core.sound.id3.TIT2 == null) || (WP_core.sound.id3.TIT2 == "")) { WP_core.FILEINFO_title = WP_core.sound.id3.songname; _root[WP_core.PARAM_refreshfileinfo].call(); } if ((WP_core.sound.id3.TYER == null) || (WP_core.sound.id3.TYER == "")) { WP_core.FILEINFO_date = WP_core.sound.id3.year; _root[WP_core.PARAM_refreshfileinfo].call(); } if ((WP_core.sound.id3.COMM == null) || (WP_core.sound.id3.COMM == "")) { WP_core.FILEINFO_comment = WP_core.sound.id3.comment; _root[WP_core.PARAM_refreshfileinfo].call(); } } break; case "swf" : WP_core.FILEINFO_title = _root["_level" + WP_core.PARAM_movielevel].title; WP_core.FILEINFO_creator = _root["_level" + WP_core.PARAM_movielevel].creator; WP_core.FILEINFO_date = _root["_level" + WP_core.PARAM_movielevel].date; WP_core.FILEINFO_comment = _root["_level" + WP_core.PARAM_movielevel].comment; WP_core.FILEINFO_copyright = _root["_level" + WP_core.PARAM_movielevel].copyright; WP_core.FILEINFO_url = _root["_level" + WP_core.PARAM_movielevel].url; _root[WP_core.PARAM_refreshfileinfo].call(); } if (((WP_core.INFO_loaded() == 100) || (WP_core.INFO_playlistlength() == 0)) && (WP_core.VAR_fileinfotime == 0)) { WP_core.VAR_fileinfotime = getTimer(); } if ((WP_core.VAR_fileinfotime > 0) && (getTimer() > (WP_core.VAR_fileinfotime + 2000))) { WP_core.VAR_fileinfotime = 0; _root[WP_core.PARAM_refreshfileinfo].call(); clearInterval(WP_core.VAR_checkfileinfoID); } }; WP_core.INFO_playing = function () { if (WP_core.VAR_playing) { return(true); } return(false); }; WP_core.INFO_position = function () { if (WP_core.INFO_filesize() > 0) { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { if ((!WP_core.INFO_filelength()) > 0) { return(0); } var postmp = ((WP_core.sound.position + 1) / WP_core.INFO_filelength()); if (postmp > 1) { postmp = 1; } return(postmp * 100); } return((WP_core.VAR_soundpos / WP_core.INFO_filelength()) * 100); case "swf" : if ((_root["_level" + WP_core.PARAM_movielevel]._currentframe == 1) || (_root["_level" + WP_core.PARAM_movielevel]._totalframes < 2)) { return(0); } return(((_root["_level" + WP_core.PARAM_movielevel]._currentframe - 2) / (_root["_level" + WP_core.PARAM_movielevel]._totalframes - 2)) * 100); return(0); } } return(0); }; WP_core.INFO_volume = function () { return(WP_core.sound.getVolume()); }; WP_core.INFO_loaded = function () { var loadtmp; switch (WP_core.INFO_filetype()) { case "mp3" : loadtmp = (WP_core.sound.getBytesLoaded() / WP_core.INFO_filesize()) * 100; break; case "swf" : loadtmp = (_root["_level" + WP_core.PARAM_movielevel]._framesloaded / _root["_level" + WP_core.PARAM_movielevel]._totalframes) * 100; } if (isNaN(loadtmp)) { loadtmp = 0; } return(loadtmp); }; WP_core.INFO_playlistlength = function () { return(WP_core.VAR_playlist.length); }; WP_core.INFO_playlistentry = function () { return(WP_core.VAR_playlistentry); }; WP_core.INFO_quality = function () { var qualitytmp = ((WP_core.INFO_filesize() / WP_core.INFO_filelength()) * 8); if (isNaN(qualitytmp)) { qualitytmp = 0; } return(qualitytmp); }; WP_core.INFO_filelength = function () { var lengthtmp; if (!(WP_core.INFO_filetype() === "mp3")) { } else if (WP_core.INFO_loaded() < 100) { var coefficienttmp; var qualitytmp = (((WP_core.INFO_fileloaded() / WP_core.sound.duration) * 8) - 3.5); if (isNaN(qualitytmp)) { qualitytmp = 0; } if (qualitytmp < 52) { coefficienttmp = 1.116; } else if (qualitytmp < 84) { coefficienttmp = 1.062; } else if (qualitytmp < 116) { coefficienttmp = 1.038; } else if (qualitytmp < 148) { coefficienttmp = 1.028; } else if (qualitytmp < 180) { coefficienttmp = 1.024; } else if (qualitytmp < 212) { coefficienttmp = 1.02; } else if (qualitytmp < 276) { coefficienttmp = 1.017; } else if (qualitytmp >= 276) { coefficienttmp = 1.014; } lengthtmp = (WP_core.sound.duration * (100 / WP_core.INFO_loaded())) * coefficienttmp; WP_core.VAR_lengthtime = getTimer(); WP_core.VAR_lengthtmp = lengthtmp; } else if ((WP_core.VAR_lengthtime + 2000) < getTimer()) { lengthtmp = WP_core.sound.duration; } else { lengthtmp = WP_core.VAR_lengthtmp; } if (isNaN(lengthtmp)) { lengthtmp = 0; } return(lengthtmp); }; WP_core.INFO_filesize = function () { switch (WP_core.INFO_filetype()) { case "mp3" : return(WP_core.sound.getBytesTotal()); case "swf" : return(_root["_level" + WP_core.PARAM_movielevel].getBytesTotal()); } }; WP_core.INFO_fileloaded = function () { switch (WP_core.INFO_filetype()) { case "mp3" : return(WP_core.sound.getBytesLoaded()); case "swf" : return(_root["_level" + WP_core.PARAM_movielevel].getBytesLoaded()); } }; WP_core.INFO_fileposition = function () { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { return(WP_core.sound.position); } return(WP_core.VAR_soundpos); case "swf" : return((_root["_level" + WP_core.PARAM_movielevel]._currentframe / 30) * 1000); } }; WP_core.INFO_filetype = function (filename) { if ((filename == "") || (filename == null)) { return(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].toLowerCase().substr(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].lastIndexOf(".") + 1)); } return(filename.toLowerCase().substr(filename.lastIndexOf(".") + 1)); };
Symbol 34 MovieClip Frame 3
WP_core = new Object(); WP_core.PARAM_autostart = true; WP_core.PARAM_loop = false; WP_core.PARAM_moviename = "movie"; WP_core.PARAM_movielevel = 1; WP_core.PARAM_refreshlayout = "layout_update"; WP_core.PARAM_refreshfileinfo = "fileinfo_update"; WP_core.PARAM_errorcall = "wmError"; WP_core.VAR_soundpos = 0; WP_core.VAR_playing = true; WP_core.VAR_playlist = new Array(); WP_core.VAR_playlistentry = 1; WP_core.VAR_theend = false; WP_core.VAR_checkfileinfoID; WP_core.VAR_checkloadingID; WP_core.VAR_checkendID; WP_core.VAR_checktime = 0; WP_core.VAR_fileinfotime = 0; WP_core.VAR_lengthtime = 0; WP_core.VAR_lengthtmp = 0; WP_core.FILEINFO_artist = ""; WP_core.FILEINFO_creator = ""; WP_core.FILEINFO_title = ""; WP_core.FILEINFO_date = ""; WP_core.FILEINFO_comment = ""; WP_core.FILEINFO_copyright = ""; WP_core.FILEINFO_url = ""; WP_core.FILEINFO_filename = ""; WP_core.FILEINFO_width = 0; WP_core.FILEINFO_height = 0; WP_core.sound = new Sound(); WP_core.sound.setVolume(80); WP_core.CTRL_play = function () { if (WP_core.INFO_playing()) { return(undefined); } switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_filesize() == null) { WP_core.VAR_playing = true; WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } else if (WP_core.INFO_position() == 100) { WP_core.sound.start(0); } else { WP_core.sound.start(WP_core.VAR_soundpos / 1000); } break; case "swf" : if (_root["_level" + WP_core.PARAM_movielevel]._currentframe == _root["_level" + WP_core.PARAM_movielevel]._totalframes) { _root["_level" + WP_core.PARAM_movielevel].gotoAndPlay(2); } else { _root["_level" + WP_core.PARAM_movielevel].play(); } } WP_core.VAR_playing = true; clearInterval(WP_core.VAR_checkendID); WP_core.VAR_checkendID = setInterval(WP_core, "checkend", 10); _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_pause = function () { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { WP_core.VAR_soundpos = WP_core.sound.position; } WP_core.sound.stop(); break; case "swf" : _root["_level" + WP_core.PARAM_movielevel].stop(); } WP_core.VAR_playing = false; clearInterval(WP_core.VAR_checkendID); _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_stop = function () { WP_core.CTRL_pause(); switch (WP_core.INFO_filetype()) { case "mp3" : WP_core.CTRL_position(0); return; case "swf" : _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(1); _root[WP_core.PARAM_refreshlayout].call(); } }; WP_core.CTRL_position = function (newpos) { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { if (newpos == 100) { WP_core.CTRL_pause(); WP_core.VAR_soundpos = WP_core.INFO_filelength(); } else { WP_core.sound.start((WP_core.INFO_filelength() * newpos) / 100000); } } else { WP_core.VAR_soundpos = (WP_core.INFO_filelength() * newpos) / 100; } break; case "swf" : if (WP_core.INFO_playing()) { if (newpos == 100) { WP_core.CTRL_pause(); WP_core.CTRL_position(100); } else { _root["_level" + WP_core.PARAM_movielevel].gotoAndPlay(2 + Math.round((_root["_level" + WP_core.PARAM_movielevel]._totalframes - 2) * (newpos / 100))); } } else { _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(2 + Math.round((_root["_level" + WP_core.PARAM_movielevel]._totalframes - 2) * (newpos / 100))); } } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_volume = function (newvol) { if ((newvol >= 0) && (newvol <= 100)) { WP_core.sound.setVolume(newvol); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_next = function () { if (WP_core.INFO_playlistlength() < 2) { return(undefined); } if (WP_core.VAR_playlistentry == WP_core.VAR_playlist.length) { if (WP_core.PARAM_loop == true) { WP_core.VAR_playlistentry = 1; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } } else { WP_core.VAR_playlistentry++; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_previous = function () { if (WP_core.INFO_playlistlength() < 2) { return(undefined); } if (WP_core.VAR_playlistentry == 1) { if (WP_core.PARAM_loop == true) { WP_core.VAR_playlistentry = WP_core.VAR_playlist.length; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } } else { WP_core.VAR_playlistentry--; WP_core.CTRL_position(0); WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.CTRL_goto = function (value) { if (value == WP_core.VAR_playlistentry) { switch (WP_core.INFO_filetype()) { case "mp3" : WP_core.CTRL_position(0); break; case "swf" : if (WP_core.INFO_playing()) { WP_core.CTRL_position(0); } else { _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(1); _root[WP_core.PARAM_refreshlayout].call(); } } } else if (value <= WP_core.INFO_playlistlength()) { WP_core.VAR_playlistentry = value; WP_core.loadfile(WP_core.VAR_playlist[value - 1]); } _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.loadfile = function (file) { unloadMovieNum (WP_core.PARAM_movielevel); var volumetmp = WP_core.sound.getVolume(); WP_core.sound = new Sound(); WP_core.sound.setVolume(100); WP_core.FILEINFO_width = 0; WP_core.FILEINFO_height = 0; WP_core.FILEINFO_artist = ""; WP_core.FILEINFO_creator = ""; WP_core.FILEINFO_title = ""; WP_core.FILEINFO_date = ""; WP_core.FILEINFO_comment = ""; WP_core.FILEINFO_copyright = ""; WP_core.FILEINFO_url = ""; WP_core.FILEINFO_filename = ""; switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { WP_core.sound.loadSound(file, true); WP_core.VAR_checktime = getTimer(); clearInterval(WP_core.VAR_checkendID); WP_core.VAR_checkendID = setInterval(WP_core, "checkend", 10); clearInterval(WP_core.VAR_checkloadingID); WP_core.VAR_checkloadingID = setInterval(WP_core, "checkloading", 10); } break; case "swf" : loadMovieNum (file, WP_core.PARAM_movielevel); WP_core.VAR_checktime = getTimer(); clearInterval(WP_core.VAR_checkloadingID); WP_core.VAR_checkloadingID = setInterval(WP_core, "checkloading", 10); clearInterval(WP_core.VAR_checkendID); WP_core.VAR_checkendID = setInterval(WP_core, "checkend", 10); } WP_core.sound.setVolume(volumetmp); WP_core.FILEINFO_filename = WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].substr(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].lastIndexOf("/") + 1); clearInterval(WP_core.VAR_checkfileinfoID); WP_core.VAR_checkfileinfoID = setInterval(WP_core, "checkfileinfo", 200); _root[WP_core.PARAM_refreshfileinfo].call(); _root[WP_core.PARAM_refreshlayout].call(); }; WP_core.fillplaylist = function (newpl) { WP_core.VAR_playlistentry = 1; WP_core.VAR_playlist = newpl; if (WP_core.PARAM_autostart == false) { WP_core.VAR_playing = false; } WP_core.loadfile(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1]); }; WP_core.checkloading = function () { if ((getTimer() > (WP_core.VAR_checktime + 6000)) && ((!WP_core.INFO_loaded()) > 0)) { if (isTrue(debug)) { _root[WP_core.PARAM_errorcall].call(); } clearInterval(WP_core.VAR_checkloadingID); WP_core.VAR_checktime = 0; if (WP_core.INFO_playing()) { WP_core.finalprogress(); } } switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_filesize() > 0) { clearInterval(WP_core.VAR_checkloadingID); } return; case "swf" : if (!((_root["_level" + WP_core.PARAM_movielevel]._width > 0) && (_root["_level" + WP_core.PARAM_movielevel]._height > 0))) { break; } if ((_root["_level" + WP_core.PARAM_movielevel]._width == WP_core.FILEINFO_width) && (_root["_level" + WP_core.PARAM_movielevel]._height == WP_core.FILEINFO_height)) { if (!WP_core.INFO_playing()) { WP_core.CTRL_pause(); _root["_level" + WP_core.PARAM_movielevel].gotoAndStop(1); } _root[WP_core.PARAM_refreshlayout].call(); clearInterval(WP_core.VAR_checkloadingID); } WP_core.FILEINFO_width = _root["_level" + WP_core.PARAM_movielevel]._width; WP_core.FILEINFO_height = _root["_level" + WP_core.PARAM_movielevel]._height; } }; WP_core.checkend = function () { if ((WP_core.INFO_position() == 100) && (WP_core.INFO_loaded() == 100)) { if (WP_core.VAR_theend == false) { WP_core.finalprogress(); WP_core.VAR_theend = true; } } else { WP_core.VAR_theend = false; } }; WP_core.finalprogress = function () { if ((WP_core.INFO_playlistentry() == WP_core.INFO_playlistlength()) && (WP_core.INFO_playing())) { _root[WP_core.PARAM_refreshlayout].call(); if (WP_core.PARAM_loop == true) { if (WP_core.INFO_playlistlength() == 1) { WP_core.CTRL_position(0); } else { WP_core.CTRL_next(); } } else { WP_core.CTRL_pause(); } } else { WP_core.CTRL_next(); } }; WP_core.checkfileinfo = function () { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.sound.id3.TPE1 != WP_core.FILEINFO_artist) { WP_core.FILEINFO_artist = WP_core.sound.id3.TPE1; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.TIT2 != WP_core.FILEINFO_title) { WP_core.FILEINFO_title = WP_core.sound.id3.TIT2; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.TYER != WP_core.FILEINFO_date) { WP_core.FILEINFO_date = WP_core.sound.id3.TYER; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.COMM != WP_core.FILEINFO_comment) { WP_core.FILEINFO_comment = WP_core.sound.id3.COMM; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.TCOP != WP_core.FILEINFO_copyright) { WP_core.FILEINFO_copyright = WP_core.sound.id3.TCOP; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.sound.id3.WXXX != WP_core.FILEINFO_url) { WP_core.FILEINFO_url = WP_core.sound.id3.WXXX; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.FILEINFO_artist == " ") { WP_core.FILEINFO_artist = ""; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.FILEINFO_title == " ") { WP_core.FILEINFO_title = ""; _root[WP_core.PARAM_refreshfileinfo].call(); } if (WP_core.INFO_loaded() == 100) { if ((WP_core.sound.id3.TPE1 == null) || (WP_core.sound.id3.TPE1 == "")) { WP_core.FILEINFO_artist = WP_core.sound.id3.artist; _root[WP_core.PARAM_refreshfileinfo].call(); } if ((WP_core.sound.id3.TIT2 == null) || (WP_core.sound.id3.TIT2 == "")) { WP_core.FILEINFO_title = WP_core.sound.id3.songname; _root[WP_core.PARAM_refreshfileinfo].call(); } if ((WP_core.sound.id3.TYER == null) || (WP_core.sound.id3.TYER == "")) { WP_core.FILEINFO_date = WP_core.sound.id3.year; _root[WP_core.PARAM_refreshfileinfo].call(); } if ((WP_core.sound.id3.COMM == null) || (WP_core.sound.id3.COMM == "")) { WP_core.FILEINFO_comment = WP_core.sound.id3.comment; _root[WP_core.PARAM_refreshfileinfo].call(); } } break; case "swf" : WP_core.FILEINFO_title = _root["_level" + WP_core.PARAM_movielevel].title; WP_core.FILEINFO_creator = _root["_level" + WP_core.PARAM_movielevel].creator; WP_core.FILEINFO_date = _root["_level" + WP_core.PARAM_movielevel].date; WP_core.FILEINFO_comment = _root["_level" + WP_core.PARAM_movielevel].comment; WP_core.FILEINFO_copyright = _root["_level" + WP_core.PARAM_movielevel].copyright; WP_core.FILEINFO_url = _root["_level" + WP_core.PARAM_movielevel].url; _root[WP_core.PARAM_refreshfileinfo].call(); } if (((WP_core.INFO_loaded() == 100) || (WP_core.INFO_playlistlength() == 0)) && (WP_core.VAR_fileinfotime == 0)) { WP_core.VAR_fileinfotime = getTimer(); } if ((WP_core.VAR_fileinfotime > 0) && (getTimer() > (WP_core.VAR_fileinfotime + 2000))) { WP_core.VAR_fileinfotime = 0; _root[WP_core.PARAM_refreshfileinfo].call(); clearInterval(WP_core.VAR_checkfileinfoID); } }; WP_core.INFO_playing = function () { if (WP_core.VAR_playing) { return(true); } return(false); }; WP_core.INFO_position = function () { if (WP_core.INFO_filesize() > 0) { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { if ((!WP_core.INFO_filelength()) > 0) { return(0); } var postmp = ((WP_core.sound.position + 1) / WP_core.INFO_filelength()); if (postmp > 1) { postmp = 1; } return(postmp * 100); } return((WP_core.VAR_soundpos / WP_core.INFO_filelength()) * 100); case "swf" : if ((_root["_level" + WP_core.PARAM_movielevel]._currentframe == 1) || (_root["_level" + WP_core.PARAM_movielevel]._totalframes < 2)) { return(0); } return(((_root["_level" + WP_core.PARAM_movielevel]._currentframe - 2) / (_root["_level" + WP_core.PARAM_movielevel]._totalframes - 2)) * 100); return(0); } } return(0); }; WP_core.INFO_volume = function () { return(WP_core.sound.getVolume()); }; WP_core.INFO_loaded = function () { var loadtmp; switch (WP_core.INFO_filetype()) { case "mp3" : loadtmp = (WP_core.sound.getBytesLoaded() / WP_core.INFO_filesize()) * 100; break; case "swf" : loadtmp = (_root["_level" + WP_core.PARAM_movielevel]._framesloaded / _root["_level" + WP_core.PARAM_movielevel]._totalframes) * 100; } if (isNaN(loadtmp)) { loadtmp = 0; } return(loadtmp); }; WP_core.INFO_playlistlength = function () { return(WP_core.VAR_playlist.length); }; WP_core.INFO_playlistentry = function () { return(WP_core.VAR_playlistentry); }; WP_core.INFO_quality = function () { var qualitytmp = ((WP_core.INFO_filesize() / WP_core.INFO_filelength()) * 8); if (isNaN(qualitytmp)) { qualitytmp = 0; } return(qualitytmp); }; WP_core.INFO_filelength = function () { var lengthtmp; if (!(WP_core.INFO_filetype() === "mp3")) { } else if (WP_core.INFO_loaded() < 100) { var coefficienttmp; var qualitytmp = (((WP_core.INFO_fileloaded() / WP_core.sound.duration) * 8) - 3.5); if (isNaN(qualitytmp)) { qualitytmp = 0; } if (qualitytmp < 52) { coefficienttmp = 1.116; } else if (qualitytmp < 84) { coefficienttmp = 1.062; } else if (qualitytmp < 116) { coefficienttmp = 1.038; } else if (qualitytmp < 148) { coefficienttmp = 1.028; } else if (qualitytmp < 180) { coefficienttmp = 1.024; } else if (qualitytmp < 212) { coefficienttmp = 1.02; } else if (qualitytmp < 276) { coefficienttmp = 1.017; } else if (qualitytmp >= 276) { coefficienttmp = 1.014; } lengthtmp = (WP_core.sound.duration * (100 / WP_core.INFO_loaded())) * coefficienttmp; WP_core.VAR_lengthtime = getTimer(); WP_core.VAR_lengthtmp = lengthtmp; } else if ((WP_core.VAR_lengthtime + 2000) < getTimer()) { lengthtmp = WP_core.sound.duration; } else { lengthtmp = WP_core.VAR_lengthtmp; } if (isNaN(lengthtmp)) { lengthtmp = 0; } return(lengthtmp); }; WP_core.INFO_filesize = function () { switch (WP_core.INFO_filetype()) { case "mp3" : return(WP_core.sound.getBytesTotal()); case "swf" : return(_root["_level" + WP_core.PARAM_movielevel].getBytesTotal()); } }; WP_core.INFO_fileloaded = function () { switch (WP_core.INFO_filetype()) { case "mp3" : return(WP_core.sound.getBytesLoaded()); case "swf" : return(_root["_level" + WP_core.PARAM_movielevel].getBytesLoaded()); } }; WP_core.INFO_fileposition = function () { switch (WP_core.INFO_filetype()) { case "mp3" : if (WP_core.INFO_playing()) { return(WP_core.sound.position); } return(WP_core.VAR_soundpos); case "swf" : return((_root["_level" + WP_core.PARAM_movielevel]._currentframe / 30) * 1000); } }; WP_core.INFO_filetype = function (filename) { if ((filename == "") || (filename == null)) { return(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].toLowerCase().substr(WP_core.VAR_playlist[WP_core.VAR_playlistentry - 1].lastIndexOf(".") + 1)); } return(filename.toLowerCase().substr(filename.lastIndexOf(".") + 1)); };
Symbol 35 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
function createbutton(width, height) { button._width = width; button._height = height; button._x = -Math.round(width / 2); button._y = -Math.round(height / 2); } button.useHandCursor = 0;
Symbol 37 MovieClip Frame 2
button.createbutton(14, 14); stop();
Symbol 39 MovieClip [but_small] Frame 1
function buttons(width, height, type) { beginbutton.button.sign.gotoAndStop(3); playbutton.button.sign.gotoAndStop(1); pausebutton.button.sign.gotoAndStop(2); minusbutton.button.sign.gotoAndStop(5); plusbutton.button.sign.gotoAndStop(4); skipbutton.button.sign.gotoAndStop(6); endbutton.button.sign.gotoAndStop(8); infobutton.button.sign.gotoAndStop(7); bg2._x = width - 30; endbutton._x = width - 29; skipbutton._x = width - 29; infobutton._x = width - 14; fader.fader(width - 90); fader._x = 60; fader._y = 1; beginbutton.setMask(maskleft); bg1.setMask(maskbg1); infobutton.setMask(maskright); bg2.setMask(maskbg2); } function update_volume(voldirection) { var voltmp; if (voldirection == 1) { voltmp = _root.WP_core.INFO_volume() + 3; } else if (voldirection == -1) { voltmp = _root.WP_core.INFO_volume() - 3; } if (voltmp > 100) { voltmp = 100; } else if (voltmp < 0) { voltmp = 0; } _root.WP_core.CTRL_volume(voltmp); } function setpos() { _root.WP_core.CTRL_position(fader.getpos()); } function butupdate() { fader.setpos(_root.WP_core.INFO_position()); if (_root.WP_core.INFO_playing() == true) { clearInterval(smallLayoutID); smallLayoutID = setInterval(interval, 20); } else { clearInterval(smallLayoutID); interval(); } if ((_root.WP_core.INFO_loaded() < 100) && (((_root.WP_core.INFO_filetype() == "swf") || (_root.WP_core.INFO_playing() == true)) || (_root.WP_core.INFO_loaded() > 0))) { clearInterval(loadstatusID); loadstatusID = setInterval(loadstatus, 20); } else { clearInterval(loadstatusID); loadstatus(); } if (_root.WP_core.INFO_playlistlength() == 0) { pausebutton._visible = 0; playbutton._visible = 1; playbutton.button.button._visible = 0; playbutton.button.sign._alpha = 40; } else if (_root.WP_core.INFO_playing() == true) { pausebutton._visible = 1; playbutton._visible = 0; playbutton.button.button._visible = 1; playbutton.button.sign._alpha = 100; } else { pausebutton._visible = 0; playbutton._visible = 1; playbutton.button.button._visible = 1; playbutton.button.sign._alpha = 100; } if (_root.WP_core.INFO_playlistlength() > 1) { if ((_root.WP_core.INFO_playlistentry() == _root.WP_core.INFO_playlistlength()) && (_root.WM_INFO_skip())) { skipbutton._visible = 1; } else { skipbutton._visible = 0; } } else { skipbutton._visible = 1; } if (_root.WM_INFO_skip()) { skipbutton.button.sign._alpha = 100; skipbutton.button.button._visible = 1; } else { skipbutton.button.sign._alpha = 40; skipbutton.button.button._visible = 0; } if (_root.WP_core.INFO_playlistlength() > 1) { if ((_root.WP_core.INFO_playlistentry() == 1) && ((_root.WP_core.PARAM_loop == false) || (_root.WM_INFO_skip()))) { beginbutton.button.sign._alpha = 40; beginbutton.button.button._visible = 0; endbutton.button.sign._alpha = 100; endbutton.button.button._visible = 1; } else if ((_root.WP_core.INFO_playlistentry() == _root.WP_core.INFO_playlistlength()) && (_root.WP_core.PARAM_loop == false)) { beginbutton.button.sign._alpha = 100; beginbutton.button.button._visible = 1; endbutton.button.sign._alpha = 40; endbutton.button.button._visible = 0; } else { beginbutton.button.sign._alpha = 100; beginbutton.button.button._visible = 1; endbutton.button.sign._alpha = 100; endbutton.button.button._visible = 1; } } else { if ((_root.WP_core.INFO_playlistlength() == 0) || ((_root.WP_core.INFO_position() == 0) && (!_root.WP_core.INFO_playing()))) { beginbutton.button.sign._alpha = 40; beginbutton.button.button._visible = 0; } else { beginbutton.button.sign._alpha = 100; beginbutton.button.button._visible = 1; } endbutton.button.sign._alpha = 40; endbutton.button.button._visible = 0; } if ((_root.WP_core.INFO_filetype() == "swf") && (_root.swfaudio == false)) { plusbutton.button.sign._alpha = 40; plusbutton.button.button._visible = 0; minusbutton.button.sign._alpha = 40; minusbutton.button.button._visible = 0; } else if (_root.WP_core.INFO_volume() >= 100) { plusbutton.button.sign._alpha = 40; plusbutton.button.button._visible = 0; minusbutton.button.sign._alpha = 100; minusbutton.button.button._visible = 1; } else if (_root.WP_core.INFO_volume() <= 0) { minusbutton.button.sign._alpha = 40; minusbutton.button.button._visible = 0; plusbutton.button.sign._alpha = 100; plusbutton.button.button._visible = 1; } else { plusbutton.button.sign._alpha = 100; plusbutton.button.button._visible = 1; minusbutton.button.sign._alpha = 100; minusbutton.button.button._visible = 1; } } function loadstatus() { fader.setloadstatus(_root.WP_core.INFO_loaded() - 4); if (_root.WP_core.INFO_loaded() == 100) { fader.setloadstatus(100); clearInterval(loadstatusID); } } function interval() { if (fader.buttonpress == 0) { fader.setpos(_root.WP_core.INFO_position()); } } infobutton.button.button.onRelease = function () { _root.WM_infobutton(); }; playbutton.button.button.onRelease = function () { _root.WP_core.CTRL_play(); }; pausebutton.button.button.onRelease = function () { _root.WP_core.CTRL_pause(); }; beginbutton.button.button.onRelease = function () { if (_root.WP_core.INFO_playlistlength() > 1) { _root.WP_core.CTRL_previous(); } else { _root.WP_core.CTRL_position(0); } }; endbutton.button.button.onRelease = function () { _root.WP_core.CTRL_next(); }; skipbutton.button.button.onRelease = function () { _root.WM_CTRL_skip(); }; var volumeID; plusbutton.button.button.onPress = function () { clearInterval(volumeID); volumeID = setInterval(update_volume, 36, 1); }; minusbutton.button.button.onPress = function () { clearInterval(volumeID); volumeID = setInterval(update_volume, 36, -1); }; plusbutton.button.button.onRelease = function () { clearInterval(volumeID); }; minusbutton.button.button.onRelease = function () { clearInterval(volumeID); }; plusbutton.button.button.onDragOut = function () { clearInterval(volumeID); }; minusbutton.button.button.onDragOut = function () { clearInterval(volumeID); }; var posID; fader.faderarea.onPress = function () { if (_root.WP_core.INFO_playing() == false) { clearInterval(posID); posID = setInterval(setpos, 50); } }; fader.faderarea.onRelease = function () { clearInterval(posID); setpos(); }; fader.faderarea.onDragOut = function () { clearInterval(posID); setpos(); }; var smallLayoutID; var loadstatusID;
Symbol 42 MovieClip Frame 1
function setmask(width) { mask2._width = width - 10; mask3._x = width - 5; }
Symbol 54 MovieClip Frame 1
function createGrid() { attachMovie("line", "line1", 1); attachMovie("line", "line2", 2); line1._y = 8; line2._y = 2; } function mynewLine(num) { attachMovie("line", "line" + num, num); } function interval() { if ((this["line" + num]._y > 1.8) || ((!this["line" + num]._totalframes) >= 1)) { mynewLine(num + 1); num++; } if (_root.WP_core.INFO_playing()) { if (speed < 2.4) { speed = speed + 0.02; } } else if (speed > 1.2) { speed = speed - 0.02; if (speed < 0) { speed = 0; } } } var num = 2; var speed = 1;
Symbol 55 MovieClip Frame 1
function setwidth(newwidth) { starID = 1; ewidth = newwidth; bg._alpha = 50; bg._width = newwidth; bg._x = (-newwidth) / 2; bg._visible = 1; mask._width = newwidth + 12; mask._height = 17; mask._x = ((-newwidth) / 2) - 6; mask._y = -1; this.setMask(mask); bg.createGrid(); } function superStar() { createStar(1, 1); createStar(2, 1); createStar(3, 1); createStar(4, 1); createStar(5, 1); superstarI++; if (superstarI >= superstarC) { superstarTime = false; clearInterval(superstarID); superstarI = 0; superstarC = 0; } } function superStarSetTrue() { superstarB = true; } function superStarLoop(count) { superstarTime = true; superstarC = count; superstarI = 0; clearInterval(superstarID); superstarID = setInterval(superStarSetTrue, 200); } function createStar(pos, speed) { switch (pos) { case 1 : pos = (-ewidth) / 2; break; case 2 : pos = (-ewidth) / 4; break; case 3 : pos = 0; break; case 4 : pos = ewidth / 4; break; case 5 : pos = ewidth / 2; } starCon[starCon.length] = starID; starCon[starCon.length] = pos; starCon[starCon.length] = speed; attachMovie("star", "star" + starID, starID); starID++; } function randRange(minN, maxN) { var randomNum = ((Math.random() * (maxN - minN)) + minN); return(randomNum); } function interval() { var i = 0; while (i < (starCon.length / 3)) { this["star" + starCon[i * 3]].startvalues(starCon[(i * 3) + 1], starCon[(i * 3) + 2]); i++; } starCon = new Array(); if (superstarB == true) { superStar(); superstarB = false; } else { if (superstarTime == false) { if (_root.WP_core.INFO_playing() != LS_PLAY) { LS_PLAY = _root.WP_core.INFO_playing(); if (LS_PLAY == true) { superStarLoop(5); } else { superStarLoop(1); } } if ((_root.WP_core.INFO_playlistentry() != LS_LE) && (_root.WP_core.INFO_playing() == true)) { LS_LE = _root.WP_core.INFO_playlistentry(); superStarLoop(3); } } var starrd = Math.random(); var starPos; if ((starrd >= 0) && (starrd < 0.2)) { starPos = 1; } else if ((starrd >= 0.2) && (starrd < 0.4)) { starPos = 2; } else if ((starrd >= 0.4) && (starrd < 0.6)) { starPos = 3; } else if ((starrd >= 0.6) && (starrd < 0.8)) { starPos = 4; } else { starPos = 5; } if (_root.WP_core.INFO_playing()) { if (starI > starT) { createStar(starPos, randRange(0.7, 1.3)); starI = 0; starT = randRange(4, 8); } if (starI2 > starT2) { superStarLoop(Math.round(randRange(8, 16))); starI2 = 0; starT2 = randRange(360, 600); } else { starI2++; } } else { if (starI > (starT * 10)) { createStar(starPos, randRange(0.5, 0.9)); starI = 0; starT = randRange(4, 8); } if (starI2 > starT2) { superStarLoop(1); starI2 = 0; starT2 = randRange(360, 600); } else { starI2++; } } starI++; } } var ewidth; var starID; starCon = new Array(); var LS_PLAY = false; var LS_LE = 1; var superstarID; var superstarI = 0; var superstarC = 0; var superstarB = false; var superstarTime = false; var starI = 0; var starI2 = 0; var starT = 6; var starT2 = 480;
Symbol 60 MovieClip Frame 1
function display(width) { border._width = width - 12; dis1._width = width - 2; dis2._width = width - 2; border2._x = width - 3; mask1.setmask(width - 2); mask2.setmask(width - 2); textarea1._width = width - 8; signs._x = width - 42; maskglas.mask(width - 4, 11, 0, 9, 9, 0); dis1.setMask(maskglas); if (width > 300) { effect.setwidth(276); effect._x = width / 2; } else { effect.setwidth(width - 24); effect._x = width / 2; } } function settime(timetext) { distime = timetext; } function fileinfo(info) { disfileinfo = info; } function setmaintext(newtext, align, dura) { if (dura == 0) { if (showdur == 0) { hscroll(0); } if (newtext != maintext) { hscrolltmp = 0; directiontmp = 1; } maintext = newtext; textalign = align; sdirection = directiontmp; savetmp = 0; } else { if (savetmp == 0) { directiontmp = sdirection; hscrolltmp = textarea1.hscroll; savetmp = 1; } text = newtext; showdur = dura * 1000; sdirection = 1; } if ((dura != 0) || (showdur == 0)) { distext = newtext; setTime2 = getTimer(); if (dura == 0) { hscroll(hscrolltmp); } else { hscroll(0); } } meinTextformat = new TextFormat(); meinTextformat.color = 16777215 /* 0xFFFFFF */; textarea1.setTextFormat(meinTextformat); meinTextformat2 = new TextFormat(); meinTextformat2.align = "left"; meinTextformat3 = new TextFormat(); meinTextformat3.align = "center"; meinTextformat4 = new TextFormat(); meinTextformat4.align = "right"; if (align == 0) { textarea1.setTextFormat(meinTextformat3); } else if (align == 1) { textarea1.setTextFormat(meinTextformat2); } else if (align == -1) { textarea1.setTextFormat(meinTextformat4); } if (((textarea1._width < (textarea1.textWidth + 5)) && (dura != 0)) && (dura < 4)) { showdur = 4000; } } function displaymaintext() { if ((showdur > 0) && (getTimer() >= (setTime2 + showdur))) { showdur = 0; setmaintext(maintext, textalign, 0); } if (getTimer() >= (setTime2 + 3000)) { hscroll(sdirection); if (stmp == textarea1.hscroll) { if (showdur == 0) { sdirection = sdirection * -1; setTime2 = getTimer(); } } else if ((showdur > 0) && ((((-getTimer()) + setTime2) + showdur) < 3000)) { showdur = (getTimer() - setTime2) + 3000; } stmp = textarea1.hscroll; } } function hscroll(direction) { if (direction == 0) { textarea1.hscroll = 0; } else { textarea1.hscroll = textarea1.hscroll + direction; } textarea1.backgroundColor = 255; textarea1.background = false; textarea1.borderColor = 16777215 /* 0xFFFFFF */; textarea1.border = false; } var maintext = ""; var text; var setTime2; var sdirection = 1; var showdur = 0; var textalign; var hscrolltmp; var directiontmp = 1; var savetmp = 0; var stmp = 0;
Symbol 65 MovieClip Frame 2
button.createbutton(16, 16); button.sign.gotoAndStop(7); stop();
Symbol 69 MovieClip Frame 2
button.createbutton(24, 14); stop();
Symbol 73 MovieClip Frame 2
button.createbutton(49, 18); stop();
Symbol 77 MovieClip Frame 2
button.createbutton(24, 14); stop();
Symbol 78 MovieClip [but_large] Frame 1
function buttons(width) { beginbutton.button.sign.gotoAndStop(3); playbutton.button.sign.gotoAndStop(9); pausebutton.button.sign.gotoAndStop(10); minusbutton.button.sign.gotoAndStop(5); plusbutton.button.sign.gotoAndStop(4); endbutton.button.sign.gotoAndStop(8); skipbutton.button.sign.gotoAndStop(6); infobutton.button.sign.gotoAndStop(7); infobutton._x = width - 18; display.display(width - 72); posfader.fader(width - 74); posfader._x = 51; posfader._y = 43; volfader.fader(49); volfader._x = 1; volfader._y = 43; volfader._visible = 1; volfader.setloadstatus(100); volfader.setpos(_root.WP_core.INFO_volume()); } function update_volume() { _root.WP_core.CTRL_volume(volfader.getpos()); display.setmaintext("Volume " + Math.round(volfader.getpos()), 0, 0.1); } function setpos() { _root.WP_core.CTRL_position(posfader.getpos()); } function update_position() { display.setmaintext((secs2time(Math.round((posfader.getpos() / 100) * (_root.WP_core.INFO_filelength() / 1000))) + " / ") + secs2time(Math.round(_root.WP_core.INFO_filelength() / 1000)), 0, 0.1); if (_root.WP_core.INFO_playing() == false) { setpos(); } } function secs2time(calcsecs) { var secs = calcsecs; var mins = Math.floor(secs / 60); secs = secs - (60 * mins); var secshelp; if (secs < 10) { secshelp = "0"; } else { secshelp = ""; } var minshelp; if (mins < 10) { minshelp = "0"; } else { minshelp = ""; } return((((minshelp + mins) + ":") + secshelp) + secs); } function butupdate() { if (_root.isFalse(_root.effect)) { display.effect._visible = false; } else { display.effect._visible = true; } volfader.setpos(_root.WP_core.INFO_volume()); posfader.setpos(_root.WP_core.INFO_position()); if (_root.WP_core.INFO_playing() == true) { clearInterval(largeLayoutID); largeLayoutID = setInterval(interval, 20); } else { clearInterval(largeLayoutID); interval(); } if ((_root.WP_core.INFO_loaded() < 100) && (((_root.WP_core.INFO_filetype() == "swf") || (_root.WP_core.INFO_playing() == true)) || (_root.WP_core.INFO_loaded() > 0))) { clearInterval(loadstatusID); loadstatusID = setInterval(loadstatus, 20); } else { clearInterval(loadstatusID); loadstatus(); } if (_root.WP_core.INFO_playlistlength() == 0) { pausebutton._visible = 0; playbutton._visible = 1; playbutton.button.button._visible = 0; playbutton.button.sign._alpha = 40; } else if (_root.WP_core.INFO_playing() == true) { pausebutton._visible = 1; playbutton._visible = 0; playbutton.button.button._visible = 1; playbutton.button.sign._alpha = 100; } else { pausebutton._visible = 0; playbutton._visible = 1; playbutton.button.button._visible = 1; playbutton.button.sign._alpha = 100; } if (_root.WM_INFO_skip() && (_root.WP_core.INFO_playlistlength() == _root.WP_core.INFO_playlistentry())) { skipbutton._visible = 1; } else { skipbutton._visible = 0; } if (_root.WP_core.INFO_playlistlength() > 1) { display.signs.plsign._alpha = 92; if ((_root.WP_core.INFO_playlistentry() == 1) && ((_root.WP_core.PARAM_loop == false) || (_root.WM_INFO_skip()))) { beginbutton.button.sign._alpha = 40; beginbutton.button.button._visible = 0; endbutton.button.sign._alpha = 100; endbutton.button.button._visible = 1; } else if ((_root.WP_core.INFO_playlistentry() == _root.WP_core.INFO_playlistlength()) && (_root.WP_core.PARAM_loop == false)) { beginbutton.button.sign._alpha = 100; beginbutton.button.button._visible = 1; endbutton.button.sign._alpha = 40; endbutton.button.button._visible = 0; } else { beginbutton.button.sign._alpha = 100; beginbutton.button.button._visible = 1; endbutton.button.sign._alpha = 100; endbutton.button.button._visible = 1; } } else { display.signs.plsign._alpha = 20; beginbutton.button.sign._alpha = 40; beginbutton.button.button._visible = 0; endbutton.button.sign._alpha = 40; endbutton.button.button._visible = 0; } if (_root.WP_core.PARAM_loop == true) { display.signs.loopsign._alpha = 92; } else { display.signs.loopsign._alpha = 20; } } function fileinfo_update() { if (((dis_artist != _root.WP_core.FILEINFO_artist) || (dis_title != _root.WP_core.FILEINFO_title)) || (dis_filename != _root.WP_core.FILEINFO_.filename)) { dis_artist = _root.WP_core.FILEINFO_artist; dis_title = _root.WP_core.FILEINFO_title; dis_filename = _root.WP_core.FILEINFO_filename.substring(0, _root.WP_core.FILEINFO_filename.lastIndexOf(".")); if (((dis_artist == null) || (dis_artist == "")) && ((dis_title == null) || (dis_title == ""))) { display.setmaintext(dis_filename, 0, 0); } else if ((dis_artist == null) || (dis_artist == "")) { display.setmaintext(dis_title, 0, 0); } else if ((dis_title == null) || (dis_title == "")) { display.setmaintext(dis_artist, 0, 0); } else { display.setmaintext((dis_artist + " - ") + dis_title, 0, 0); } } } function loadstatus() { posfader.setloadstatus(_root.WP_core.INFO_loaded() - 4); if (_root.WP_core.INFO_loaded() == 100) { posfader.setloadstatus(100); clearInterval(loadstatusID); } } function interval() { if (posfader.buttonpress == 0) { posfader.setpos(_root.WP_core.INFO_position()); } display.settime(secs2time(Math.round(_root.WP_core.INFO_fileposition() / 1000))); } var volumeID; volfader.faderarea.onPress = function () { clearInterval(volumeID); volumeID = setInterval(update_volume, 50); }; volfader.faderarea.onRelease = function () { _root.WP_core.CTRL_volume(volfader.getpos()); clearInterval(volumeID); }; volfader.faderarea.onDragOut = function () { _root.WP_core.CTRL_volume(volfader.getpos()); clearInterval(volumeID); }; var positionID; posfader.faderarea.onPress = function () { clearInterval(positionID); positionID = setInterval(update_position, 50); }; posfader.faderarea.onRelease = function () { clearInterval(positionID); setpos(); }; posfader.faderarea.onDragOut = function () { clearInterval(positionID); setpos(); }; infobutton.button.button.onPress = function () { display.setmaintext("WebMinster WebPlayer " + _root.version, 0, 8); }; infobutton.button.button.onRelease = function () { if (Key.isDown(17)) { display.setmaintext(_parent.serviceInfo(), 0, 16); } else if (Key.isDown(32)) { var sizetmp1 = Math.floor(_root.WP_core.INFO_filesize() / 1048576); var sizetmp2 = Math.round(((_root.WP_core.INFO_filesize() / 1048576) - sizetmp1) * 10); if (isNaN(sizetmp)) { sizetmp = 0; } display.setmaintext(((((((((((((("[ " + _root.WP_core.INFO_playlistentry()) + "/") + _root.WP_core.INFO_playlistlength()) + " | ") + Math.round(_root.WP_core.INFO_quality())) + " kbit/s | ") + secs2time(Math.round(_root.WP_core.INFO_filelength() / 1000))) + " | ") + sizetmp1) + ".") + sizetmp2) + " MB | ") + _root.WP_core.FILEINFO_filename) + " ]", 0, 8); } else { _root.WM_infobutton(); display.setmaintext("", 0, 0.01); } }; playbutton.button.button.onRelease = function () { _root.WP_core.CTRL_play(); display.setmaintext("Play", 0, 1); }; pausebutton.button.button.onRelease = function () { _root.WP_core.CTRL_pause(); display.setmaintext("Pause", 0, 1); }; beginbutton.button.button.onRelease = function () { _root.WP_core.CTRL_previous(); display.setmaintext(((("[ " + _root.WP_core.INFO_playlistentry()) + "/") + _root.WP_core.INFO_playlistlength()) + " ]", 0, 1); }; endbutton.button.button.onRelease = function () { _root.WP_core.CTRL_next(); display.setmaintext(((("[ " + _root.WP_core.INFO_playlistentry()) + "/") + _root.WP_core.INFO_playlistlength()) + " ]", 0, 1); }; skipbutton.button.button.onRelease = function () { _root.WM_CTRL_skip(); }; var largeLayoutID; var loadstatusID; var dis_artist = ""; var dis_title = ""; var dis_filename = "";
Symbol 79 MovieClip Frame 1
function background(width, height) { border._width = width; if (height < 16) { bg2._width = width; bg2._x = 0; line._width = width; line._x = 0; } else { bg2._width = width - 2; bg2._x = 1; line._width = width - 2; line._x = 1; } }
Symbol 82 MovieClip Frame 1
function background(width, height) { border._width = width; if (height < 64) { mask.mask(width, 62, 0, 0, 0, 0); mask2.mask(width, 64, 0, 0, 0, 0); bg1._width = width; bg1._x = 0; mask._x = 0; } else { mask.mask(width - 2, 62, 1.2, 1.2, 1.2, 1.2); mask2.mask(width, 64, 2, 2, 2, 2); bg1._width = width - 2; bg1._x = 1; mask._x = 1; } bg1.setMask(mask); border.setMask(mask2); }
Symbol 83 MovieClip [lib_layout] Frame 1
function butupdate(layoutHeight) { if ((Stage.width < 180) && (layoutHeight >= 62)) { layoutHeight = 16; } if (layoutHeight >= 62) { but1.butupdate(); clearInterval(but2.smallLayoutID); clearInterval(but2.loadstatusID); } else { but2.butupdate(); clearInterval(but1.largeLayoutID); clearInterval(but1.loadstatusID); } } function layout(stagewidth, stageheight) { var width = stagewidth; var height = stageheight; if (width > 2048) { width = 2048; } else if (width < 61) { width = 61; } if ((width < 180) && (height >= 62)) { height = 16; } this._x = Math.round(-((width - 240) / 2)); removeMovieClip("onenter"); if (height >= 62) { attachMovie("onenter", "onenter", 2); this._y = Math.round(((height / 2) + ((64 - height) / 2)) - 32); but2._visible = 0; but1._visible = 1; but1._Y = 5; if (height >= 64) { but1.buttons(width - 10); but1._x = 5; } else { but1.buttons(width - 8); but1._x = 4; } bg2._visible = 0; bg1._visible = 1; bg1.background(width, height); } else { this._y = Math.round(((height / 2) + ((64 - height) / 2)) - 8); but2._visible = 1; but1._visible = 0; but2._y = 1; if (height >= 16) { but2.buttons(width - 2, height, _root.WP_core.INFO_filetype()); but2._x = 1; } else { but2.buttons(width, height, _root.WP_core.INFO_filetype()); but2._x = 0; } bg1._visible = 0; bg2._visible = 1; bg2.background(width, height); } if (width < 140) { but2.fader._visible = 0; } else { but2.fader._visible = 1; } if (width < 91) { but2.plusbutton._visible = 0; but2.minusbutton._visible = 0; but2.bg1._width = 30; } else { but2.plusbutton._visible = 1; but2.minusbutton._visible = 1; but2.bg1._width = 60; } } function serviceInfo() { return(((((((((((((((("WebMinster WebPlayer - Version " + _root.version) + " // ") + _root.language) + " // [") + _root.date) + "] - System Audio Support: [") + System.capabilities.hasAudioEncoder) + "][") + System.capabilities.hasAudio) + "][") + System.capabilities.hasMP3) + "] - (") + System.capabilities.os) + " - Flash Player ") + getVersion()) + ")"); }
Symbol 87 MovieClip [star] Frame 1
function startvalues(xpos, speed) { sXpos = xpos; sSpeed = speed; this._y = 16; this._x = xpos; this._width = 16; this._height = 16; this._visible = true; } var sSpeed; var sXpos; this._visible = false; this.onEnterFrame = function () { if (this._y < 0) { this.removeMovieClip(); } else { this._y = this._y - (sSpeed * ((this._y + 2) / 16)); } this._width = 3 + (13 * (this._y / 16)); this._height = 3 + (13 * (this._y / 16)); this._x = sXpos * (this._y / 16); };
Symbol 89 MovieClip [line] Frame 1
this._visible = false; this.onEnterFrame = function () { this._visible = true; this._y = ((((this._y * 1.04) + 0.1) - this._y) * _parent.speed) + this._y; this._width = 2 + (58 * (this._y / 16)); this._x = 29 - (29 * (this._y / 16)); if (this._y >= 16) { this.removeMovieClip(); } };
Symbol 90 MovieClip [onenter] Frame 1
this.onEnterFrame = function () { _parent.but1.display.displaymaintext(); if (!_root.isFalse(_root.effect)) { _parent.but1.display.effect.interval(); _parent.but1.display.effect.bg.interval(); } };

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:11
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:11
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:11
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:11
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:11
Symbol 11 MovieClip [user_mask]Uses:2 4 6 8 10Used by:24 60 82
Symbol 12 GraphicUsed by:13 25 38
Symbol 13 Button [lib_quad]Uses:12Used by:24
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:18
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:18
Symbol 18 MovieClipUses:15 17Used by:24
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:24
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:23 37 79
Symbol 23 MovieClipUses:22Used by:24
Symbol 24 MovieClipUses:11 13 18 20 23Used by:39 78
Symbol 25 Button [lib_quad]Uses:12Used by:36
Symbol 26 GraphicUsed by:35
Symbol 27 GraphicUsed by:35
Symbol 28 GraphicUsed by:35
Symbol 29 GraphicUsed by:35
Symbol 30 GraphicUsed by:35
Symbol 31 GraphicUsed by:35
Symbol 32 GraphicUsed by:35
Symbol 33 GraphicUsed by:35
Symbol 34 MovieClipUsed by:35
Symbol 35 MovieClipUses:26 27 28 29 30 31 32 33 34Used by:36
Symbol 36 MovieClipUses:25 35Used by:37 65 69 73 77
Symbol 37 MovieClipUses:36 22Used by:39
Symbol 38 MovieClip [lib_quad]Uses:12Used by:39 42 55 60 78 79 82
Symbol 39 MovieClip [but_small]Uses:24 37 38Used by:83
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:42
Symbol 42 MovieClipUses:41 38Used by:60
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:60
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:49
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 MovieClipUses:46 48Used by:60
Symbol 50 FontUsed by:51 52
Symbol 51 EditableTextUses:50Used by:60
Symbol 52 EditableTextUses:50Used by:60
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:55
Symbol 55 MovieClipUses:54 38Used by:60
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:60
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:60
Symbol 60 MovieClipUses:44 42 11 49 51 52 55 57 59 38Used by:78
Symbol 61 GraphicUsed by:78
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:36 62 63 64Used by:78
Symbol 66 GraphicUsed by:69
Symbol 67 GraphicUsed by:69
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:36 66 67 68Used by:78
Symbol 70 GraphicUsed by:73
Symbol 71 GraphicUsed by:73
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:36 70 71 72Used by:78
Symbol 74 GraphicUsed by:77
Symbol 75 GraphicUsed by:77
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:36 74 75 76Used by:78
Symbol 78 MovieClip [but_large]Uses:60 24 61 65 69 73 77 38Used by:83
Symbol 79 MovieClipUses:38 22Used by:83
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:82
Symbol 82 MovieClipUses:11 81 38Used by:83
Symbol 83 MovieClip [lib_layout]Uses:39 78 79 82
Symbol 84 GraphicUsed by:85
Symbol 85 Button [logo]Uses:84
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClip [star]Uses:86
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClip [line]Uses:88
Symbol 90 MovieClip [onenter]

Instance Names

"c"Symbol 11 MovieClip [user_mask] Frame 1Symbol 2 MovieClip
"tl"Symbol 11 MovieClip [user_mask] Frame 1Symbol 4 MovieClip
"bl"Symbol 11 MovieClip [user_mask] Frame 1Symbol 6 MovieClip
"br"Symbol 11 MovieClip [user_mask] Frame 1Symbol 8 MovieClip
"tr"Symbol 11 MovieClip [user_mask] Frame 1Symbol 10 MovieClip
"t"Symbol 11 MovieClip [user_mask] Frame 1Symbol 2 MovieClip
"r"Symbol 11 MovieClip [user_mask] Frame 1Symbol 2 MovieClip
"l"Symbol 11 MovieClip [user_mask] Frame 1Symbol 2 MovieClip
"b"Symbol 11 MovieClip [user_mask] Frame 1Symbol 2 MovieClip
"fader"Symbol 18 MovieClip Frame 1Symbol 15 MovieClip
"faderborder"Symbol 18 MovieClip Frame 1Symbol 17 MovieClip
"mask"Symbol 24 MovieClip Frame 1Symbol 11 MovieClip [user_mask]
"mask2"Symbol 24 MovieClip Frame 1Symbol 11 MovieClip [user_mask]
"faderarea"Symbol 24 MovieClip Frame 1Symbol 13 Button [lib_quad]
"faderbut"Symbol 24 MovieClip Frame 1Symbol 18 MovieClip
"loadstatus"Symbol 24 MovieClip Frame 1Symbol 20 MovieClip
"faderbg"Symbol 24 MovieClip Frame 1Symbol 23 MovieClip
"button"Symbol 36 MovieClip Frame 1Symbol 25 Button [lib_quad]
"sign"Symbol 36 MovieClip Frame 1Symbol 35 MovieClip
"button"Symbol 37 MovieClip Frame 1Symbol 36 MovieClip
"fader"Symbol 39 MovieClip [but_small] Frame 1Symbol 24 MovieClip
"infobutton"Symbol 39 MovieClip [but_small] Frame 1Symbol 37 MovieClip
"skipbutton"Symbol 39 MovieClip [but_small] Frame 1Symbol 37 MovieClip
"endbutton"Symbol 39 MovieClip [but_small] Frame 1Symbol 37 MovieClip
"plusbutton"Symbol 39 MovieClip [but_small] Frame 1Symbol 37 MovieClip
"minusbutton"Symbol 39 MovieClip [but_small] Frame 1Symbol 37 MovieClip
"playbutton"Symbol 39 MovieClip [but_small] Frame 1Symbol 37 MovieClip
"pausebutton"Symbol 39 MovieClip [but_small] Frame 1Symbol 37 MovieClip
"beginbutton"Symbol 39 MovieClip [but_small] Frame 1Symbol 37 MovieClip
"bg2"Symbol 39 MovieClip [but_small] Frame 1Symbol 38 MovieClip [lib_quad]
"bg1"Symbol 39 MovieClip [but_small] Frame 1Symbol 38 MovieClip [lib_quad]
"mask1"Symbol 42 MovieClip Frame 1Symbol 41 MovieClip
"mask3"Symbol 42 MovieClip Frame 1Symbol 41 MovieClip
"mask2"Symbol 42 MovieClip Frame 1Symbol 38 MovieClip [lib_quad]
"plsign"Symbol 49 MovieClip Frame 1Symbol 46 MovieClip
"loopsign"Symbol 49 MovieClip Frame 1Symbol 48 MovieClip
"bg"Symbol 55 MovieClip Frame 1Symbol 54 MovieClip
"mask"Symbol 55 MovieClip Frame 1Symbol 38 MovieClip [lib_quad]
"dis1"Symbol 60 MovieClip Frame 1Symbol 44 MovieClip
"mask1"Symbol 60 MovieClip Frame 1Symbol 42 MovieClip
"maskglas"Symbol 60 MovieClip Frame 1Symbol 11 MovieClip [user_mask]
"signs"Symbol 60 MovieClip Frame 1Symbol 49 MovieClip
"textarea2"Symbol 60 MovieClip Frame 1Symbol 51 EditableText
"textarea1"Symbol 60 MovieClip Frame 1Symbol 52 EditableText
"effect"Symbol 60 MovieClip Frame 1Symbol 55 MovieClip
"dis2"Symbol 60 MovieClip Frame 1Symbol 57 MovieClip
"mask2"Symbol 60 MovieClip Frame 1Symbol 42 MovieClip
"border2"Symbol 60 MovieClip Frame 1Symbol 59 MovieClip
"border"Symbol 60 MovieClip Frame 1Symbol 38 MovieClip [lib_quad]
"border1"Symbol 60 MovieClip Frame 1Symbol 59 MovieClip
"button"Symbol 65 MovieClip Frame 1Symbol 36 MovieClip
"button"Symbol 69 MovieClip Frame 1Symbol 36 MovieClip
"button"Symbol 73 MovieClip Frame 1Symbol 36 MovieClip
"button"Symbol 77 MovieClip Frame 1Symbol 36 MovieClip
"display"Symbol 78 MovieClip [but_large] Frame 1Symbol 60 MovieClip
"volfader"Symbol 78 MovieClip [but_large] Frame 1Symbol 24 MovieClip
"posfader"Symbol 78 MovieClip [but_large] Frame 1Symbol 24 MovieClip
"infobutton"Symbol 78 MovieClip [but_large] Frame 1Symbol 65 MovieClip
"skipbutton"Symbol 78 MovieClip [but_large] Frame 1Symbol 69 MovieClip
"endbutton"Symbol 78 MovieClip [but_large] Frame 1Symbol 69 MovieClip
"playbutton"Symbol 78 MovieClip [but_large] Frame 1Symbol 73 MovieClip
"pausebutton"Symbol 78 MovieClip [but_large] Frame 1Symbol 73 MovieClip
"beginbutton"Symbol 78 MovieClip [but_large] Frame 1Symbol 77 MovieClip
"line"Symbol 79 MovieClip Frame 1Symbol 38 MovieClip [lib_quad]
"bg2"Symbol 79 MovieClip Frame 1Symbol 22 MovieClip
"border"Symbol 79 MovieClip Frame 1Symbol 38 MovieClip [lib_quad]
"mask"Symbol 82 MovieClip Frame 1Symbol 11 MovieClip [user_mask]
"mask2"Symbol 82 MovieClip Frame 1Symbol 11 MovieClip [user_mask]
"bg1"Symbol 82 MovieClip Frame 1Symbol 81 MovieClip
"border"Symbol 82 MovieClip Frame 1Symbol 38 MovieClip [lib_quad]
"but2"Symbol 83 MovieClip [lib_layout] Frame 1Symbol 39 MovieClip [but_small]
"but1"Symbol 83 MovieClip [lib_layout] Frame 1Symbol 78 MovieClip [but_large]
"bg2"Symbol 83 MovieClip [lib_layout] Frame 1Symbol 79 MovieClip
"bg1"Symbol 83 MovieClip [lib_layout] Frame 1Symbol 82 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$sq$XXctlatRoWPJoDkT0Yv5X.."
ExportAssets (56)Timeline Frame 1Symbol 11 as "user_mask"
ExportAssets (56)Timeline Frame 1Symbol 11 as "user_mask"
ExportAssets (56)Timeline Frame 1Symbol 13 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 25 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 39 as "but_small"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 11 as "user_mask"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 78 as "but_large"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 11 as "user_mask"
ExportAssets (56)Timeline Frame 1Symbol 11 as "user_mask"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 83 as "lib_layout"
ExportAssets (56)Timeline Frame 1Symbol 85 as "logo"
ExportAssets (56)Timeline Frame 1Symbol 78 as "but_large"
ExportAssets (56)Timeline Frame 1Symbol 13 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 25 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 38 as "lib_quad"
ExportAssets (56)Timeline Frame 1Symbol 39 as "but_small"
ExportAssets (56)Timeline Frame 1Symbol 11 as "user_mask"
ExportAssets (56)Timeline Frame 1Symbol 87 as "star"
ExportAssets (56)Timeline Frame 1Symbol 89 as "line"
ExportAssets (56)Timeline Frame 1Symbol 90 as "onenter"

Dynamic Text Variables

distimeSymbol 51 EditableText""
distextSymbol 52 EditableText""




http://swfchan.com/25/124701/info.shtml
Created: 1/3 -2019 05:46:10 Last modified: 1/3 -2019 05:46:10 Server time: 22/12 -2024 05:46:14