플래시 위에 이미지 올리려는데 안올라가네요..소스좀 봐주세요 정보
플래시 위에 이미지 올리려는데 안올라가네요..소스좀 봐주세요본문
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<html>
<head>
<title>▣▣▣▣ 하얀공원에 오신걸 환영합니다. ▣▣▣▣</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link href="./pen_01.css" rel="stylesheet" type="text/css">
<!-- ie patch 대응스크립트 -->
<script language=javascript src="./patch.js"></script>
<script language="javascript"> //플래시팝업
function popupWindow(url, w, h) {
var posX = (screen.width - w) / 2;
var posY = (screen.height - h) / 2;
var option = ",resizable=no,scrollbars=no,status=no";
window.open(url, "new_win","width="+w+",height="+h+",left="+posX +",top="+posY+option);
}
</script>
<script language="JavaScript"><!-- //팝업창시작
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
cookie_str = document.cookie;
cookie_str.toString();
pos_start = cookie_str.indexOf(name);
pos_start = cookie_str.indexOf('=', pos_start);
pos_end = cookie_str.indexOf(';', pos_start);
if (pos_end <= 0) pos_end = cookie_str.length;
cookie_val = cookie_str.substring(pos_start + 1, pos_end);
if (cookie_val == "done")
return;
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function notice_getCookie( name )
{
var nameOfCookie = name + "=";
var x = 0;
while ( x <= document.cookie.length )
{
var y = (x+nameOfCookie.length);
if ( document.cookie.substring( x, y ) == nameOfCookie ) {
if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
endOfCookie = document.cookie.length;
return unescape( document.cookie.substring( y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 )
break;
}
return "";
}
var getCookie = document.cookie;
if ( notice_getCookie( "popup" ) != "done" )
{
window.open('html/popup.htm','popup','width=408, height=520,left=100,top=100');
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body bgcolor="#000000" text="#FFFFFF" topmargin="0" leftmargin="0">
<table width="1280" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="3"><img src="images/bg_04.jpg" width="50" height="800"></td>
<td><table width="1180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="878"><img src="images/bg_03.jpg" width="878" height="50"></td>
<!-- 처음으로 버튼 -->
<td><a href="<?=$g4['path']?>/" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m01.jpg" width="55" height="50" border="0"></a></td>
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<td><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m02.jpg" width="56" height="50" border="0"></a></td>
<td><a href="<?=$g4['bbs_path']?>/register.php" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m03.jpg" width="78" height="50" border="0"></a></td>
<? } else { ?>
<!-- 로그인 이후 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/logout.php" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m04.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m05.gif" width="78" height="31" border="0"></a></td>
<? } ?>
<td class='small'><a href="javascript://" onclick="window.external.AddFavorite('http://www.whiteparktel.net', 하얀파크에 오신걸 환영합니다.)"><img src="images/book.jpg" width="113" height="50"></a></td>
</tr>
</table></td>
<td rowspan="3"><img src="images/bg_05.jpg" width="50" height="800"></td>
</tr>
<tr>
<td width="1180" height="700" valign="top"><script language="javascript">flashWrite('./flash/new_sub.swf',1180,700,'','','')</script>
</td>
</tr>
<tr>
<td><img src="images/gkeks.jpg" width="1180" height="50"></td>
</tr>
</table>
<!--div 이미지 얻히기 -->
<div id="news" style="position:absolute; left:51px; top:542px; width:1178px; height:189px; z-index:1;">
<table width="1178" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="360"> </td>
<td width="368"><img src="images//22.png" width="368" height="189"></td>
<td width="451"><img src="images/33.png" width="451" height="189"></td>
</tr>
</table>
</div>
</body>
</html>
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<html>
<head>
<title>▣▣▣▣ 하얀공원에 오신걸 환영합니다. ▣▣▣▣</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link href="./pen_01.css" rel="stylesheet" type="text/css">
<!-- ie patch 대응스크립트 -->
<script language=javascript src="./patch.js"></script>
<script language="javascript"> //플래시팝업
function popupWindow(url, w, h) {
var posX = (screen.width - w) / 2;
var posY = (screen.height - h) / 2;
var option = ",resizable=no,scrollbars=no,status=no";
window.open(url, "new_win","width="+w+",height="+h+",left="+posX +",top="+posY+option);
}
</script>
<script language="JavaScript"><!-- //팝업창시작
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
cookie_str = document.cookie;
cookie_str.toString();
pos_start = cookie_str.indexOf(name);
pos_start = cookie_str.indexOf('=', pos_start);
pos_end = cookie_str.indexOf(';', pos_start);
if (pos_end <= 0) pos_end = cookie_str.length;
cookie_val = cookie_str.substring(pos_start + 1, pos_end);
if (cookie_val == "done")
return;
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function notice_getCookie( name )
{
var nameOfCookie = name + "=";
var x = 0;
while ( x <= document.cookie.length )
{
var y = (x+nameOfCookie.length);
if ( document.cookie.substring( x, y ) == nameOfCookie ) {
if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
endOfCookie = document.cookie.length;
return unescape( document.cookie.substring( y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 )
break;
}
return "";
}
var getCookie = document.cookie;
if ( notice_getCookie( "popup" ) != "done" )
{
window.open('html/popup.htm','popup','width=408, height=520,left=100,top=100');
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body bgcolor="#000000" text="#FFFFFF" topmargin="0" leftmargin="0">
<table width="1280" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="3"><img src="images/bg_04.jpg" width="50" height="800"></td>
<td><table width="1180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="878"><img src="images/bg_03.jpg" width="878" height="50"></td>
<!-- 처음으로 버튼 -->
<td><a href="<?=$g4['path']?>/" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m01.jpg" width="55" height="50" border="0"></a></td>
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<td><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m02.jpg" width="56" height="50" border="0"></a></td>
<td><a href="<?=$g4['bbs_path']?>/register.php" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m03.jpg" width="78" height="50" border="0"></a></td>
<? } else { ?>
<!-- 로그인 이후 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/logout.php" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m04.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php" onFocus="blur();"><img src="<?=$g4['path']?>/img/top_m05.gif" width="78" height="31" border="0"></a></td>
<? } ?>
<td class='small'><a href="javascript://" onclick="window.external.AddFavorite('http://www.whiteparktel.net', 하얀파크에 오신걸 환영합니다.)"><img src="images/book.jpg" width="113" height="50"></a></td>
</tr>
</table></td>
<td rowspan="3"><img src="images/bg_05.jpg" width="50" height="800"></td>
</tr>
<tr>
<td width="1180" height="700" valign="top"><script language="javascript">flashWrite('./flash/new_sub.swf',1180,700,'','','')</script>
</td>
</tr>
<tr>
<td><img src="images/gkeks.jpg" width="1180" height="50"></td>
</tr>
</table>
<!--div 이미지 얻히기 -->
<div id="news" style="position:absolute; left:51px; top:542px; width:1178px; height:189px; z-index:1;">
<table width="1178" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="360"> </td>
<td width="368"><img src="images//22.png" width="368" height="189"></td>
<td width="451"><img src="images/33.png" width="451" height="189"></td>
</tr>
</table>
</div>
</body>
</html>
댓글 전체

일단 가장 먼저...플래시에 wmode를 투명으로 지정해보세요..
<script language="javascript">flashWrite('./flash/new_sub.swf',1180,700,'','','transparent')</script>
<script language="javascript">flashWrite('./flash/new_sub.swf',1180,700,'','','transparent')</script>