묻고답하기
외부페이지에 플래시 삽입 방법
2012.10.24 17:13
외부페이지만들어서 서브페이지 작업을 하고있는데요
플래시로 서브메뉴 작업해서 올릴려고 하는데
드림위버로 html작업해서 <embed src="Flash/company_submenu.swf" width="226" height="197"></embed> 소스 넣고
올렸는데 플래시는 출력이 되질 않네요..이미지나 다른것들은 다 나오는데 혹시 xe에서 플래시 넣는 방법이 따로 있나요??
플래시가 않되서 롤오버 이미지로 올려봤는데 마우스 올렸을때 이미지는 나오질 않네요..ㅠ.ㅠ
( http://jystec.godohosting.com/xe/management# )
(회사소개 아래쪽 이미지 CEO인사말 부터 오시는길까지 롤오버로 제작됐습니다.)
혹시 뭐가 문제인지 아시면 답글좀 부탁드리겠습니다.
아래는 롤오버이미지로 만든 소스입니다.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>무제 문서</title>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onload="MM_preloadImages('images/sub_menu/sub_over_05.gif','images/sub_menu/sub_over_06.gif','images/sub_menu/sub_over_07.gif','images/sub_menu/sub_over_09.gif')">
<table width="1000" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="226" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/sub_menu/sub_01_02.gif" width="91" height="41" /></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('m1','','images/sub_menu/sub_over_05.gif',1)"><img src="images/sub_menu/sub_01_05.gif" name="m1" width="226" height="22" border="0" id="m1" /></a></td>
</tr>
<tr>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('m2','','images/sub_menu/sub_over_06.gif',1)"><img src="images/sub_menu/sub_01_06.gif" name="m2" width="226" height="30" border="0" id="m2" /></a></td>
</tr>
<tr>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('m3','','images/sub_menu/sub_over_07.gif',1)"><img src="images/sub_menu/sub_01_07.gif" name="m3" width="226" height="30" border="0" id="m3" /></a></td>
</tr>
<tr>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('m4','','images/sub_menu/sub_over_08.gif',0)"><img src="images/sub_menu/sub_01_08.gif" name="m4" width="226" height="30" border="0" id="m4" /></a></td>
</tr>
<tr>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('m5','','images/sub_menu/sub_over_09.gif',1)"><img src="images/sub_menu/sub_01_09.gif" name="m5" width="226" height="30" border="0" id="m5" /></a></td>
</tr>
<tr>
<td height="35"> </td>
</tr>
<tr>
<td><img src="images/sub_menu/sub_01_11.gif" width="226" height="240" /></td>
</tr>
</table></td>
<td align="right"><img src="images/sub_menu/line.gif" width="39" height="567" /></td>
<td width="701" align="left"><img src="images/sub_img_1_3.jpg" width="701" height="567" /></td>
</tr>
</table>
</body>