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;
}
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 3130 | 14년 전 | 1455 | ||
| 3129 | 14년 전 | 1157 | ||
| 3128 | 14년 전 | 1034 | ||
| 3127 |
조이온라인
|
14년 전 | 997 | |
| 3126 |
마케팅메지션
|
14년 전 | 1366 | |
| 3125 | 14년 전 | 957 | ||
| 3124 | 14년 전 | 1345 | ||
| 3123 |
마케팅메지션
|
14년 전 | 1058 | |
| 3122 | 14년 전 | 899 | ||
| 3121 | 14년 전 | 1153 | ||
| 3120 | 14년 전 | 1273 | ||
| 3119 | 14년 전 | 999 | ||
| 3118 | 14년 전 | 1515 | ||
| 3117 | 14년 전 | 1227 | ||
| 3116 | 14년 전 | 1554 | ||
| 3115 |
windday
|
14년 전 | 1246 | |
| 3114 | 14년 전 | 1164 | ||
| 3113 | 14년 전 | 1238 | ||
| 3112 | 14년 전 | 3711 | ||
| 3111 | 14년 전 | 1051 | ||
| 3110 | 14년 전 | 2232 | ||
| 3109 | 14년 전 | 3702 | ||
| 3108 | 14년 전 | 1653 | ||
| 3107 | 14년 전 | 1580 | ||
| 3106 | 14년 전 | 2287 | ||
| 3105 | 14년 전 | 1467 | ||
| 3104 | 14년 전 | 1470 | ||
| 3103 | 14년 전 | 1695 | ||
| 3102 | 14년 전 | 1179 | ||
| 3101 | 14년 전 | 2018 | ||
| 3100 | 14년 전 | 1539 | ||
| 3099 | 14년 전 | 1149 | ||
| 3098 | 14년 전 | 1301 | ||
| 3097 | 14년 전 | 1079 | ||
| 3096 | 14년 전 | 1543 | ||
| 3095 | 14년 전 | 924 | ||
| 3094 | 14년 전 | 2132 | ||
| 3093 | 14년 전 | 1135 | ||
| 3092 | 14년 전 | 976 | ||
| 3091 | 14년 전 | 1433 | ||
| 3090 | 14년 전 | 1425 | ||
| 3089 | 14년 전 | 1370 | ||
| 3088 | 14년 전 | 1522 | ||
| 3087 | 14년 전 | 1179 | ||
| 3086 | 14년 전 | 1129 | ||
| 3085 | 14년 전 | 1754 | ||
| 3084 | 14년 전 | 1285 | ||
| 3083 | 14년 전 | 927 | ||
| 3082 |
|
14년 전 | 1109 | |
| 3081 | 14년 전 | 3180 | ||
| 3080 |
|
14년 전 | 1240 | |
| 3079 | 14년 전 | 940 | ||
| 3078 |
마케팅메지션
|
14년 전 | 1021 | |
| 3077 | 14년 전 | 815 | ||
| 3076 | 14년 전 | 876 | ||
| 3075 | 14년 전 | 1363 | ||
| 3074 | 14년 전 | 1062 | ||
| 3073 | 14년 전 | 909 | ||
| 3072 | 14년 전 | 1164 | ||
| 3071 | 14년 전 | 746 | ||
| 3070 | 14년 전 | 927 | ||
| 3069 | 14년 전 | 1102 | ||
| 3068 | 14년 전 | 970 | ||
| 3067 | 14년 전 | 876 | ||
| 3066 | 14년 전 | 936 | ||
| 3065 | 14년 전 | 1103 | ||
| 3064 |
하모니칼수
|
14년 전 | 1122 | |
| 3063 |
마케팅메지션
|
14년 전 | 1289 | |
| 3062 | 14년 전 | 1121 | ||
| 3061 | 14년 전 | 665 | ||
| 3060 |
|
14년 전 | 806 | |
| 3059 | 14년 전 | 1148 | ||
| 3058 | 14년 전 | 1233 | ||
| 3057 | 14년 전 | 664 | ||
| 3056 | 14년 전 | 2048 | ||
| 3055 | 14년 전 | 1473 | ||
| 3054 | 14년 전 | 1042 | ||
| 3053 | 14년 전 | 1004 | ||
| 3052 |
|
14년 전 | 1160 | |
| 3051 | 14년 전 | 1911 | ||
| 3050 |
떠돌이이병
|
14년 전 | 1176 | |
| 3049 | 14년 전 | 1111 | ||
| 3048 | 14년 전 | 1144 | ||
| 3047 | 14년 전 | 1070 | ||
| 3046 | 14년 전 | 1128 | ||
| 3045 |
마케팅메지션
|
14년 전 | 867 | |
| 3044 | 14년 전 | 1456 | ||
| 3043 | 14년 전 | 1004 | ||
| 3042 | 14년 전 | 852 | ||
| 3041 | 14년 전 | 2822 | ||
| 3040 | 14년 전 | 611 | ||
| 3039 | 14년 전 | 1060 | ||
| 3038 | 14년 전 | 1039 | ||
| 3037 | 14년 전 | 1004 | ||
| 3036 | 14년 전 | 855 | ||
| 3035 | 14년 전 | 1175 | ||
| 3034 |
마케팅메지션
|
14년 전 | 1237 | |
| 3033 | 14년 전 | 885 | ||
| 3032 | 14년 전 | 1286 | ||
| 3031 |
마케팅메지션
|
14년 전 | 918 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기