아래는 플래쉬 버튼을 눌렀을대 이동되는 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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 9865 | |
| 9857 | |
| 9854 |
JavaScript
자바스크립트 메소드 관련..
2
|
| 17539 | |
| 9853 | |
| 9851 |
JavaScript
클릭하면 레이어로 메뉴영역 올라오는거요~~
1
|
| 17538 | |
| 9850 | |
| 9847 |
기타
쇼핑몰을 구축하려면
2
|
| 9846 | |
| 9844 |
PHP
라이브러리를 만들어서
1
|
| 9842 |
Flash
플래시 작업소스가 없는데
1
|
| 9840 |
MySQL
mysql 커뮤니티 버젼을 사용해서
1
|
| 9838 | |
| 9836 |
JavaScript
flash의 많은 기능들을
1
|
| 19876 |
HTML
php로 사이트 개발시
3
|
| 9833 |
Linux
그누4 에서 메일발송을 사용하려면
2
|
| 9832 |
jQuery
상용 그리드에 버금가는
|
| 9829 |
정규표현식
운전면허번호도
2
|
| 9826 |
node.js
node.js 활용사례 좀..
2
|
| 19872 | |
| 9824 |
Mobile
jquery mobile 커스터마이징...
1
|
| 9823 |
PHP
프레임웍 보다는...
|
| 9820 | |
| 17537 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기