오

기초 플래시 강좌 - 액션 스크립트2

· 2004-06-24 (목) 10:23:02 · 2680
[기타] 기초 플래시 강좌 - 액션 스크립트 에서 배운 내용을 약간 응용해봅시다.
이번엔 대각선 방향으로 움직이게 해봅시다.

_root.l_u_b.onRelease=function(){
_root.ggamagi._x-=10;
_root.ggamagi._y-=10;
_root.ggamagi._rotation=300;

}
_root.r_u_d.onRelease=function(){
_root.ggamagi._x+=10;
_root.ggamagi._y-=10;
_root.ggamagi._rotation=60;

}
_root.l_d_b.onRelease=function(){
_root.ggamagi._x-=10;
_root.ggamagi._y+=10;
_root.ggamagi._rotation=210;
}
_root.r_d_b.onRelease=function(){
_root.ggamagi._x+=10;
_root.ggamagi._y+=10;
_root.ggamagi._rotation=120;
}

첨부파일

위치제어문제.fla (16.5 KB) 10회 2004-06-24 10:23
댓글을 작성하시려면 로그인이 필요합니다.
+
제목 글쓴이 날짜 조회
04-06-28 조회 2,986
04-06-27 조회 3,286
04-06-26 조회 3,086
04-06-25 조회 3,065
04-06-25 조회 3,399
04-06-25 조회 2,941
04-06-25 조회 3,082
04-06-25 조회 2,821
04-06-25 조회 2,779
04-06-25 조회 3,355
04-06-24 조회 2,715
04-06-24 조회 2,681
04-06-24 조회 2,901
04-06-23 조회 2,892
04-06-23 조회 2,875
04-06-23 조회 2,919
04-06-23 조회 3,068
04-06-23 조회 3,524
04-06-22 조회 4,252
04-06-21 조회 3,262