Fullscreen 만들기 /(‘09. 07. 20 /myunam)
작품을 완성한 다음에
1. 작품 적당한 위치에 버튼으로 사용할 'fullscreen'과 'normal'을 입력한다.
fullscreen과 normal대신 'Full과Out', 'Full과 Exite', ‘크게’와 ‘작게’로 입력해도 됨
'fullscreen'과 'normal'을 포개놓아도 되고 따로 놓아도 됨
2. fullscreen과 normal를 블록으로 선택 Grouping-Goup as Movie Clip로 묶는다.
3. T/L에서 Movie Clip을 열고(+를 -하고)
① - fullscreen 1프레임에 [Place], 3프레임에 [Remove]한 다음 Name 란에 FullScreen]이라고 입력함
② - normal 1프레임에 [Remove], 3프레임에 [place]한 다음 Name 란에
[normal]이라고 입력함
4. T/L에서 Movie clip 1프레임과 3프레임에 Movie control-stop을 줌
5. Script(버튼 명령어주는곳)를 클릭하여 열고 다음과 같은 명령어를 각각 줌
① O/L에서 FullScreen 을 선택하고 스크립트 명령어 입력
on (release) {
gotoSceneAndPlay("Scene_1", 1);
fscommand("FullScreen","true");
Stage.displayState = "fullscreen";
skipFrameAndPlay(2);
}
② O/L에서 Normal 텍스트의 스크립트 명령어 입력
on (release) {
play();
gotoSceneAndPlay("Scene_1", 1);
fscommand("FullScreen","normal");
Stage.displayState = "normal";
skipFrameAndPlay(2);
}
6. 인터넷에 올릴 때 소스
<embed src="주소" width="000" height="000" allowfullscreen="true" scale="exactfit" >
'강좌방 > ☞ Swish화원님강좌' 카테고리의 다른 글
Motion Path Tool로 붓글씨 쓰기 (0) | 2012.12.14 |
---|---|
성탄및 설 카드만들기 강좌 (0) | 2012.11.12 |
간단한 EQ 만들기 (0) | 2012.08.27 |
music plyer LCDSTUY2 강좌 (0) | 2012.08.23 |
Music player 강좌 (0) | 2012.08.23 |