2 # tutorial on types of Moves for the user.
4 .flash bbox=autocrop version=4 fps=25 name="MoveTutorial.swf"
9 .box box width=5 height=5 color=yellow
18 .swf axes axesClip.swf
19 .circle pin 8 color=blue fill=blue
21 .font helv "HelveticaBold.swf"
23 .text mesg1 text="(1) This tutorial demonstrates object motions." font=helv color=yellow size=25%
24 .text mesg2 text="(2) Every object can be animated in coordinate space." font=helv color=red size=25%
25 .text mesg3 text="(3) Let's examine each type of motion." font=helv color=magenta size=25%
27 .text mesg4 text="(4) It can translate in x..." font=helv color=green size=25%
28 .text mesg5 text="(5) ... it can translate in y ..." font=helv color=cyan size=25%
29 .text mesg6 text="(6) or both." font=helv color=yellow size=25%
30 .text mesg7 text="(7) It can rotate." font=helv color=magenta size=25%
32 .text mesg8 text="(8) It can scale in x ..." font=helv color=blue size=25%
33 .text mesg9 text="(9) ... it can scale in y ..." font=helv color=red size=25%
34 .text mesg10 text="(10)... or both." font=helv color=cyan size=25%
35 .text mesg11 text="(11) It can shear positively ..." font=helv color=green size=25%
36 .text mesg12 text="(12) ... or negatively." font=helv color=yellow size=25%
37 .text mesg13 text="(13) By combining these motions ..." font=helv color=blue size=25%
39 .text mesg14 text="(14) ... you can produce various illusions ..." font=helv color=red size=25%
40 .text mesg15 text="(15) ... of depth and velocity." font=helv color=magenta size=25%
41 # .text mesg13 text="(16) and it will rotate in place." font=helv color=red size=25%
42 # .text mesg13 text="(17) and it will rotate in place." font=helv color=red size=25%
43 # .text mesg13 text="(18) and it will rotate in place." font=helv color=red size=25%
44 # .text mesg13 text="(19) and it will rotate in place." font=helv color=red size=25%
46 .text annot1 text="Increasing X" font=helv color=yellow size=12%
47 .text annot2 text="Increasing Y" font=helv color=yellow size=12%
53 .box box1 width=100 height=100 color=red line=5 # a simple red box
56 .macro tfader 0,10 mesg1
57 .put box1 x=100 y=100 pin=center
59 .change box1 # release that box
60 .frame n+=30 # *** slide 1
61 .change box1 pin=center x=120 y=120 scale=75%
63 .change box1 pin=center x=150 y=150 rotate+=90 scale=100%
64 .macro tfader 0,10 mesg2
66 .change box1 shear=+1.5 pin=center
68 .macro tfader 0,10 mesg3
69 .change box1 x=100 y=100 shear=0 pin=(0,0)
71 .macro tfader 0,10 mesg4
72 .put axes x=20 y=20 scale=120%
75 .change box1 x=100 y=100 shear=0 pin=(0,0) rotate=0
81 .macro tfader 0,10 mesg5
87 .macro tfader 0,10 mesg6
89 .change box1 x+=100 y+=100
94 .change box1 x-=50 y-=50
95 .macro tfader 0,10 mesg7 # it can rotate
96 .change annot1 alpha=0
97 .change annot2 alpha=0
104 .change box1 rotate=180
106 .change box1 rotate=0
107 .macro tfader 0,10 mesg8 # it can scale in x
109 .change box1 scalex=50%
111 .change box1 scalex=100%
112 .macro tfader 0,10 mesg9 # or in y
114 .change box1 scaley=50%
116 .change box1 scaley=100%
117 .macro tfader 0,10 mesg10 # or both
119 .change box1 scale=50%
121 .change box1 scale=100%
122 .macro tfader 0,10 mesg11 # positive shear
124 .change box1 shear=+.5
127 .macro tfader 0,10 mesg12 # negative shear
129 .change box1 shear=-.5
132 .macro tfader 0,10 mesg13 # by combining
134 .change box1 pin=center x=200 y+=50 rotate=360 scale=25%
136 .macro tfader 0,10 mesg14 # we produce the illusion
137 .change box1 pin=center x=100 y=100 rotate=0 scale=100
139 .jump box1 shear=1.0 x+=4
141 .change box1 x+=80 shear=0
145 .change box1 shear=-.5
157 .change box1 x-=150 y-=10 rotate=180 scalex=-100%
159 .change box1 pin=center rotate=0 scalex=100%
161 .macro tfader 0,10 mesg15 # of depth and velocity