본문 바로가기
  • 오직 예수 그리스도
스위시세상/스위시 고급

SwapDepths

by 어린양01 2010. 8. 22.

★ in out
1. 작업창의 크기 
Properties 패널-Movie Properties...-width(900), Height(500), Background color(임의) 
2.content- library 로 이미지9장을 불러온다
3.버튼만들기
1).사각 shape를 width=800  height=135 그리고 line=None  채우기=Solid
 shape를 다시 shape로 "예"
2).가운데정열  가운데정열
3)조각내기
 9/1
ungroup하고width(85), Height(500),
4).line=1  채우기=img
5).그림조합 9개 모두
6).모두를 convert to button
7).모두를 convert to movie clip
8).모두를  movie clip 이름을" img"
4.중심점 맞추기
 button이하 모두를 앵커포인트 가운데
5.img 에script

onSelfEvent (enterFrame) {
    this._x = (0-_root._xmouse)*0.1+500;
}
6.img-movieclip-button에

on (rollOver) {
    this.swapDepths(3);
    this._xscale = 300;
    this._yscale = 300;
}
on (rollOut) {
    this._xscale = 100;
    this._yscale = 100;
}
모두붙이고 고침없음

'스위시세상 > 스위시 고급' 카테고리의 다른 글

이미지 마스크 갤러리  (0) 2010.08.23
in out  (0) 2010.08.22
Button Gallery  (0) 2010.08.22
★,움직이는 배경겔러리 만들기  (0) 2010.08.22
물파장 물결판  (0) 2010.08.20