아래는 플래쉬 버튼을 눌렀을대 이동되는 URL 입니다.
on (release) {getURL("<?=$g4[path]?>/page/intro.php");
}
근데 링크를 해보면 위의 <?=$g4[path]?> 가 나와버리는데요 방법이 없을까요??
on (release) {getURL("<?=$g4[path]?>/page/intro.php");
}
근데 링크를 해보면 위의 <?=$g4[path]?> 가 나와버리는데요 방법이 없을까요??
댓글 7개
php 로 xml을 만드신 다음
플래시에서 로드해서 쓰는 방법이 있겠습니다.
<?
/////////////////////////////////////////////////////
if($_SERVER['SERVER_NAME'] == "127.0.0.1"){ // 로컬 서버의 경우 경로 지정
$path = "http://".$_SERVER['SERVER_NAME'].":8080/imsoi";
}else{ // 로컬 서버가 아닐 경우 경로 지정
$path = "http://".$_SERVER['SERVER_NAME'];
}
/////////////////////////////////////////////////////
header("Cache-Control: no-cache, must-revalidate");
header("Content-type: text/xml; charset=euc-kr");
?>
<xml>
<item1>
<menu1><?=$path?>/sub/about/brandstory.html</menu1><?/* */?>
<menu2><?=$path?>/sub/about/artist.html</menu2><?/* */?>
</item1>
<item2>
<menu1><?=$path?>/sub/collection/collection1.html</menu1><?/* */?>
<menu2><?=$path?>/sub/collection/collection2.html</menu2><?/* */?>
<menu3><?=$path?>/sub/collection/collection3.html</menu3><?/* */?>
</item2>
<item3>
<menu1><?=$path?>/sub/design/design.html</menu1><?/* */?>
<menu2><?=$path?>/sub/design/cadrendering.html</menu2><?/* */?>
<menu3><?=$path?>/sub/design/modelling.html</menu3><?/* */?>
<menu4><?=$path?>/sub/design/handrendering.html</menu4><?/* */?>
</item3>
<item4>
<menu1><?=$path?>/sub/jstory/jstory.html</menu1><?/* */?>
</item4>
<item5>
<menu1><?=$path?>/sub/community/notice.html</menu1><?/* */?>
<menu2><?=$path?>/sub/community/qna.html</menu2><?/* */?>
<menu3><?=$path?>/sub/community/press.html</menu3><?/* */?>
</item5>
</xml>
플래시에서 로드해서 쓰는 방법이 있겠습니다.
<?
/////////////////////////////////////////////////////
if($_SERVER['SERVER_NAME'] == "127.0.0.1"){ // 로컬 서버의 경우 경로 지정
$path = "http://".$_SERVER['SERVER_NAME'].":8080/imsoi";
}else{ // 로컬 서버가 아닐 경우 경로 지정
$path = "http://".$_SERVER['SERVER_NAME'];
}
/////////////////////////////////////////////////////
header("Cache-Control: no-cache, must-revalidate");
header("Content-type: text/xml; charset=euc-kr");
?>
<xml>
<item1>
<menu1><?=$path?>/sub/about/brandstory.html</menu1><?/* */?>
<menu2><?=$path?>/sub/about/artist.html</menu2><?/* */?>
</item1>
<item2>
<menu1><?=$path?>/sub/collection/collection1.html</menu1><?/* */?>
<menu2><?=$path?>/sub/collection/collection2.html</menu2><?/* */?>
<menu3><?=$path?>/sub/collection/collection3.html</menu3><?/* */?>
</item2>
<item3>
<menu1><?=$path?>/sub/design/design.html</menu1><?/* */?>
<menu2><?=$path?>/sub/design/cadrendering.html</menu2><?/* */?>
<menu3><?=$path?>/sub/design/modelling.html</menu3><?/* */?>
<menu4><?=$path?>/sub/design/handrendering.html</menu4><?/* */?>
</item3>
<item4>
<menu1><?=$path?>/sub/jstory/jstory.html</menu1><?/* */?>
</item4>
<item5>
<menu1><?=$path?>/sub/community/notice.html</menu1><?/* */?>
<menu2><?=$path?>/sub/community/qna.html</menu2><?/* */?>
<menu3><?=$path?>/sub/community/press.html</menu3><?/* */?>
</item5>
</xml>
게시글 목록
| 번호 | 제목 |
|---|---|
| 384 | |
| 12508 |
JavaScript
서버시간 알아내기
|
| 383 | |
| 381 | |
| 20395 | |
| 12507 | |
| 12506 | |
| 12505 | |
| 12504 |
웹서버
서버 동시접속자 설정 변경하기
|
| 12503 | |
| 12502 | |
| 12500 | |
| 12499 | |
| 12498 |
MySQL
테이블 복사 쿼리
|
| 20392 | |
| 12497 |
PHP
현재 접속중인 사용자 나타내기
|
| 12496 |
MySQL
mysql select 후 update 하기
|
| 12495 | |
| 12494 |
PHP
한글문자열 자르는 법 입니다.
|
| 12493 | |
| 12492 | |
| 12491 |
PHP
이메일주소 검사하기 입니다.
|
| 12490 | |
| 12489 | |
| 12488 |
node.js
Node js 게시판 프로젝트 소개합니다.
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기