묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
플래쉬문의요...
2006.12.27 00:21
http://zed22.cafe24.com/noni/fulls.html 여기 가보셔서 단추를 클릭하시면 그자리에서 링크가 걸립니다. 이걸 메인 프레임쪽으로 링크를 걸게 하고 싶은데 안되네요.. 소스를 보여드릴게요... 어디서 소스를 바꿔야 하는지좀 고수님들알려주세요.. 참고로 플래쉬액션 입니다.... 플래쉬상에 있는 소스구요...
제발좀 알려주세요....
// //////////////////////////////////////////////////////
//
// and
//
// ddd
//
// //////////////////////////////////////////////////////
Stage.align = "";
Stage.scaleMode = "noScale";
Stage.showMenu = false;
// URL 연결
_root.connURL10 = "http://www.yahoo.co.kr";
_root.connURL11 = "";
_root.connURL12 = "";
_root.connURL20 = "http://www.naver.com";
_root.connURL21 = "";
_root.connURL22 = "";
_root.connURL23 = "";
_root.connURL24 = "";
_root.connURL30 = "http://www.naver.com";
_root.connURL31 = "";
_root.connURL32 = "";
_root.connURL33 = "";
_root.connURL40 = "http://www.daum.net";
_root.connURL41 = "";
_root.connURL42 = "";
_root.connURL50 = "http://www.nate.com";
_root.connURL51 = "";
_root.connURL52 = "";
_root.connURL53 = "";
_root.connGET10 = "";
_root.connGET11 = "";
_root.connGET12 = "";
_root.connGET20 = "";
_root.connGET21 = "";
_root.connGET22 = "";
_root.connGET23 = "";
_root.connGET24 = "";
_root.connGET30 = "";
_root.connGET31 = "";
_root.connGET32 = "";
_root.connGET33 = "";
_root.connGET40 = "";
_root.connGET41 = "";
_root.connGET42 = "";
_root.connGET50 = "";
_root.connGET51 = "";
_root.connGET52 = "";
_root.connGET53 = "";
_root.aniURL1 = "http://www.naver.com";
_root.aniURL2 = "";
_root.aniURL3 = "";
_root.aniGET1 = "";
_root.aniGET2 = "";
_root.aniGET3 = "";
stop();
_global.menuNum = 5;
// 메인메뉴 갯수
_global.spd = 4;
for (i=1; i<=menuNum; i++) {
inNum = 1;
while (inNum>maxNum) {
if (this['sub'+i+inNum] == undefined) {
maxNum = inNum+1;
}
this['sub'+i+inNum]._alpha = 0;
this['sub'+i+inNum]._y = -200;
inNum++;
}
this['subNum'+i] = inNum-2;
this['subHei'+i] = this['subNum'+i]*20+20;
maxNum = 0;
this['sub'+i].useHandCursor = false;
}
beMaskX = this.subMask._x;
beSubiX = this.sub1._x;
favoTxtAlaph = 60;
favoriteX = 12;
this.onEnterFrame = function() {
for (i=1; i<=menuNum; i++) {
if (name) {
if (name == i) {
this['main'+i]._alpha += (100-this['main'+i]._alpha)/spd;
this['sub'+i]._alpha += (80-this['sub'+i]._alpha)/spd;
this['mtx'+i]._xscale += (110-this['mtx'+i]._xscale)/spd;
this['mtx'+i]._yscale += (110-this['mtx'+i]._yscale)/spd;
this['sub'+i]._height += (this['subHei'+i]-this['sub'+i]._height)/spd;
dn = 20;
for (n=1; n<=this['subNum'+i]; n++) {
this['sub'+i+n]._x = 280+dx;
this['sub'+i+n]._y = this['sub'+i]._y+dn;
this['sub'+i+n]._alpha += (100-this['sub'+i+n]._alpha)/spd;
dn += 20;
dx -= 5;
}
dn = 0;
dx = 0;
} else {
this['main'+i]._alpha += (50-this['main'+i]._alpha)/spd;
this['sub'+i]._alpha += (50-this['sub'+i]._alpha)/spd;
this['mtx'+i]._xscale += (100-this['mtx'+i]._xscale)/spd;
this['mtx'+i]._yscale += (100-this['mtx'+i]._yscale)/spd;
this['sub'+i]._height += (20-this['sub'+i]._height)/spd;
for (n=1; n<=this['subNum'+i]; n++) {
this['sub'+i+n]._y = -200;
this['sub'+i+n]._alpha = 0;
}
}
this['sub'+i]._x += (beSubiX+100-this['sub'+i]._x)/spd;
} else {
this['main'+i]._alpha += (50-this['main'+i]._alpha)/spd;
this['sub'+i]._alpha += (50-this['sub'+i]._alpha)/spd;
this['mtx'+i]._xscale += (100-this['mtx'+i]._xscale)/spd;
this['mtx'+i]._yscale += (100-this['mtx'+i]._yscale)/spd;
this['sub'+i]._x += (beSubiX-this['sub'+i]._x)/spd;
this['sub'+i]._height += (20-this['sub'+i]._height)/spd;
for (n=1; n<=this['subNum'+i]; n++) {
this['+ '+ 'sub'+i+n]._y = -200;
this['sub'+ '+i+n]._alpha = 0;
}
}
for (n=1; n<=menuNum; n++) {
if (n != 1) {
this['sub'+n]._y += (this['sub'+(n-1)]._y+this['sub'+(n-1)]._height+1-this['sub'+n]._y)/(spd/2);
}
}
}
if (name) {
this.sub._x += (100-this.sub._x)/spd;
this.subShadow._x += (100-this.subShadow._x)/spd;
this.subMask._x += (beMaskX+100-this.subMask._x)/spd;
} else {
this.sub._x += (0-this.sub._x)/spd;
this.subShadow._x += (0-this.subShadow._x)/spd;
this.subMask._x += (beMaskX-this.subMask._x)/spd;
}
this.favo.favoTxt._alpha += (favoTxtAlaph-this.favo.favoTxt._alpha)/3;
this.favo._x += (favoriteX-this.favo._x)/3;
for (i=1; i<=3; i++) {
if (num == i) {
this.favo['ani'+i].nextFrame();
} else {
this.favo['ani'+i].prevFrame();
}
}
};
for (i=1; i<=menuNum; i++) {
this['btn'+i].onRollOver = this['sub'+i].onRollOver=function () { name = this._name.substring(3, 4);};
this['btn'+i].onRollOut = this['sub'+i].onRollOut=function () { name = undefined;if (_root.page) {name = _root.page;}};
this['btn'+i].onRelease = function() {
name = this._name.substring(3, 4);
getURL(_root['connURL'+name+'0'], _root['connGET'+name+'0']);
};
for (n=1; n<=menuNum; n++) {
this['sub'+i+n].onRollOver = function() {
name = this._name.substring(3, 4);
};
this['sub'+i+n].onRollOut = function() {
name = undefined;
if (_root.page) {
name = _root.page;
}
};
this['sub'+i+n].onRelease = function() {
name = this._name.substring(3, 5);
getURL(_root['connURL'+name], _root['connGET'+ '+name]);
};
}
}
for (i=1; i<=3; i++) {
this.favo['ani'+i+'Btn'].onRollOver = function() {
num = this._name.substring(3, 4);
};
this.favo['ani'+i+'Btn'].onRollOut = function() {
num = undefined;
};
this.favo['+ 'ani'+i+'Btn'].onRelease = function() {
num = this._name.substring(3, 4);
getURL(_root['aniURL'+num], _root['aniGET'+num]);
};
}
if (_root.page) {
name = _root.page;
}
this.favo.favoBtn.onRollOver = function() {
favoTxtAlaph = 100;
};
this.favo.favoBtn.onRollOut = function() {
favoTxtAlaph = 60;
};
this.favo.favoBtn.onRelease = function() {
if (oneClick) {
favoriteX = 12;
oneClick = false;
} else {
favoriteX = 410;
oneClick = true;
}
};
제발좀 알려주세요....
// //////////////////////////////////////////////////////
//
// and
//
// ddd
//
// //////////////////////////////////////////////////////
Stage.align = "";
Stage.scaleMode = "noScale";
Stage.showMenu = false;
// URL 연결
_root.connURL10 = "http://www.yahoo.co.kr";
_root.connURL11 = "";
_root.connURL12 = "";
_root.connURL20 = "http://www.naver.com";
_root.connURL21 = "";
_root.connURL22 = "";
_root.connURL23 = "";
_root.connURL24 = "";
_root.connURL30 = "http://www.naver.com";
_root.connURL31 = "";
_root.connURL32 = "";
_root.connURL33 = "";
_root.connURL40 = "http://www.daum.net";
_root.connURL41 = "";
_root.connURL42 = "";
_root.connURL50 = "http://www.nate.com";
_root.connURL51 = "";
_root.connURL52 = "";
_root.connURL53 = "";
_root.connGET10 = "";
_root.connGET11 = "";
_root.connGET12 = "";
_root.connGET20 = "";
_root.connGET21 = "";
_root.connGET22 = "";
_root.connGET23 = "";
_root.connGET24 = "";
_root.connGET30 = "";
_root.connGET31 = "";
_root.connGET32 = "";
_root.connGET33 = "";
_root.connGET40 = "";
_root.connGET41 = "";
_root.connGET42 = "";
_root.connGET50 = "";
_root.connGET51 = "";
_root.connGET52 = "";
_root.connGET53 = "";
_root.aniURL1 = "http://www.naver.com";
_root.aniURL2 = "";
_root.aniURL3 = "";
_root.aniGET1 = "";
_root.aniGET2 = "";
_root.aniGET3 = "";
stop();
_global.menuNum = 5;
// 메인메뉴 갯수
_global.spd = 4;
for (i=1; i<=menuNum; i++) {
inNum = 1;
while (inNum>maxNum) {
if (this['sub'+i+inNum] == undefined) {
maxNum = inNum+1;
}
this['sub'+i+inNum]._alpha = 0;
this['sub'+i+inNum]._y = -200;
inNum++;
}
this['subNum'+i] = inNum-2;
this['subHei'+i] = this['subNum'+i]*20+20;
maxNum = 0;
this['sub'+i].useHandCursor = false;
}
beMaskX = this.subMask._x;
beSubiX = this.sub1._x;
favoTxtAlaph = 60;
favoriteX = 12;
this.onEnterFrame = function() {
for (i=1; i<=menuNum; i++) {
if (name) {
if (name == i) {
this['main'+i]._alpha += (100-this['main'+i]._alpha)/spd;
this['sub'+i]._alpha += (80-this['sub'+i]._alpha)/spd;
this['mtx'+i]._xscale += (110-this['mtx'+i]._xscale)/spd;
this['mtx'+i]._yscale += (110-this['mtx'+i]._yscale)/spd;
this['sub'+i]._height += (this['subHei'+i]-this['sub'+i]._height)/spd;
dn = 20;
for (n=1; n<=this['subNum'+i]; n++) {
this['sub'+i+n]._x = 280+dx;
this['sub'+i+n]._y = this['sub'+i]._y+dn;
this['sub'+i+n]._alpha += (100-this['sub'+i+n]._alpha)/spd;
dn += 20;
dx -= 5;
}
dn = 0;
dx = 0;
} else {
this['main'+i]._alpha += (50-this['main'+i]._alpha)/spd;
this['sub'+i]._alpha += (50-this['sub'+i]._alpha)/spd;
this['mtx'+i]._xscale += (100-this['mtx'+i]._xscale)/spd;
this['mtx'+i]._yscale += (100-this['mtx'+i]._yscale)/spd;
this['sub'+i]._height += (20-this['sub'+i]._height)/spd;
for (n=1; n<=this['subNum'+i]; n++) {
this['sub'+i+n]._y = -200;
this['sub'+i+n]._alpha = 0;
}
}
this['sub'+i]._x += (beSubiX+100-this['sub'+i]._x)/spd;
} else {
this['main'+i]._alpha += (50-this['main'+i]._alpha)/spd;
this['sub'+i]._alpha += (50-this['sub'+i]._alpha)/spd;
this['mtx'+i]._xscale += (100-this['mtx'+i]._xscale)/spd;
this['mtx'+i]._yscale += (100-this['mtx'+i]._yscale)/spd;
this['sub'+i]._x += (beSubiX-this['sub'+i]._x)/spd;
this['sub'+i]._height += (20-this['sub'+i]._height)/spd;
for (n=1; n<=this['subNum'+i]; n++) {
this['+ '+ 'sub'+i+n]._y = -200;
this['sub'+ '+i+n]._alpha = 0;
}
}
for (n=1; n<=menuNum; n++) {
if (n != 1) {
this['sub'+n]._y += (this['sub'+(n-1)]._y+this['sub'+(n-1)]._height+1-this['sub'+n]._y)/(spd/2);
}
}
}
if (name) {
this.sub._x += (100-this.sub._x)/spd;
this.subShadow._x += (100-this.subShadow._x)/spd;
this.subMask._x += (beMaskX+100-this.subMask._x)/spd;
} else {
this.sub._x += (0-this.sub._x)/spd;
this.subShadow._x += (0-this.subShadow._x)/spd;
this.subMask._x += (beMaskX-this.subMask._x)/spd;
}
this.favo.favoTxt._alpha += (favoTxtAlaph-this.favo.favoTxt._alpha)/3;
this.favo._x += (favoriteX-this.favo._x)/3;
for (i=1; i<=3; i++) {
if (num == i) {
this.favo['ani'+i].nextFrame();
} else {
this.favo['ani'+i].prevFrame();
}
}
};
for (i=1; i<=menuNum; i++) {
this['btn'+i].onRollOver = this['sub'+i].onRollOver=function () { name = this._name.substring(3, 4);};
this['btn'+i].onRollOut = this['sub'+i].onRollOut=function () { name = undefined;if (_root.page) {name = _root.page;}};
this['btn'+i].onRelease = function() {
name = this._name.substring(3, 4);
getURL(_root['connURL'+name+'0'], _root['connGET'+name+'0']);
};
for (n=1; n<=menuNum; n++) {
this['sub'+i+n].onRollOver = function() {
name = this._name.substring(3, 4);
};
this['sub'+i+n].onRollOut = function() {
name = undefined;
if (_root.page) {
name = _root.page;
}
};
this['sub'+i+n].onRelease = function() {
name = this._name.substring(3, 5);
getURL(_root['connURL'+name], _root['connGET'+ '+name]);
};
}
}
for (i=1; i<=3; i++) {
this.favo['ani'+i+'Btn'].onRollOver = function() {
num = this._name.substring(3, 4);
};
this.favo['ani'+i+'Btn'].onRollOut = function() {
num = undefined;
};
this.favo['+ 'ani'+i+'Btn'].onRelease = function() {
num = this._name.substring(3, 4);
getURL(_root['aniURL'+num], _root['aniGET'+num]);
};
}
if (_root.page) {
name = _root.page;
}
this.favo.favoBtn.onRollOver = function() {
favoTxtAlaph = 100;
};
this.favo.favoBtn.onRollOut = function() {
favoTxtAlaph = 60;
};
this.favo.favoBtn.onRelease = function() {
if (oneClick) {
favoriteX = 12;
oneClick = false;
} else {
favoriteX = 410;
oneClick = true;
}
};