<html>
<script language=javascript>
// Handle all the FSCommand messages in a Flash movie.
function mission_DoFSCommand(x, y) {
window.resizeTo(x ,y);
var tempX = (screen.width/2)-(x/2);
var tempY = (screen.height/2)-(y/2);
window.moveTo(tempX,tempY);
if( document.f1.state.value == "up" ){
if( document.f1.x.value > 600 ){
document.f1.state.value = "down"
}else{
document.f1.x.value = eval(x)+10;
document.f1.y.value = eval(y)+10;
}
}else if( document.f1.state.value == "down" ){
if( document.f1.x.value < 400 ){
document.f1.state.value = "up"
}else{
document.f1.x.value = eval(x)-10;
document.f1.y.value = eval(y)-10;
}
}
setTimeout("mission_DoFSCommand(document.f1.x.value, document.f1.y.value)",50);
}
</script>
<body onload="mission_DoFSCommand(400, 400)" >
<form name="f1">
<input type=text name='state' value='up'><br>
<input type=text name='x'><br>
<input type=text name='y'>
</form>
</body>
</html>
펌 어서 퍼왔는지 오래된거라 기억이 가물가물<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
<script language=javascript>
// Handle all the FSCommand messages in a Flash movie.
function mission_DoFSCommand(x, y) {
window.resizeTo(x ,y);
var tempX = (screen.width/2)-(x/2);
var tempY = (screen.height/2)-(y/2);
window.moveTo(tempX,tempY);
if( document.f1.state.value == "up" ){
if( document.f1.x.value > 600 ){
document.f1.state.value = "down"
}else{
document.f1.x.value = eval(x)+10;
document.f1.y.value = eval(y)+10;
}
}else if( document.f1.state.value == "down" ){
if( document.f1.x.value < 400 ){
document.f1.state.value = "up"
}else{
document.f1.x.value = eval(x)-10;
document.f1.y.value = eval(y)-10;
}
}
setTimeout("mission_DoFSCommand(document.f1.x.value, document.f1.y.value)",50);
}
</script>
<body onload="mission_DoFSCommand(400, 400)" >
<form name="f1">
<input type=text name='state' value='up'><br>
<input type=text name='x'><br>
<input type=text name='y'>
</form>
</body>
</html>
펌 어서 퍼왔는지 오래된거라 기억이 가물가물<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
게시글 목록
| 번호 | 제목 |
|---|---|
| 978 | |
| 973 |
Flash
wmode
4
|
| 966 |
Flash
플래시 flv(동영상) 사용경험담
4
|
| 960 | |
| 958 |
기타
Top으로 ver2
|
| 956 |
JavaScript
제목에 첫 글자만 스타일적용과 문장의 첫라인 스타일 적용
1
|
| 953 | |
| 941 | |
| 938 | |
| 937 |
Flash
창크기 자동 조절
현재글
|
| 936 |
Flash
플래시 메뉴
|
| 929 | |
| 923 |
JavaScript
메모하지 않으면 깜빡깜빡 잊어버리는 것들
3
|
| 922 |
기타
빈 무비클립 만들기
|
| 919 | |
| 918 | |
| 914 |
JavaScript
euc-kr 문서를 utf-8 로 변환
3
|
| 911 | |
| 908 | |
| 907 |
기타
Ajax 흉내 내기
|
| 904 |
JavaScript
포토샵에서 트랜스폼과 카피를 동시에 하는 방법
2
|
| 899 | |
| 896 |
JavaScript
mod_rewrite 설치 법
2
|
| 895 | |
| 892 |
JavaScript
포토샵의 블렌딩 모드
2
|
| 888 |
JavaScript
opacity(투명도) 값 쉽게 먹이기.
3
|
| 882 | |
| 877 |
기타
서버정보검색
1
|
| 873 |
기타
텍스트시계
3
|
| 869 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기