mp3-1

[스크랩] swMp3-1 (load sound player)

의전-2 2019. 1. 5. 10:43




<p><embed src="https://t1.daumcdn.net/cfile/tistory/250ADD3453FA9ADF20?original" width="770" height="433" scale="exactfit"></p>

 

 

첨부파일 swMp3-1.swi☜--- 작업파일 열어보세요..(swf의 계정은 티스토리를 이용하세요)

 

 


// mu 에 적용

function listClick(prm) {
 pausePos = 0;
 current_song = prm;
 song.stop();
 playSong();
}

function playSong() {
 AudioPath = aList[current_song];
 if (pausePos > 0) {
  song.start(pausePos, 0);
  pausePos = 0;
 }
 else {
  song = new Sound();
  song.setVolume(volume);
  song.loadSound(AudioPath, true);
  song.onSoundComplete = function () {
   if (_parent.autoStart == "random") {
    _parent.current_song = random(_parent.nLimit)+1;
   }
   else {
    _parent.current_song == _parent.nLimit ? _parent.current_song = 1 : _parent.current_song++;
   }
  _parent.playSong();
  }
 }
 mid.playBtn._visible = 0;
 mid.pauseBtn._visible = 1;
 tocasim = true;
 if (!(topup != false || tocasim != true)) {
  top.equalizer._visible = 1;
 }
 else {
  top.equalizer._visible = 0;
 }
}
function updateVolume(){
    v1 = Math.round((vol.btn.mask._width / vol.btn._width) * 100);
 top.equalizer._yscale = v1;
    if (v1 > 0 && song.getVolume() == 0){
        vol.norBtn._visible = 0;
        vol.muteBtn._visible = 1;
  top.equalizer._visible= 1;
    }
    else if (v1 == 0 && song.getVolume() > 0){
        vol.norBtn._visible = 1;
        vol.muteBtn._visible = 0;
  top.equalizer._visible= 0;
    }
    song.setVolume(v1);
}

