http://teaser.denp.kr/ => 인데요
보시면 밀리세컨드 타이머가 이상해서, 앞에 초단위 타이머까지 이상하게 보입니다.
아래가 플래쉬 액션스크립트인데, 도움주시면 감사하겠습니다. ㅠ
========================
dis.text = myYear+"년 "+myMonth+"월 "+myDay+"일 "+myHour+"시 까지는";
//aa = new Date(myYear, myMonth-1, myDay);
serverdd = Math.floor(Number(temp[1])-Number(temp[0]));
if (serverdd>0) {
txtBox1.gotoAndStop(1);
} else {
txtBox1.gotoAndStop(2);
serverdd = -serverdd;
}
startTime = getTimer();
aaHye();
setInterval(aaHye, 100);
function aaHye() {
myDate = new Date();
dd = Math.floor((getTimer()-startTime)/1000);
dd = serverdd-dd;
//
// 날짜단위 체크
var myDay = Math.floor(dd/60/60/24);
myDay1 = Math.floor(myDay/100);
myDay2 = Math.floor((myDay%100)/10);
myDay3 = myDay%10;
if (oldDay1 != myDay1) {
dayMc1.attachMovie("numMoving", "dd", 1);
dayMc1.dd.num.gotoAndStop(myDay1+1);
}
if (oldDay2 != myDay2) {
dayMc2.attachMovie("numMoving", "dd", 1);
dayMc2.dd.num.gotoAndStop(myDay2+1);
}
if (oldDay3 != myDay3) {
dayMc3.attachMovie("numMoving", "dd", 1);
dayMc3.dd.num.gotoAndStop(myDay3+1);
}
oldDay1 = myDay1;
oldDay2 = myDay2;
oldDay3 = myDay3;
//
// 시간단위 체크
var myHour = Math.floor(dd/60/60)%24;
myHour1 = Math.floor(myHour/10);
myHour2 = myHour%10;
if (oldHour1 != myHour1) {
hourMc1.attachMovie("numMoving", "dd", 1);
hourMc1.dd.num.gotoAndStop(myHour1+1);
}
if (oldHour2 != myHour2) {
hourMc2.attachMovie("numMoving", "dd", 1);
hourMc2.dd.num.gotoAndStop(myHour2+1);
}
oldHour1 = myHour1;
oldHour2 = myHour2;
//
// 분단위 체크
var myMinute = Math.floor(dd/60)%60;
myMinute1 = Math.floor(myMinute/10);
myMinute2 = myMinute%10;
if (oldMinute1 != myMinute1) {
minuteMc1.attachMovie("numMoving", "dd", 1);
minuteMc1.dd.num.gotoAndStop(myMinute1+1);
}
if (oldMinute2 != myMinute2) {
minuteMc2.attachMovie("numMoving", "dd", 1);
minuteMc2.dd.num.gotoAndStop(myMinute2+1);
}
oldMinute1 = myMinute1;
oldMinute2 = myMinute2;
//
// 초단위 체크
var mySecond = dd%60;
mySecond1 = Math.floor(mySecond/10);
mySecond2 = mySecond%10;
if (oldSecond1 != mySecond1) {
secondMc1.attachMovie("numMoving", "dd", 1);
secondMc1.dd.num.gotoAndStop(mySecond1+1);
}
secondMc2.attachMovie("numMoving", "dd", 1);
secondMc2.dd.num.gotoAndStop(mySecond2+1);
oldSecond1 = mySecond1;
// mili 초단위 체크
var mymSecond = dd%10;
mymSecond1 = Math.floor(mymSecond/10);
mymSecond2 = mymSecond%10;
if (oldmSecond1 != mymSecond1) {
msecondMc1.attachMovie("numMoving", "dd", 1);
msecondMc1.dd.num.gotoAndStop(mymSecond1+1);
}
msecondMc2.attachMovie("numMoving", "dd", 1);
msecondMc2.dd.num.gotoAndStop(mymSecond2+1);
oldmSecond1 = mymSecond1;
}
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 130 | 20년 전 | 4015 | ||
| 129 | 20년 전 | 2952 | ||
| 128 | 20년 전 | 3693 | ||
| 127 | 20년 전 | 3533 | ||
| 126 | 20년 전 | 3784 | ||
| 125 | 20년 전 | 8605 | ||
| 124 | 20년 전 | 2607 | ||
| 123 | 20년 전 | 3760 | ||
| 122 | 20년 전 | 3219 | ||
| 121 | 20년 전 | 2620 | ||
| 120 | 20년 전 | 2681 | ||
| 119 | 20년 전 | 2595 | ||
| 118 | 20년 전 | 2869 | ||
| 117 |
|
20년 전 | 3071 | |
| 116 | 20년 전 | 5331 | ||
| 115 | 20년 전 | 3935 | ||
| 114 | 20년 전 | 4985 | ||
| 113 | 20년 전 | 6228 | ||
| 112 | 20년 전 | 7334 | ||
| 111 | 21년 전 | 18444 | ||
| 110 | 21년 전 | 6887 | ||
| 109 | 21년 전 | 2894 | ||
| 108 | 21년 전 | 4150 | ||
| 107 |
prosper
|
21년 전 | 2511 | |
| 106 |
prosper
|
21년 전 | 4329 | |
| 105 |
아우겐나이스
|
21년 전 | 2926 | |
| 104 | 21년 전 | 2273 | ||
| 103 | 21년 전 | 2486 | ||
| 102 | 21년 전 | 2273 | ||
| 101 | 21년 전 | 2588 | ||
| 100 | 21년 전 | 1765 | ||
| 99 | 21년 전 | 1580 | ||
| 98 | 21년 전 | 1627 | ||
| 97 | 21년 전 | 2144 | ||
| 96 | 21년 전 | 1894 | ||
| 95 | 21년 전 | 2392 | ||
| 94 | 21년 전 | 3577 | ||
| 93 | 21년 전 | 1574 | ||
| 92 | 21년 전 | 1768 | ||
| 91 | 21년 전 | 3191 | ||
| 90 | 21년 전 | 2350 | ||
| 89 | 21년 전 | 3188 | ||
| 88 | 21년 전 | 2877 | ||
| 87 | 21년 전 | 3304 | ||
| 86 | 21년 전 | 5150 | ||
| 85 | 21년 전 | 2536 | ||
| 84 | 21년 전 | 4836 | ||
| 83 | 21년 전 | 2516 | ||
| 82 | 21년 전 | 3130 | ||
| 81 | 21년 전 | 7642 | ||
| 80 | 21년 전 | 3840 | ||
| 79 | 21년 전 | 3222 | ||
| 78 | 21년 전 | 4704 | ||
| 77 | 21년 전 | 2914 | ||
| 76 | 21년 전 | 6230 | ||
| 75 | 21년 전 | 4481 | ||
| 74 | 21년 전 | 5798 | ||
| 73 | 21년 전 | 3636 | ||
| 72 | 21년 전 | 5979 | ||
| 71 | 21년 전 | 3132 | ||
| 70 | 21년 전 | 2859 | ||
| 69 | 21년 전 | 2649 | ||
| 68 | 21년 전 | 2458 | ||
| 67 | 21년 전 | 2664 | ||
| 66 | 21년 전 | 2686 | ||
| 65 | 21년 전 | 3794 | ||
| 64 | 21년 전 | 2837 | ||
| 63 | 21년 전 | 2468 | ||
| 62 | 21년 전 | 2277 | ||
| 61 | 21년 전 | 3095 | ||
| 60 | 21년 전 | 3144 | ||
| 59 | 21년 전 | 2528 | ||
| 58 | 21년 전 | 2601 | ||
| 57 | 21년 전 | 2985 | ||
| 56 | 21년 전 | 2344 | ||
| 55 | 21년 전 | 2774 | ||
| 54 | 21년 전 | 2143 | ||
| 53 | 21년 전 | 2372 | ||
| 52 | 21년 전 | 2713 | ||
| 51 |
prosper
|
21년 전 | 2366 | |
| 50 |
prosper
|
21년 전 | 2183 | |
| 49 | 21년 전 | 2195 | ||
| 48 | 21년 전 | 2355 | ||
| 47 | 21년 전 | 1950 | ||
| 46 | 21년 전 | 1937 | ||
| 45 | 21년 전 | 2142 | ||
| 44 | 21년 전 | 2375 | ||
| 43 | 21년 전 | 4589 | ||
| 42 |
prosper
|
21년 전 | 2721 | |
| 41 |
prosper
|
21년 전 | 2123 | |
| 40 | 21년 전 | 2188 | ||
| 39 | 21년 전 | 2160 | ||
| 38 | 21년 전 | 2434 | ||
| 37 | 21년 전 | 2579 | ||
| 36 | 21년 전 | 1788 | ||
| 35 | 21년 전 | 4089 | ||
| 34 | 21년 전 | 3861 | ||
| 33 | 21년 전 | 3001 | ||
| 32 |
prosper
|
21년 전 | 2915 | |
| 31 | 21년 전 | 5303 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기