1) flashGo.js 라는 파일을 하나 만들어 올린다. 파일이름은 그냥 그렇게 붙였습니다.
<!--
// flashGo(파일경로, 가로, 세로, 아이디, 배경색, 윈도우모드)
function flashGo(url,w,h,id,bg,win){
// 플래시 코드 정의
var flashStr=
"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
"<param name='movie' value='"+url+"' />"+
"<param name='wmode' value='"+win+"' />"+
"<param name='menu' value='false' />"+
"<param name='quality' value='high' />"+
"<param name='bgcolor' value='"+bg+"' />"+
"<embed src='"+url+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
"</object>";
// 플래시 코드 출력
document.write(flashStr);
}
-->
2) head.sub.php 의 상단에 아래내용을 넣습니다.
<script language="javascript" src="<?=$g4['path']?>/js/flashGo.js"></script>
3)플래시 출력부분에 기존의 내용대신
<script language="javascript">flashGo('<?=$g4['path']?>/index.swf',640,375,'index','#EDECE7','transparent')</script>
이런식으로 필요한 내용을 넣어줍니다.
잘 되는지 확인 바랍니다.^^<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:50:06 Flash에서 이동 됨]</div>
<!--
// flashGo(파일경로, 가로, 세로, 아이디, 배경색, 윈도우모드)
function flashGo(url,w,h,id,bg,win){
// 플래시 코드 정의
var flashStr=
"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
"<param name='movie' value='"+url+"' />"+
"<param name='wmode' value='"+win+"' />"+
"<param name='menu' value='false' />"+
"<param name='quality' value='high' />"+
"<param name='bgcolor' value='"+bg+"' />"+
"<embed src='"+url+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
"</object>";
// 플래시 코드 출력
document.write(flashStr);
}
-->
2) head.sub.php 의 상단에 아래내용을 넣습니다.
<script language="javascript" src="<?=$g4['path']?>/js/flashGo.js"></script>
3)플래시 출력부분에 기존의 내용대신
<script language="javascript">flashGo('<?=$g4['path']?>/index.swf',640,375,'index','#EDECE7','transparent')</script>
이런식으로 필요한 내용을 넣어줍니다.
잘 되는지 확인 바랍니다.^^<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:50:06 Flash에서 이동 됨]</div>
댓글 2개
webpark
19년 전
심플한 방법이군요 ^^ 고맙습니다
뜨락의이름
18년 전
고맙슈...업어 갑니다..^^
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 130 | 20년 전 | 4003 | ||
| 129 | 20년 전 | 2941 | ||
| 128 | 20년 전 | 3675 | ||
| 127 | 20년 전 | 3509 | ||
| 126 | 20년 전 | 3764 | ||
| 125 | 20년 전 | 8593 | ||
| 124 | 20년 전 | 2602 | ||
| 123 | 20년 전 | 3747 | ||
| 122 | 20년 전 | 3209 | ||
| 121 | 20년 전 | 2611 | ||
| 120 | 20년 전 | 2673 | ||
| 119 | 20년 전 | 2585 | ||
| 118 | 20년 전 | 2860 | ||
| 117 |
|
20년 전 | 3061 | |
| 116 | 20년 전 | 5313 | ||
| 115 | 20년 전 | 3924 | ||
| 114 | 20년 전 | 4973 | ||
| 113 | 20년 전 | 6212 | ||
| 112 | 20년 전 | 7324 | ||
| 111 | 20년 전 | 18431 | ||
| 110 | 20년 전 | 6875 | ||
| 109 | 20년 전 | 2882 | ||
| 108 | 20년 전 | 4138 | ||
| 107 |
prosper
|
20년 전 | 2501 | |
| 106 |
prosper
|
20년 전 | 4317 | |
| 105 |
아우겐나이스
|
20년 전 | 2913 | |
| 104 | 20년 전 | 2259 | ||
| 103 | 20년 전 | 2478 | ||
| 102 | 20년 전 | 2259 | ||
| 101 | 20년 전 | 2576 | ||
| 100 | 20년 전 | 1749 | ||
| 99 | 20년 전 | 1571 | ||
| 98 | 20년 전 | 1618 | ||
| 97 | 20년 전 | 2130 | ||
| 96 | 20년 전 | 1876 | ||
| 95 | 20년 전 | 2377 | ||
| 94 | 20년 전 | 3566 | ||
| 93 | 20년 전 | 1562 | ||
| 92 | 20년 전 | 1757 | ||
| 91 | 20년 전 | 3182 | ||
| 90 | 20년 전 | 2343 | ||
| 89 | 20년 전 | 3171 | ||
| 88 | 20년 전 | 2872 | ||
| 87 | 20년 전 | 3297 | ||
| 86 | 20년 전 | 5135 | ||
| 85 | 20년 전 | 2520 | ||
| 84 | 20년 전 | 4825 | ||
| 83 | 20년 전 | 2507 | ||
| 82 | 20년 전 | 3121 | ||
| 81 | 20년 전 | 7630 | ||
| 80 | 20년 전 | 3824 | ||
| 79 | 20년 전 | 3210 | ||
| 78 | 20년 전 | 4697 | ||
| 77 | 20년 전 | 2902 | ||
| 76 | 20년 전 | 6219 | ||
| 75 | 20년 전 | 4470 | ||
| 74 | 20년 전 | 5783 | ||
| 73 | 20년 전 | 3626 | ||
| 72 | 20년 전 | 5970 | ||
| 71 | 20년 전 | 3118 | ||
| 70 | 20년 전 | 2844 | ||
| 69 | 20년 전 | 2642 | ||
| 68 | 20년 전 | 2447 | ||
| 67 | 20년 전 | 2656 | ||
| 66 | 20년 전 | 2673 | ||
| 65 | 20년 전 | 3789 | ||
| 64 | 20년 전 | 2826 | ||
| 63 | 20년 전 | 2457 | ||
| 62 | 20년 전 | 2265 | ||
| 61 | 20년 전 | 3078 | ||
| 60 | 20년 전 | 3134 | ||
| 59 | 20년 전 | 2519 | ||
| 58 | 20년 전 | 2591 | ||
| 57 | 20년 전 | 2967 | ||
| 56 | 20년 전 | 2321 | ||
| 55 | 20년 전 | 2762 | ||
| 54 | 20년 전 | 2128 | ||
| 53 | 20년 전 | 2354 | ||
| 52 | 20년 전 | 2700 | ||
| 51 |
prosper
|
21년 전 | 2351 | |
| 50 |
prosper
|
21년 전 | 2170 | |
| 49 | 21년 전 | 2180 | ||
| 48 | 21년 전 | 2344 | ||
| 47 | 21년 전 | 1935 | ||
| 46 | 21년 전 | 1930 | ||
| 45 | 21년 전 | 2136 | ||
| 44 | 21년 전 | 2362 | ||
| 43 | 21년 전 | 4582 | ||
| 42 |
prosper
|
21년 전 | 2715 | |
| 41 |
prosper
|
21년 전 | 2114 | |
| 40 | 21년 전 | 2180 | ||
| 39 | 21년 전 | 2148 | ||
| 38 | 21년 전 | 2420 | ||
| 37 | 21년 전 | 2569 | ||
| 36 | 21년 전 | 1777 | ||
| 35 | 21년 전 | 4073 | ||
| 34 | 21년 전 | 3851 | ||
| 33 | 21년 전 | 2990 | ||
| 32 |
prosper
|
21년 전 | 2905 | |
| 31 | 21년 전 | 5284 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기