아래는 플래쉬 버튼을 눌렀을대 이동되는 URL 입니다.
on (release) {getURL("<?=$g4[path]?>/page/intro.php");
}
근데 링크를 해보면 위의 <?=$g4[path]?> 가 나와버리는데요 방법이 없을까요??
on (release) {getURL("<?=$g4[path]?>/page/intro.php");
}
근데 링크를 해보면 위의 <?=$g4[path]?> 가 나와버리는데요 방법이 없을까요??
댓글 7개
13년 전
저부분을 swf?path= 식으로 가져와서 path를 읽어온후 붙이시는 방법이 있겠습니다
혹은 절대주소를 적어주시면 되겠습니다
혹은 절대주소를 적어주시면 되겠습니다
13년 전
죄송하지만 어떻게 해야 할찌 모르겠습니다...
Poten
13년 전
<?=$g4[path]?>/page/intro.php 에서
<?=$g4[path]?>이 부분을 재아님의 도메인으로 바꾸라는 말씀 같습니다.
ex) www.재아님도메인.com/page/intro.php
<?=$g4[path]?>이 부분을 재아님의 도메인으로 바꾸라는 말씀 같습니다.
ex) www.재아님도메인.com/page/intro.php
13년 전
감사합니다. 원래는 그 방식으로 했었답니다.
근데, 가만히 생각해보니 가능하지 않겠는가 해서 했더니 위처럼 나와서 혹시 방법이 있나 해서 문의 했었답니다.
근데, 가만히 생각해보니 가능하지 않겠는가 해서 했더니 위처럼 나와서 혹시 방법이 있나 해서 문의 했었답니다.
Terrorboy
13년 전
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>
Terrorboy
13년 전
위소스는 절대 경로(도메인+경로)로 찍어 버리게 작업한것입니다.
13년 전
감사합니다. 한번 해보겠습니다..
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4727 |
프로프리랜서
|
13년 전 | 925 | |
| 4726 | 13년 전 | 783 | ||
| 4725 |
PHPㅡASP프로그래머
|
13년 전 | 1278 | |
| 4724 |
뭐먹고살지ㅠ
|
13년 전 | 850 | |
| 4723 | 13년 전 | 1575 | ||
| 4722 |
프리랜서클럽
|
13년 전 | 1172 | |
| 4721 | 13년 전 | 780 | ||
| 4720 | 13년 전 | 7266 | ||
| 4719 |
PHPㅡASP프로그래머
|
13년 전 | 790 | |
| 4718 |
DBDBDB
|
13년 전 | 666 | |
| 4717 | 13년 전 | 1901 | ||
| 4716 |
헬프데스크
|
13년 전 | 1781 | |
| 4715 |
Werbershinta
|
13년 전 | 652 | |
| 4714 | 13년 전 | 1309 | ||
| 4713 | 13년 전 | 1042 | ||
| 4712 | 13년 전 | 1146 | ||
| 4711 | 13년 전 | 3110 | ||
| 4710 | 13년 전 | 811 | ||
| 4709 | 13년 전 | 2600 | ||
| 4708 | 13년 전 | 1008 | ||
| 4707 |
PHPㅡASP프로그래머
|
13년 전 | 791 | |
| 4706 |
돗단배123
|
13년 전 | 1600 | |
| 4705 |
|
13년 전 | 922 | |
| 4704 | 13년 전 | 759 | ||
| 4703 | 13년 전 | 1447 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기