아래는 플래쉬 버튼을 눌렀을대 이동되는 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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 32341 | |
| 32339 | |
| 32326 | |
| 32325 | |
| 32322 | |
| 32319 | |
| 32318 | |
| 32316 | |
| 32315 | |
| 32313 | |
| 32312 | |
| 32311 | |
| 32310 | |
| 32304 | |
| 32303 | |
| 32300 | |
| 32293 | |
| 32292 | |
| 32291 | |
| 32285 | |
| 32284 | |
| 32275 | |
| 32271 | |
| 32268 | |
| 32265 | |
| 32261 | |
| 32258 | |
| 32257 | |
| 32255 | |
| 32254 | |
| 32253 | |
| 32251 | |
| 32250 | |
| 32249 | |
| 32247 | |
| 32246 | |
| 32245 | |
| 32244 | |
| 32243 | |
| 32242 | |
| 32241 | |
| 32240 | |
| 32239 | |
| 32238 | |
| 32237 | |
| 32236 | |
| 32232 | |
| 32229 | |
| 32228 | |
| 32227 | |
| 32217 | |
| 32215 | |
| 32214 | |
| 32213 | |
| 32211 | |
| 32207 | |
| 32196 | |
| 32193 | |
| 32192 | |
| 32190 | |
| 32188 | |
| 32186 | |
| 32184 | |
| 32173 | |
| 32172 | |
| 32171 | |
| 32167 | |
| 32165 | |
| 32163 | |
| 32162 | |
| 32158 | |
| 32157 | |
| 32155 | |
| 32151 | |
| 32149 | |
| 32135 | |
| 32132 | |
| 32127 | |
| 32125 | |
| 32122 | |
| 32120 | |
| 32119 | |
| 32117 | |
| 32116 | |
| 32115 | |
| 32114 | |
| 32112 | |
| 32111 | |
| 32109 | |
| 32107 | |
| 32104 | |
| 32103 | |
| 32102 | |
| 32101 | |
| 32094 | |
| 32089 | |
| 20404 | |
| 31036 | |
| 8279 | |
| 8268 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기