허

플래시 메뉴인데 링크가 안걸리는데요.;

· 2011-03-11 (금) 11:29:35 · 2619

뭐가 잘못 되었을까요?
메뉴부분에 링크를 걸어줘도 # 표시만 나오고 해당 페이지로 넘어가지를 않아요.


link = new Array();
link[1] = "/company/company_01.php";
link[2] = "/company/company_02.php";
link[3] = "/company/company_03.php";
link[4] = "/company/company_04.php";
link[5] = "/company/company_05.php";

// 각 메인메뉴에 해당하는 웹페이지 주소입니다.
frame = new Array();
frame[1] = "_self";
frame[2] = "_self";
frame[3] = "_self";
frame[4] = "_self";
frame[5] = "_self";

// 타겟 프레임
numOfMenu = 5;
// 메뉴 개수
//defaultY = 40;
// 메뉴의 기본 세로크기
//max = new Array(0, 0, 0,0, 0, 0, 0, 0, 0, 0, 0);
// 각 메뉴 롤오버시 해당 메뉴의 세로크기
// 첫번째 80은 첫번째 메뉴 롤오버시 첫번째 메뉴가 아래쪽으로 내려오는 공간크기(80픽셀)
// 두번째 80은 두번째 메뉴 롤오버시 두번째 메뉴가 아래쪽으로 내려오는 공간크기(80픽셀)
//
_global.active = pageNum;
_global.subActive = subNum;
// 현재 활성화된 메인버튼과 서브버튼 번호를 저장합니다.
// pageNum,subNum은 htm파일에서 지정됩니다.
_global.over = active;
for (i=1; i<=numOfMenu; i++) {
 //this[i].defaultY = this[i]._y;
 this[i].bg.onRollOver = function() {
  _global.over = this._parent._name;
 };
 this[i].bg.onRollOut = this[i].bg.onDragOut=function () {
  _global.over = active;
 };
 this[i].bg.onRelease = function() {
  getURL(link[this._parent._name], frame[this._parent._name]);
  // 메인버튼 링크
 };
 //this[i].bg._height = defaultY;
 //if (i != 1) {
  //this[i]._y = this[i-1].bg._height+this[i-1]._y;
 //}
 this[i].onEnterFrame = function() {
  if (over == this._name) {
   this.direction = "next";
   this.nextFrame();
  } else {
   this.direction = "prev";
   this.prevFrame();
  }
  /*if (int(this._name)>int(over)) {
   this._y += (this.defaultY+max[over-1]-this._y)/4;
  } else {
   this._y += (this.defaultY-this._y)/4;
  }*/
 };
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

[이 게시물은 관리자님에 의해 2011-10-31 16:50:06 Flash에서 이동 됨]
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,187건
+
제목 글쓴이 날짜 조회
11-01-08 조회 2,593
11-01-08 조회 2,563
11-01-07 조회 3,167
11-01-07 조회 2,658
11-01-07 조회 2,268
11-01-07 조회 2,411
11-01-07 조회 4,580
11-01-07 조회 2,612
11-01-06 조회 2,341
11-01-06 조회 2,424
11-01-06 조회 2,148
11-01-06 조회 2,250
11-01-06 조회 2,665
11-01-06 조회 2,540
11-01-06 조회 2,281
11-01-06 조회 2,569
11-01-06 조회 2,038
11-01-06 조회 2,297
11-01-06 조회 2,420
11-01-05 조회 2,291
11-01-05 조회 2,199
11-01-05 조회 2,199
11-01-05 조회 2,374
11-01-04 조회 2,446
11-01-02 조회 2,570
11-01-02 조회 2,444
11-01-01 조회 1,855
10-12-30 조회 2,057
10-12-30 조회 2,416
10-12-30 조회 2,504
10-12-30 조회 1,873
10-12-29 조회 3,417
10-12-29 조회 2,763
10-12-29 조회 2,278
10-12-29 조회 2,310
10-12-29 조회 2,550
10-12-29 조회 3,365
10-12-29 조회 2,619
10-12-29 조회 2,400
10-12-28 조회 2,410
10-12-28 조회 2,399
10-12-28 조회 2,530
10-12-28 조회 2,114
10-12-28 조회 2,723
10-12-28 조회 2,266
10-12-28 조회 2,065
10-12-28 조회 4,098
10-12-27 조회 1,792
10-12-27 조회 2,309
10-12-27 조회 2,291
10-12-26 조회 2,350
10-12-26 조회 2,080
10-12-24 조회 2,441
10-12-24 조회 2,487
10-12-24 조회 2,114
10-12-24 조회 2,623
10-12-24 조회 2,208
10-12-24 조회 2,332
10-12-23 조회 2,537
10-12-23 조회 2,214
10-12-23 조회 2,026
10-12-23 조회 2,240
10-12-23 조회 2,561
10-12-22 조회 2,195
10-12-22 조회 2,169
10-12-22 조회 2,538
10-12-22 조회 2,378
10-12-22 조회 2,174
10-12-21 조회 2,304
10-12-21 조회 2,396
10-12-20 조회 2,153
10-12-20 조회 2,135
10-12-20 조회 1,839
10-12-20 조회 2,118
10-12-20 조회 2,366
10-12-20 조회 2,187
10-12-20 조회 2,192
10-12-19 조회 2,350
10-12-19 조회 2,928
10-12-18 조회 1,760
10-12-18 조회 2,210
10-12-18 조회 2,251
10-12-18 조회 2,152
10-12-18 조회 2,024
10-12-17 조회 2,175
10-12-17 조회 1,927
10-12-17 조회 3,242
10-12-17 조회 1,989
10-12-17 조회 2,910
10-12-17 조회 1,986
10-12-17 조회 2,032
10-12-16 조회 2,170
10-12-16 조회 2,087
10-12-16 조회 2,787
10-12-16 조회 2,224
10-12-16 조회 2,152
10-12-15 조회 2,338
10-12-15 조회 2,122
10-12-15 조회 1,983
10-12-15 조회 2,157