var activeNum = pageNum;
var activesub = subNum;
var overNum = activeNum;
var menuNum = 4;
var linkDim=new Array();
linkDim[0]="URL써주세요";
linkDim[1]="URL써주세요";
linkDim[2]="URL써주세요";
linkDim[3]="URL써주세요";
//////////////////////////
for (var i = 0; i<menuNum; i++) {
//몽 추가
this["menu"+i].bt.onRelease = function() {
this._parent._parent.overNum = this._parent._name.substring(4);
if (this._parent._parent.overNum==3) getURL(linkDim[this._parent._parent.overNum],"_blank");
else getURL(linkDim[this._parent._parent.overNum]);
//trace(i);
}
this["menu"+i].bt.onRollOver = function() {
this._parent._parent.overNum = this._parent._name.substring(4);
};
this["menu"+i].bt.onRollOut = function() {
this._parent._parent.overNum = this._parent._parent.activeNum;
};
this["menu"+i].onEnterFrame = function() {
if (this._parent.overNum == this._name.substring(4)) {
this.nextFrame();
this.flag = true;
} else {
this.flag = false;
this.prevFrame();
this.prevFrame();
}
};
}
무비클립의 이름은 menu0부터~ menuNum의 갯수만큼