function checkDigits(toCheck) {
 return (toCheck < 10 ? (toCheck = "0" + toCheck) : (toCheck));
}
function scrollTitle() {
 top.title.autoSize = true;
 songTitle = bList[current_song] + " (" + top.display + ")";;
 if (bList[current_song].length > 10) {
  top.title.txt = songTitle + "     " + songTitle + "     " + songTitle;
 }
 else {
  top.title.txt = songTitle;
 }
 top.title._x = top.title._x < -205 ? 205 : --top.title._x;
}
onSelfEvent (load) {
 aList = new Array();
 bList = new Array();
//------------------------------음원주소---------------------------------------

hd = "http://hompy-img0.dreamwiz.com/BBS/ju888h/f00007/qOs8J";

aList[1] = hd + "OE3K3vcJDCNG7J=//1.mp3";
aList[2] = hd + "OE3K3IcJTCNG7J=//2.mp3";
aList[3] = hd + "OE3K3JcJrCNG7J=//3.mp3";
aList[4] = hd + "OE3K32cQXCNG7J=//4.mp3";
aList[5] = hd + "OEmK3vcQDCNG7J=//5.mp3";
aList[6] = hd + "OEmK3IcQTCNG7J=//6.mp3";
aList[7] = hd + "OEmK3JcQrCNG7J=//7.mp3";
aList[8] = hd + "OEmK32czXCNG7J=//8.mp3";
aList[9] = hd + "OEjK3vczDCNG7J=//9.mp3";
aList[10] = hd + "OEjK3IcJosLbKs3//10.mp3";

aList[11] = hd + "OEjK3JcJovLbKs3//11.mp3";
aList[12] = hd + "OEjK32cJoILbKs3//12.mp3";
aList[13] = hd + "OEtK3vcJoJLbKs3//13.mp3";
aList[14] = hd + "OEtK3IcJo2LbKs3//14.mp3";
aList[15] = hd + "OEtK3JcJoiLbKs3//15.mp3";
aList[16] = hd + "OEtK32cJoxLbKs3//16.mp3";
aList[17] = hd + "OElK3vcJoGLbKs3//17.mp3";
aList[18] = hd + "OElK3IcJoWLbKs3//18.mp3";
aList[19] = hd + "OElK3JcJoELbKs3//19.mp3";
aList[20] = hd + "OElK32cJOsLbKs3//20.mp3";

aList[21] = hd + "OEpK3vcJOvLbKs3//21.mp3";
aList[22] = hd + "OEpK3IcJOILbKs3//22.mp3";
aList[23] = hd + "OEpK3JcJOJLbKs3//23.mp3";
aList[24] = hd + "OEpK32cJO2LbKs3//24.mp3";
aList[25] = hd + "OECK3vcJOiLbKs3//25.mp3";
aList[26] = hd + "OECK3IcJOxLbKs3//26.mp3";
aList[27] = hd + "OECK3JcJOGLbKs3//27.mp3";
aList[28] = hd + "OECK32cJOWLbKs3//28.mp3";
aList[29] = hd + "3s8K3vcJOELbKs3//29.mp3";
aList[30] = hd + "3s8K3IcJ3sLbKs3//30.mp3";

aList[31] = hd + "3s8K3JcJ3vLbKs3//31.mp3";
aList[32] = hd + "3s8K32cJ3ILbKs3//32.mp3";
aList[33] = hd + "3s6K3vcJ3JLbKs3//33.mp3";
aList[34] = hd + "3s6K3IcJ32LbKs3//34.mp3";
aList[35] = hd + "3s6K3JcJ3iLbKs3//35.mp3";
aList[36] = hd + "3s6K32cJ3xLbKs3//36.mp3";
aList[37] = hd + "3srK3vcJ3GLbKs3//37.mp3";
aList[38] = hd + "3srK3IcJ3WLbKs3//38.mp3";
aList[39] = hd + "3srK3JcJ3ELbKs3//39.mp3";
aList[40] = hd + "3srK32cQ7sLbKs3//40.mp3";

aList[41] = hd + "3s3K3vcQ7vLbKs3//41.mp3";
aList[42] = hd + "3s3K3IcQ7ILbKs3//42.mp3";
aList[43] = hd + "3s3K3JcQ7JLbKs3//43.mp3";
aList[44] = hd + "3s3K32cQ72LbKs3//44.mp3";
aList[45] = hd + "3smK3vcQ7iLbKs3//45.mp3";
aList[46] = hd + "3smK3IcQ7xLbKs3//46.mp3";
aList[47] = hd + "3smK3JcQ7GLbKs3//47.mp3";
aList[48] = hd + "3smK32cQ7WLbKs3//48.mp3";
aList[49] = hd + "3sjK3vcQ7ELbKs3//49.mp3";
aList[50] = hd + "3sjK3IcQosLbKs3//50.mp3";

aList[51] = hd + "3sjK3JcQovLbKs3//51.mp3";
aList[52] = hd + "3sjK32cQoILbKs3//52.mp3";
aList[53] = hd + "3stK3vcQoJLbKs3//53.mp3";
aList[54] = hd + "3stK3IcQo2LbKs3//54.mp3";
aList[55] = hd + "3stK3JcQoiLbKs3//55.mp3";
aList[56] = hd + "3stK32cQoxLbKs3//56.mp3";
aList[57] = hd + "3slK3vcQoGLbKs3//57.mp3";
aList[58] = hd + "3slK3IcQoWLbKs3//58.mp3";
aList[59] = hd + "3slK3JcQoELbKs3//59.mp3";
aList[60] = hd + "3slK32cQOsLbKs3//60.mp3";

aList[61] = hd + "3spK3vcQOvLbKs3//61.mp3";
aList[62] = hd + "3spK3IcQOILbKs3//62.mp3";
aList[63] = hd + "3spK3JcQOJLbKs3//63.mp3";
aList[64] = hd + "3spK32cQO2LbKs3//64.mp3";
aList[65] = hd + "3sCK3vcQOiLbKs3//65.mp3";
aList[66] = hd + "3sCK3IcQOxLbKs3//66.mp3";
aList[67] = hd + "3sCK3JcQOGLbKs3//67.mp3";
aList[68] = hd + "3sCK32cQOWLbKs3//68.mp3";
aList[69] = hd + "3v8K3vcQOELbKs3//69.mp3";
aList[70] = hd + "3v8K3IcQ3sLbKs3//70.mp3";

aList[71] = hd + "3v8K3JcQ3vLbKs3//71.mp3";
aList[72] = hd + "3v8K32cQ3ILbKs3//72.mp3";
aList[73] = hd + "3v6K3vcQ3JLbKs3//73.mp3";
aList[74] = hd + "3v6K3IcQ32LbKs3//74.mp3";
aList[75] = hd + "3v6K3JcQ3iLbKs3//75.mp3";
aList[76] = hd + "3v6K32cQ3xLbKs3//76.mp3";
aList[77] = hd + "3vrK3vcQ3GLbKs3//77.mp3";
aList[78] = hd + "3vrK3IcQ3WLbKs3//78.mp3";
aList[79] = hd + "3v3K3vcQ3ELbKs3//79.mp3";
aList[80] = hd + "3v3K3Icz7sLbKs3//80.mp3";

aList[81] = hd + "3vmK3vcz7vLbKs3//81.mp3";
aList[82] = hd + "3vmK3Icz7ILbKs3//82.mp3";
aList[83] = hd + "3vjK3vcz7JLbKs3//83.mp3";
aList[84] = hd + "3vjK3Icz72LbKs3//84.mp3";
aList[85] = hd + "3vjK3Jcz7iLbKs3//85.mp3";
aList[86] = hd + "3vtK3vcz7xLbKs3//86.mp3";
aList[87] = hd + "3vtK3Icz7GLbKs3//87.mp3";
aList[88] = hd + "3vtK3Jcz7WLbKs3//88.mp3";
aList[89] = hd + "3vtK32cz7ELbKs3//89.mp3";
aList[90] = hd + "3vlK3vczosLbKs3//90.mp3";

aList[91] = hd + "3vlK3IczovLbKs3//91.mp3";
aList[92] = hd + "3vlK3JczoILbKs3//92.mp3";
aList[93] = hd + "3vpK3vczoJLbKs3//93.mp3";
aList[94] = hd + "3vpK3Iczo2LbKs3//94.mp3";
aList[95] = hd + "3vpK3JczoiLbKs3//95.mp3";
aList[96] = hd + "3vpK32czoxLbKs3//96.mp3";
aList[97] = hd + "3vCK3vczoGLbKs3//97.mp3";
aList[98] = hd + "3vCK3IczoWLbKs3//98.mp3";
aList[99] = hd + "3vCK3JczoELbKs3//99.mp3";
aList[100] = hd + "3I8K3vcJos8hdj8J8==//100.mp3";

aList[101] = hd + "3I8K3IcJos6hdj8J8==//101.mp3";
aList[102] = hd + "3I8K3JcJosrhdj8J8==//102.mp3";
aList[103] = hd + "3I8K32cJos3hdj8J8==//103.mp3";
aList[104] = hd + "3I6K3vcJosmhdj8J8==//104.mp3";
aList[105] = hd + "3I6K3IcJosjhdj8J8==//105.mp3";
aList[106] = hd + "3I6K3JcJosthdj8J8==//106.mp3";
aList[107] = hd + "3I6K32cJoslhdj8J8==//107.mp3";
aList[108] = hd + "3IrK3vcJosphdj8J8==//108.mp3";
aList[109] = hd + "3IrK3IcJosChdj8J8==//109.mp3";
aList[110] = hd + "3IrK3JcJov8hdj8J8==//110.mp3";

//------------------------------음원제목---------------------------------------

bList[1] = "1. 김연숙 - 그 날";
bList[2] = "2. 김연숙 - 초연";
bList[3] = "3. 양하영 - 갯바위";
bList[4] = "4. 양하영 - 촛불켜는 밤";
bList[5] = "5. 유익종 - 그저 바라 볼수만 있어도";
bList[6] = "6. 유익종  - 사랑의 눈동자";
bList[7] = "7. 채은옥 - 빗물";
bList[8] = "8. 채은옥  - 갈대";
bList[9] = "9. 박강성 - 내일을 기다려";
bList[10] = "10. 박강성 - 문밖에있는그대";

bList[11] = "11. 하남석 - 막차로 떠난 여인";
bList[12] = "12. 하남석 - 바람에 실려";
bList[13] = "13. 최진희 - 사랑의 미로";
bList[14] = "14. 최진희 - 천상재회";
bList[15] = "15. 조항조 - 거짓말";
bList[16] = "16. 조항조 - 만약에";
bList[17] = "17. 김범수 - 약속";
bList[18] = "18. 김범수 - 하루";
bList[19] = "19. 고한우 - 비연";
bList[20] = "20. 고한우 - 암연";

bList[21] = "21. 구창모 - 그대 곁에 잠들고 싶어";
bList[22] = "22. 구창모 - 희나리";
bList[23] = "23. 권선국 - 작은 사랑";
bList[24] = "24. 권선국 - Stay With Me";
bList[25] = "25. 김광석 - 먼지가 되어";
bList[26] = "26. 김광석 - 사랑 했지만";
bList[27] = "27. 박인희 - 겨울바다";
bList[28] = "28. 박인희 - 끝이 없는 길";
bList[29] = "29. 서울패밀리 - 이제는";
bList[30] = "30. 서울페밀리 - 내일이찾아와도";

bList[31] = "31. 이선희 - 그대가 나를 사랑하신다면";
bList[32] = "32. 이선희 - 인연";
bList[33] = "33. 박강수 - 꽃이 바람에게 전하는 말";
bList[34] = "34. 박강수 - 제발";
bList[35] = "35. 백영규 - 슬픈 계절에 만나요";
bList[36] = "36. 백영규 - 잊지는 말아야지";
bList[37] = "37. 양현경 - 너무아픈 사랑은 사랑이 아니었음을";
bList[38] = "38. 양현경 - 비몽";
bList[39] = "39. 김수철 - 못다핀 꽃 한송이";
bList[40] = "40. 김수철 - 젊은그대";

bList[41] = "41. 김태정 - 백지로 보낸 편지";
bList[42] = "42. 김태정 - 종이배";
bList[43] = "43. 조덕배 - 그대 내맘에 들어오며는";
bList[44] = "44. 조덕배 - 꿈에";
bList[45] = "45. 임주리 - 립스틱 짙게바르고";
bList[46] = "46. 임주리 - 사랑의 기도";
bList[47] = "47. 전영록 - 그대 뺨에 흐르는 눈물";
bList[48] = "48. 전영록 - 애심";
bList[49] = "49. 조용필 - 바람이 전하는 말";
bList[50] = "50. 조용필-기다리는 아픔";

bList[51] = "51. 추가열 - 나같은건 없는 건가요";
bList[52] = "52. 추가열 - 하늘눈물";
bList[53] = "53. 최유나 - 애정의 조건";
bList[54] = "54. 최유나 - 흔적";
bList[55] = "55. 노사연 - 님 그림자";
bList[56] = "56. 노사연 - 사랑";
bList[57] = "57. 유심초 - 사랑이여";
bList[58] = "58. 유심초 - 사랑하는 그대에게";
bList[59] = "59. 최성수 - 남남";
bList[60] = "60. 최성수 - 동행";

bList[61] = "61. 이안 - 물고기자리";
bList[62] = "62. 이안 - 정인(情人)";
bList[63] = "63. 이태호 - 버팀목";
bList[64] = "64. 이태호 - 사는동안";
bList[65] = "65. 정수라 - 아버지 의자";
bList[66] = "66. 정수라 - 환희";
bList[67] = "67. 진시몬 - 낮설은 아쉬움";
bList[68] = "68. 진시몬 - 애수";
bList[69] = "69. 이은하 - 아리송해";
bList[70] = "70. 이은하 - 아직도 그대는 내사랑";

bList[71] = "71. 하동진 - 사랑을 한번 해보고 싶어요";
bList[72] = "72. 하동진 - 인연";
bList[73] = "73. 강은철 - 삼포로 가는 길";
bList[74] = "74. 김란영 - 가인";
bList[75] = "75. 김목경 - 부르지마";
bList[76] = "76. 김영태 - 내가 부를 너의이름";
bList[77] = "77. 김원중 - 바위섬";
bList[78] = "78. 김재희 - 애증의 강";
bList[79] = "79. 김정호 - 이름모를소녀";
bList[80] = "80. 김종찬 - 토요일은 밤이 좋아";

bList[81] = "81. 김진복 - 두렵지 않은 사랑";
bList[82] = "82. 남궁옥분 - 사랑사랑 누가말했나";
bList[83] = "83. 남화용 - 홀로 가는 길";
bList[84] = "84. 녹색지대 - 그래 늦지 않았어";
bList[85] = "85. 바다새 - 사랑하고 있어요";
bList[86] = "86. 박상규 - 조약돌";
bList[87] = "87. 박윤경 - 부초";
bList[88] = "88. 사람과나무 - 쓸쓸한 연가";
bList[89] = "89. 소리새 - 그대 그리고 나";
bList[90] = "90. 신형원 - 개똥 벌레";

bList[91] = "91. 안치환 - 사람이 꽃보다 아름다워";
bList[92] = "92. 어니언스 - 사랑의 진실";
bList[93] = "93. 오선과한음 - 빛바랜 사랑";
bList[94] = "94. 유상록 - 그여인";
bList[95] = "95. 윤태규 - 마이웨이";
bList[96] = "96. 이연실 - 목로주점";
bList[97] = "97. 이용복 - 어린 시절";
bList[98] = "98. 이제민 - 골목길";
bList[99] = "99. 이종용 - 겨울 아이";
bList[100] = "100. 이태원 - 솔개";

bList[101] = "101. 임채무 - 사랑과 진실";
bList[102] = "102. 임희숙 - 내하나의사랑은가고";
bList[103] = "103. 장계현 - 잊게 해주오";
bList[104] = "104. 장철웅 - 이룰 수 없는 사랑";
bList[105] = "105. 전영 - 어디쯤가고있을까";
bList[106] = "106. 주현미 - 신사동그사람";
bList[107] = "107. 지영선 - 가슴앓이";
bList[108] = "108. 최백호 - 낭만에 대하여";
bList[109] = "109. 한동준 - 너를사랑해";
bList[110] = "110. 한혜진 - 갈색추억";
 
 showDisplay = "yes";
 showPlaylist = "yes";
 autoStart = "random";
 myAlfa = 20;
 myColor = "ff4577";
 volume = 80;
 current_song = i = 1;
 aList.shuffle();
 nLimit = aList.length - 1;
 song = new Sound();
 pausePos = 0;
 tocasim = false;
 top.equalizer._visible = 0;
 top.setMask(top_mask);
 toppos = top._y;
 top._y = int(toppos + top_mask._height - 29);
 topup = true;
 bot.playlist.btn._visible = 0;
 bot.playlist.setMask(bot.list_bg);
 bot.setMask(bot_mask);
 botpos = bot._y;
 bot._y = botpos - bot.list_bg._height - 6;
 botup = true;
 bot.list_bg._alpha = myAlfa;
 new Color(bot.list_bg).setRGB("0x" + myColor.slice(-6));
 for(i = 0; i < nLimit; i++) {
  bot.playlist.btn.duplicateMovieClip("btn" + i, i);
  bot.playlist["btn" + i]._y = bot.playlist.btn._y + i * int(bot.playlist.btn._height) + i;
  bot.playlist["btn" + i].txt = bList[i + 1];
  bot.playlist["btn" + i].button.onPress = function () {
   listClick(this._parent.getDepth() + 1);
  }
 }
 if (showDisplay == "no") {
  top.easeY(toppos);
  topup = false;
  mid.displayBtn._rotation += 180;;
 }
 if (showPlaylist == "no") {
  bot.easeY(botpos);
  botup = false;
  mid.listBtn._rotation += 180;
 }
 if (autoStart == "yes") {
  playSong();
  mid.playBtn._visible = 0;
 }
 else if (autoStart == "no") {
  playBtn._visible = 1;
 mid.pauseBtn._visible = 0;
 }
 else if (autoStart == "random") {
  current_song = random(nLimit)+1;
  playSong();
  mid.playBtn._visible = 0;
 }
 else {
  playSong();
  mid.playBtn._visible = 0;
 }
 bot.list_bg.onEnterFrame = function () {
  if (!(!hitTest(_root._xmouse, _root._ymouse, true) || this._parent.playlist._height <= this._height)) {
   ymin = this._y + this._height - this._parent.playlist._height;
   ymax = this._y + 3;
   conv = (this._ymouse - 15) * 1.3 / this._height;
   conv > 1 ? conv = 1 : null;
   conv < 0 ? conv = 0 : null;
   this._parent.playlist.easeY(ymax - conv * (ymax - ymin));
  }
 }
 rollBtn = [mid.playBtn, mid.pauseBtn, mid.nextBtn, mid.prevBtn, mid.trackBtn.track_bg, vol.vol_bg];
    for (bt in rollBtn) {
        rollBtn[bt].onRollOver = function() {
            this._alpha = 70;
        }
        rollBtn[bt].onRollOut = function() {
            this._alpha = 100;
        }
    }
 mid.playBtn.onRelease = function () {
  playSong();
 }
 mid.pauseBtn.onRelease = function () {
  this._visible = 0;
  mid.playBtn._visible = 1;
  pausePos = song.position / 1000;
  song.stop();
  top.equalizer._visible = 0;
  tocasim = false;
 }
 mid.nextBtn.onRelease = function () {
  pausePos = 0;
  current_song == nLimit ? current_song = 1: current_song++;
  song.stop();
  playSong();
 }
 mid.prevBtn.onRelease = function () {
  pausePos = 0;
  current_song == 1 ? current_song = nLimit: current_song--;
  song.stop();
  playSong();
 }
 mid.displayBtn.onPress = function () {
  if (topup == true) {
  top.easeY(toppos);
  topup = false;
  }
  else {
   top.easeY(int(toppos + top_mask._height - 0));
   topup = true;
  }
  this._rotation += 180;
  if (!(tocasim != true || topup != false)) {
   top.equalizer._visible = 1;
  }
  else {
   top.equalizer._visible = 0;
  }
 }
 mid.listBtn.onPress = function () {
  if (botup == true) {
   bot.easeY(botpos);
   botup = false;
  }
  else {
   bot.easeY(botpos - bot.list_bg._height - 6);
   botup = true;
  }
  this._rotation += 180;
 }
 this._parent.onEnterFrame = function () {
  dur = int(song.duration / 1000);
  pos = int(song.position / 1000);
  playTime = {};
  playTime.minutes = int(pos / 60);
  playTime.seconds = int(pos % 60);
  playTime.total = checkDigits(playTime.minutes) + ":" + checkDigits(playTime.seconds);
  trackTime = {};
  trackTime.minutes = int(dur / 60);
  trackTime.seconds = int(dur % 60);
  trackTime.total = checkDigits(trackTime.minutes) + ":" + checkDigits(trackTime.seconds);
  delete _global.__resolve;
   _global.__resolve = _global.__debugResolve;
  if (top.load_display == undefined) {
   top.display = playTime.total + " / " + trackTime.total;
  }
  else {
   top.display = top.load_display;
  }
  if (mid.trackBtn.trackDrag != true) {
   prozent = pos * 100 / dur;
   mid.trackBtn.track_play._xscale = prozent;
  }
 }
 mid.trackBtn.track_load.onEnterFrame = function () {
  total = this._parent._parent._parent.song.getBytesTotal();
  geladen = this._parent._parent._parent.song.getBytesLoaded();
  if (geladen != total) {
   this._parent.load_display = Math.round(geladen * 100 / total) + "% Loaded";
   this._xscale = Math.round(geladen * 100 / total);
  }
  else {
   this._xscale = 100;
   delete this.onEnterFrame;
   delete this._parent.load_display;
  }
 }
 mid.trackBtn.track_back.onPress = function () {
  this._parent.trackDrag = true;
  this._parent.track_play.onEnterFrame = function () {
   perc = (this._parent._xmouse - this._parent.track_back._x) / this._parent.track_back._width;
   max = this._parent.track_load._width / this._parent.track_back._width;
   perc > max ? perc = max: null;
   perc < 0.01 ? perc = 0.01: null;
   this._width = this._parent.track_back._width * perc;
   this._parent._parent._parent.pausePos = perc * this._parent._parent._parent.song.duration / 1000;
  }
 }
 mid.trackBtn.track_back.onRelease = mid.trackBtn.track_back.onReleaseOutside = function () {
  delete this._parent.track_play.onEnterFrame;
  this._parent.trackDrag = false;
  song.stop();
  playSong();
 }

 v1 = Math.round((vol.btn.mask._width / vol.btn._width) * 100);
 vol.btn.front.setMask(vol.btn.mask);
 song.setVolume(v1);
 vol.btn.onPress = function (){
     var c = this;
     c.onEnterFrame = function (){
         if (c._xmouse <= 0){
             c.mask._width = 0;
         }
         else if (c._xmouse > c._width){
             c.mask._width = c._width;
         }
         else{
             c.mask._width = c._xmouse;
         }
        _parent.updateVolume();
     }
 }
 vol.btn.onRelease = vol.btn.onReleaseOutside = function (){
     delete this.onEnterFrame;
 }
 vol.muteBtn.onRelease = function (){
     vol.btn.mask._width = 0;
     updateVolume();
 }
 vol.norBtn.onRelease = function (){
     vol.btn.mask._width = vol.btn._width * 0.8;
     updateVolume();
 }

 top.equalizer.stripes.setMask(top.equalizer.mask);
 top.equalizer.onEnterFrame = function () {
  ++i;
  this.createEmptyMovieClip("graph" + i, i);
  with (this["graph" + i]) {
   _x = 0;
   _y = 0;
   beginFill(0xff9900, 20);
   moveTo(0, 0);
   for (j = 0; j < 6; j++) {
    z = random(12) + 8;
    lineTo(j * 6, -1);
    lineTo(j * 6, -z);
    lineTo(j * 6 + 4, -z);
    lineTo(j * 6 + 4, -1);
    lineTo(j * 6, -1);
   }
   lineTo(j * 6, 0);
   lineTo(0, 0);
   endFill();
  }
  i >= 3 ? i=0: null;
 }
 top.title.setMask(top.title_mask);
 setInterval(scrollTitle, 60);
 MovieClip.prototype.easeY = function (t) {
  this.onEnterFrame = function () {
   this._y = int(t - (t - this._y) / 1.5);
   if (this._y > t - 1 && this._y < t + 1) {
    delete this.onEnterFrame;
   }
  }
 }
 mid.displayBtn.onPress();
 mid.listBtn.onPress();
}


 

출처 : 스윗터
글쓴이 : 영수 원글보기
메모 :

'mp3-1' 카테고리의 다른 글

  (0) 2019.03.17
tennese waltz  (0) 2019.01.14
5  (0) 2018.11.12
green  (0) 2018.09.27
만고강산  (0) 2018.09.19