에러좀 봐주세요... 정보
Flash 에러좀 봐주세요...본문
아래와 같이 했을경우 10번~13번이 같이 에러가 납니다.
http://civilpe.or.kr/sos.php 이런식으로요....
어디를 수정해야 할까요??
link = new Array();
link[1] = "/bbs/board.php?bo_table=menu5_1";
link[2] = "/bbs/board.php?bo_table=menu5_2";
link[3] = "/bbs/board.php?bo_table=menu5_3";
link[4] = "/bbs/board.php?bo_table=menu5_4";
link[5] = "/bbs/board.php?bo_table=menu5_5";
link[6] = "/bbs/board.php?bo_table=menu5_6";
link[7] = "/bbs/board.php?bo_table=menu5_7";
link[8] = "/bbs/board.php?bo_table=menu5_8";
link[9] = "/bbs/board.php?bo_table=menu5_9";
link[10] = "/bbs/board.php?bo_table=menu5_10";
link[11] = "/bbs/board.php?bo_table=menu5_11";
link[12] = "/bbs/board.php?bo_table=menu5_12";
link[13] = "/bbs/board.php?bo_table=menu5_13";
link[1] = "/bbs/board.php?bo_table=menu5_1";
link[2] = "/bbs/board.php?bo_table=menu5_2";
link[3] = "/bbs/board.php?bo_table=menu5_3";
link[4] = "/bbs/board.php?bo_table=menu5_4";
link[5] = "/bbs/board.php?bo_table=menu5_5";
link[6] = "/bbs/board.php?bo_table=menu5_6";
link[7] = "/bbs/board.php?bo_table=menu5_7";
link[8] = "/bbs/board.php?bo_table=menu5_8";
link[9] = "/bbs/board.php?bo_table=menu5_9";
link[10] = "/bbs/board.php?bo_table=menu5_10";
link[11] = "/bbs/board.php?bo_table=menu5_11";
link[12] = "/bbs/board.php?bo_table=menu5_12";
link[13] = "/bbs/board.php?bo_table=menu5_13";
numOfMainBtn = 13;
_global.active = PageNum;
_global.over = 1;
for (i = 1; i <= numOfMainBtn; i++)
{
this["m"+i].defaultY = this["m"+i]._y;
this["m"+i].bg.onRollOver = function ()
{
_global.over = this._parent._name.charAt(1);
};
this["m"+i].bg.onRelease = function ()
{
getURL(link[this._parent._name.charAt(1)], "");
};
this["m"+i].onEnterFrame = function ()
{
if (over == this._name.charAt(1))
{
this.direction = "next";
this.nextFrame();
}
else
{
this.direction = "prev";
this.prevFrame();
} // end if
};
} // end of for
this.onEnterFrame = function ()
{
for (i = 2; i <= numOfMainBtn; i++)
{
this["m"+i].y = this["m"+i].y + (this[("m"+i) - 1]._y + this[("m"+i) - 1]._height - this["m"+i]._y) / 14;
} // end of for
};
_global.active = PageNum;
_global.over = 1;
for (i = 1; i <= numOfMainBtn; i++)
{
this["m"+i].defaultY = this["m"+i]._y;
this["m"+i].bg.onRollOver = function ()
{
_global.over = this._parent._name.charAt(1);
};
this["m"+i].bg.onRelease = function ()
{
getURL(link[this._parent._name.charAt(1)], "");
};
this["m"+i].onEnterFrame = function ()
{
if (over == this._name.charAt(1))
{
this.direction = "next";
this.nextFrame();
}
else
{
this.direction = "prev";
this.prevFrame();
} // end if
};
} // end of for
this.onEnterFrame = function ()
{
for (i = 2; i <= numOfMainBtn; i++)
{
this["m"+i].y = this["m"+i].y + (this[("m"+i) - 1]._y + this[("m"+i) - 1]._height - this["m"+i]._y) / 14;
} // end of for
};
stop ();
추천
0
0
댓글 1개
안뜹니다 ㅜ_ㅜ