윈도우 업데이트 후 플래시가 정상적으로 실행되지 않고
'이 컨트롤을 활성화하고 사용하려면 클릭하십시오'라는 문구가 뜬다면 아래 스크립트를
flash_load.js로 저장하시고, 자바스크립트를 이용한 로딩 방식으로 플래시를 이용하세요.
## flash_load.js
/* 익스플로러의 패치에 따른 플래시 로딩방식 변경
-------------------------------------------------------------------------
- 파라미터를 연속적으로 추가하여 정의 할 수 있습니다.
- 파라미터를 통하여 플래시로 변수를 전달할 수 있습니다.
★ 플래시 경로는 파라미터로 정의하지 않습니다.
*/
function flash()
{
var object = new String;
var params = new String;
var embedParams = new String;
this.init = function(objectID, flashURL, W, H)
{
object = "<object id='" +objectID+ "' width='" +W+ "' height='" +H+ "' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0'>";
object += "<param name='movie' value='" +flashURL+ "'>";
embedParams = "src='" +flashURL+ "' ";
embedParams = "width='" + W + "' height='" + H + "' ";
}
this.param = function(param, value)
{
params += "<param name='" +param+ "' value='" +value+ "'>";
embedParams += param + "='" +value+ "' ";
}
this.load = function()
{
var embedTag = "<embed " + embedParams + "pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' ></embed>";
var objTag = object + params + embedTag + "</object>";
document.write(objTag);
}
this.debug=function()
{
var objTag = object + params + embedTag + "</object>";
alert(objTag);
}
}
/* htm문서 적용예
기존의 플래시 <object ...>~</object>를 주석처리하고 아래의 형식으로 바꿔 사용하세요.
---------------------------------------------------------------------------------------------------------------------------
<script src="flash_load.js"></script>
<script type="text/javascript">
myFlash = new flash(); //플래시오브젝트 선언
myFlash.init("myFlash", "main_movie.swf", "500", "140");
//초기화 ('아이디', '플래시URL', '넓이', '높이')
myFlash.param("quality", "high"); //매개변수 설정 ('매개변수명', '값')
myFlash.param("wmode", "transparent");
myFlash.param("FlashVars", "menu=sub01");
myFlash.load(); //플래시 로드
//myFlash.debug(); //디버그
</script>
*/<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:50:06 Flash에서 이동 됨]</div>
'이 컨트롤을 활성화하고 사용하려면 클릭하십시오'라는 문구가 뜬다면 아래 스크립트를
flash_load.js로 저장하시고, 자바스크립트를 이용한 로딩 방식으로 플래시를 이용하세요.
## flash_load.js
/* 익스플로러의 패치에 따른 플래시 로딩방식 변경
-------------------------------------------------------------------------
- 파라미터를 연속적으로 추가하여 정의 할 수 있습니다.
- 파라미터를 통하여 플래시로 변수를 전달할 수 있습니다.
★ 플래시 경로는 파라미터로 정의하지 않습니다.
*/
function flash()
{
var object = new String;
var params = new String;
var embedParams = new String;
this.init = function(objectID, flashURL, W, H)
{
object = "<object id='" +objectID+ "' width='" +W+ "' height='" +H+ "' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0'>";
object += "<param name='movie' value='" +flashURL+ "'>";
embedParams = "src='" +flashURL+ "' ";
embedParams = "width='" + W + "' height='" + H + "' ";
}
this.param = function(param, value)
{
params += "<param name='" +param+ "' value='" +value+ "'>";
embedParams += param + "='" +value+ "' ";
}
this.load = function()
{
var embedTag = "<embed " + embedParams + "pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' ></embed>";
var objTag = object + params + embedTag + "</object>";
document.write(objTag);
}
this.debug=function()
{
var objTag = object + params + embedTag + "</object>";
alert(objTag);
}
}
/* htm문서 적용예
기존의 플래시 <object ...>~</object>를 주석처리하고 아래의 형식으로 바꿔 사용하세요.
---------------------------------------------------------------------------------------------------------------------------
<script src="flash_load.js"></script>
<script type="text/javascript">
myFlash = new flash(); //플래시오브젝트 선언
myFlash.init("myFlash", "main_movie.swf", "500", "140");
//초기화 ('아이디', '플래시URL', '넓이', '높이')
myFlash.param("quality", "high"); //매개변수 설정 ('매개변수명', '값')
myFlash.param("wmode", "transparent");
myFlash.param("FlashVars", "menu=sub01");
myFlash.load(); //플래시 로드
//myFlash.debug(); //디버그
</script>
*/<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:50:06 Flash에서 이동 됨]</div>
댓글 7개
19년 전
그누보드 4.06.19 버전을 적용하셨다면 다음처럼 사용하시면 됩니다.
<script>doc_write(flash_movie("img/main.swf", "mainflash", 519, 100, "transparent"));</script>
<script>doc_write(flash_movie("img/main.swf", "mainflash", 519, 100, "transparent"));</script>
imgstory
19년 전
4.06.19 버전을 이용하면 정말 간편하게 해결되겠네요.^^
감샤~합니다~ *-.-*
감샤~합니다~ *-.-*
19년 전
스크랩 합니다.
19년 전
이렇게 하면 플래시가 약간 느려지는 것 같던데...실제로 그러나요? 아님 착각인가요?
19년 전
아이구 도데체 이게 무슨말인지 갑갑하네요 적용예설명부분 좀더 쉽게 설명해주시면 안될까요
이문제 땜에 고민했었는데..
이문제 땜에 고민했었는데..
19년 전
왜그런지 bbs폴더 안에 있는 파일들은 적용이 안될까요>,,
17년 전
^^
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 430 | 19년 전 | 4109 | ||
| 429 | 19년 전 | 3307 | ||
| 428 | 19년 전 | 4133 | ||
| 427 | 19년 전 | 3479 | ||
| 426 | 19년 전 | 3107 | ||
| 425 | 19년 전 | 3410 | ||
| 424 | 19년 전 | 2441 | ||
| 423 | 19년 전 | 2868 | ||
| 422 | 19년 전 | 2356 | ||
| 421 | 19년 전 | 3710 | ||
| 420 | 19년 전 | 4744 | ||
| 419 | 19년 전 | 3805 | ||
| 418 |
|
19년 전 | 1753 | |
| 417 | 19년 전 | 2753 | ||
| 416 | 19년 전 | 2394 | ||
| 415 | 19년 전 | 2609 | ||
| 414 | 19년 전 | 4413 | ||
| 413 |
|
19년 전 | 2603 | |
| 412 | 19년 전 | 3051 | ||
| 411 |
|
19년 전 | 2996 | |
| 410 |
|
19년 전 | 3692 | |
| 409 |
|
19년 전 | 3641 | |
| 408 |
|
19년 전 | 1861 | |
| 407 | 19년 전 | 2233 | ||
| 406 | 19년 전 | 2786 | ||
| 405 | 19년 전 | 2454 | ||
| 404 | 19년 전 | 4311 | ||
| 403 | 19년 전 | 3306 | ||
| 402 |
NeoGenesis
|
19년 전 | 4096 | |
| 401 | 19년 전 | 2610 | ||
| 400 |
|
19년 전 | 2501 | |
| 399 | 19년 전 | 2959 | ||
| 398 | 19년 전 | 2489 | ||
| 397 | 19년 전 | 2784 | ||
| 396 | 19년 전 | 2485 | ||
| 395 | 19년 전 | 3189 | ||
| 394 | 19년 전 | 1731 | ||
| 393 | 19년 전 | 2996 | ||
| 392 | 19년 전 | 2261 | ||
| 391 | 19년 전 | 2180 | ||
| 390 | 19년 전 | 2290 | ||
| 389 | 19년 전 | 2647 | ||
| 388 | 19년 전 | 2184 | ||
| 387 | 19년 전 | 4488 | ||
| 386 |
|
19년 전 | 2693 | |
| 385 |
|
19년 전 | 2490 | |
| 384 | 19년 전 | 3022 | ||
| 383 | 19년 전 | 3060 | ||
| 382 | 19년 전 | 3113 | ||
| 381 |
|
19년 전 | 2635 | |
| 380 |
|
19년 전 | 3023 | |
| 379 | 19년 전 | 2551 | ||
| 378 | 19년 전 | 2213 | ||
| 377 | 19년 전 | 2782 | ||
| 376 | 19년 전 | 2470 | ||
| 375 |
|
19년 전 | 2567 | |
| 374 | 19년 전 | 3823 | ||
| 373 | 19년 전 | 3275 | ||
| 372 | 19년 전 | 4993 | ||
| 371 |
세은아빠2
|
19년 전 | 2416 | |
| 370 | 19년 전 | 4503 | ||
| 369 | 19년 전 | 3109 | ||
| 368 | 19년 전 | 2909 | ||
| 367 | 19년 전 | 3729 | ||
| 366 | 19년 전 | 2660 | ||
| 365 | 19년 전 | 3744 | ||
| 364 | 19년 전 | 4020 | ||
| 363 | 19년 전 | 3445 | ||
| 362 | 19년 전 | 3486 | ||
| 361 | 19년 전 | 4108 | ||
| 360 |
hwatta
|
19년 전 | 2366 | |
| 359 | 19년 전 | 5110 | ||
| 358 | 19년 전 | 3660 | ||
| 357 | 19년 전 | 2604 | ||
| 356 |
sdesign1s
|
19년 전 | 2283 | |
| 355 | 20년 전 | 2757 | ||
| 354 | 20년 전 | 3031 | ||
| 353 | 20년 전 | 2797 | ||
| 352 |
|
20년 전 | 5777 | |
| 351 |
|
20년 전 | 2709 | |
| 350 |
|
20년 전 | 4297 | |
| 349 |
hwatta
|
20년 전 | 2186 | |
| 348 | 20년 전 | 7308 | ||
| 347 | 20년 전 | 2418 | ||
| 346 | 20년 전 | 3505 | ||
| 345 | 20년 전 | 4313 | ||
| 344 | 20년 전 | 2657 | ||
| 343 | 20년 전 | 3922 | ||
| 342 | 20년 전 | 3072 | ||
| 341 | 20년 전 | 4096 | ||
| 340 |
|
20년 전 | 5144 | |
| 339 |
|
20년 전 | 4239 | |
| 338 | 20년 전 | 5877 | ||
| 337 | 20년 전 | 2046 | ||
| 336 |
|
20년 전 | 3326 | |
| 335 |
|
20년 전 | 3542 | |
| 334 |
|
20년 전 | 2934 | |
| 333 |
hwatta
|
20년 전 | 2441 | |
| 332 | 20년 전 | 4658 | ||
| 331 | 20년 전 | 2278 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기