
ÇÁ·¹ÀÓ ¾×¼Ç
menuNum = 8;
_global.link = ["/1.asp", "/2.asp", "/3.asp", "/4.asp", "5.asp", "6.html", "7.html", "8,asp"];
_global.preactive = pageNum;
_global.active = _global.preactive;
for (i=1; i<=menuNum; i++) {
this[i].hit.onRollOver = function() {
_global.active = this._parent._name;
this._parent.swapDepths(j++);
};
this[i].hit.onRollOut = function() {
_global.active = _global.preactive;
};
this[i].hit.onPress = function() {
getURL(_global.link[this._parent._name-1]);
};
this[i].onEnterFrame = function() {
if (_global.active == this._name) {
this.nextFrame();
} else {
this.prevFrame();
}
};
}
¸Þ´ºÀ̸§ ¹«ºñŬ¸³ 1,2,3,4.... Àç»ý¿ªÀç»ý...Æ÷ÇÔµÊ
¹«ºñŬ¸³¾È¿¡ hit Åõ¸í¹«ºñŬ¸³Æ÷ÇÔ | |