Wednesday, May 11, 2011

my 8th flash class

Today class is about script...

1st: Create 1button to tell target stop/play
1) create a shape (ball)
2) F8 to create 'movie' for the ball
3) double click into symbol 1
4) F6 at the keyframe to create 'shape tween'
5) back to scene 1
6) create another shape as button
7) F8 to create 'movie'
8) double click into symbol 2
9) F6 to another keyframe (means got 2keyframe)
10) F8 to create 'button' at the 1st keyframe
11) after changing the color of shape, F8 to create another 'button' at the 2nd keyframe
12) F9 > Frame > stop ();
13) at 1st keyframe, F9 > Button > on (release) > tellTarget ("_root.but") > stop > play
14) at 2nd keyframe, F9 > Button > on (release) > tellTarget ("_root.but") > play > play

2nd: color box
1) create a shape (square)
2) F8 to create 'movie'
3) double click  into symbol 1
4) F6 click 2times
5) F5 click 1time
6) F6 click 1 more time
7) F6 at either 1keyframe to create 'shape tween'
8) change to other colors (red, green, blue, etc)
9) keep on repeating the step 7 & 8
10) F8 to create 'button'
11) 1st keyframe, F9 > Frame > stop
12) 1st keyframe, F9 > Button > on (rollOver) > play
13) at scene 1, copy the shape and paste all over page

3rd: snow
1) create a snow ball
2) F8 to create 'movie'
3) double click into symbol 1
4) F6 to add 1keyframe
5) F8 to create 'graphics'
6) 1st keyframe, F9 > Frame > stop
7) create 'add classic motion guide'
8) draw a line
9) F6 to either 1keyframe
10) right click at the keyframe to create 'classic guide'
11) move the snow at the starting of line and move the snow at the bottom of line
12) at the bottom of the snow, click it and make it 'alpha' under the color effect
13) at the snow, F8 to create 'button'
14) F9 > Button > on (release, rollOver) > play
15) back to scene 1
16) copy the snow and make it all over the page

4th: play and stop
1) create a shape
2) F8 to create 'movie'
3) F6 at any of the keyframe to create 'classic tween'
4) tweening > rotate > CW
5) create another layer
6) create another shape
7) F8 to create 'button'
8) create 3rd layer
9) at the middle of the whole keyframes, F9 > Frame > stop
10) F9 > Button > on (release) > play

5th: slide picture
1) choose those picture in sequence
2) resize all the pictures
3) the 1st layer, 1st keyframe, F9 > Frame > stop
4) create a new layer
5) create two shape as button
6) F9 > Frame > stop
7) F8 to create 'button'
8) F6 twice
9) name the 1st & last frame
10) F9 > click on the 1st button (Button) > on release > next frame
11) F9 >click on the 2nd button (Button) > on release > gotoAndStop ("n.a.m.e")

No comments: