|
|
|
18년 전
|
조회 6,804
|
|
|
|
18년 전
|
조회 1,956
|
|
|
|
18년 전
|
조회 2,160
|
|
|
|
18년 전
|
조회 1.2만
|
|
|
|
18년 전
|
조회 1,980
|
|
|
|
18년 전
|
조회 1,961
|
|
|
|
18년 전
|
조회 1,755
|
|
|
|
18년 전
|
조회 1,810
|
|
|
|
18년 전
|
조회 2,597
|
|
|
|
18년 전
|
조회 1,780
|
|
|
|
18년 전
|
조회 2,470
|
|
|
|
18년 전
|
조회 1,815
|
|
|
|
18년 전
|
조회 1,970
|
|
|
|
18년 전
|
조회 1,883
|
|
|
|
18년 전
|
조회 1,858
|
|
|
|
18년 전
|
조회 1,724
|
|
|
|
18년 전
|
조회 1,926
|
|
|
|
18년 전
|
조회 1,973
|
|
|
|
18년 전
|
조회 1,750
|
|
|
|
18년 전
|
조회 2,007
|
|
|
|
18년 전
|
조회 2,843
|
|
|
|
18년 전
|
조회 1,774
|
|
|
|
18년 전
|
조회 1,789
|
|
|
|
18년 전
|
조회 2,339
|
|
|
|
18년 전
|
조회 2,089
|
|
|
|
18년 전
|
조회 2,936
|
|
|
|
18년 전
|
조회 1,946
|
|
|
|
18년 전
|
조회 2,368
|
|
|
|
18년 전
|
조회 1,704
|
|
|
|
18년 전
|
조회 2,073
|
댓글 10개
옵션을 주어서 입니다..
이부분 뻬시면 될듯
엤날처럼 아래소스를 사용하지 않을거라 생각하고~
<object classid="clsid:D27CDB6E-AE6D ~~~~~~~~등등
<param name="=ShockwaveFlash" width="100" heigh 등등등
</object>
위 방식은 요즘은 되긴 되지만 액스피에서 데두리가 생기고 클릭이 안되는 현상 때문에
요즘은 스크립을 이용하여
<script src="top/flash.js"></script>
<script>
msemb = new MS_Embed();
msemb.init('top/Movie1.swf','162','249');
msemb.show();
</script>
처럼 하시면 됩니다.
그리고 위의 파일링크가 있듯이
flash.js 파일을 하나 만드시면 됩니다.
이안에 들어갈 내용은
function MS_Flash(fid,src,wid,hei,fvs,wmd) {
this.fPrint = '';
this.Id = document.getElementById(fid);
this.Src = src;
this.Width = wid;
this.Height = hei;
this.FlashVars = ( typeof fvs != 'undefined')? fvs :'';
this.Wmod = ( typeof wmd != 'undefined')? wmd :'';
if(isObject(Id)) {
fPrint = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"';
fPrint += ' width="'+Width+'"';
fPrint += ' height="'+Height+'">';
fPrint += '<param name="movie" value="'+Src+'">';
fPrint += '<param name="quality" value="high">';
fPrint += (FlashVars != null) ? '<param name="FlashVars" value="'+FlashVars+'">' : '';
fPrint += (Wmod != null) ? '<param name="wmode" value="'+Wmod+'">' : '';
fPrint += '<embed';
fPrint += fPrint + ' src="'+Src+'"';
fPrint += (FlashVars != null) ? ' FlashVars="'+FlashVars+'"' : '';
fPrint += (Wmod != null) ? ' wmode="'+Wmod+'"' : '';
fPrint += ' quality="high"';
fPrint += ' pluginspage="http://www.macromedia.com/go/getflashplayer"';
fPrint += ' type="application/x-shockwave-flash"';
fPrint += ' width="'+Width+'"';
fPrint += ' height="'+Height+'"';
fPrint += '></embed>';
fPrint += '</object>';
Id.innerHTML = fPrint;
}
}
function isObject(a) {
return (a && typeof a == 'object');
}
function MS_Embed()
{
var obj = new String;
var parameter = new String;
var embed = new String;
var html = new String;
var allParameter = new String;
var clsid = new String;
var codebase = new String;
var pluginspace = new String;
var embedType = new String;
var src = new String;
var width = new String;
var height = new String;
this.init = function( s ,w , h, getType ) {
getType = (getType != undefined)? getType :'flash';
if ( getType == "flash")
{
clsid = "D27CDB6E-AE6D-11cf-96B8-444553540000";
codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0";
pluginspage = "http://www.macromedia.com/go/getflashplayer";
embedType = "application/x-shockwave-flash";
}
/* type 추가
else if ( )
{
}
*/
parameter += "<param name='movie' value='"+ s + "'>\n";
parameter += "<param name='quality' value='high'>\n";
src = s;
width = w;
height = h;
}
this.parameter = function( parm , value ) {
parameter += "<param name='"+parm +"' value='"+ value + "'>\n";
allParameter += " "+parm + "='"+ value+"'";
}
this.show = function() {
if ( clsid )
{
obj = "<object classid=\"clsid:"+ clsid +"\" codebase=\""+ codebase +"\" width='"+ width +"' height='"+ height +"'>\n";
}
embed = "<embed src='" + src + "' pluginspage='"+ pluginspage + "' type='"+ embedType + "' width='"+ width + "' height='"+ height +"'"+ allParameter +" ></embed>\n";
if ( obj )
{
embed += "</object>\n";
}
html = obj + parameter + embed;
document.write( html );
}
}
입니다.
<PARAM NAME="WMode" VALUE="Transparent"> 있네요..
이거 지우시면 될듯해요
좋은 시간 되세요~
transparent <-- 요게 투명도 조절하는 겁니다. 요기에 검은 먹물 뿌리면 검게 나타납니다.
진짜요 이거 한줄이면 되는건가요..
해바야지
다른데선 안되요
게시판에 플래시 업로드하면 테두리 없이 사용 가능한데 그 이유가 저 스크립트가 적용되기 때문이죠...
타 게시판에서 사용하려면 타 게시판용 소스를 사용하셔야겠죠...