fixed bug in jpeg2000 decoding
[swftools.git] / doc / examples / points.sc
1 # points.sc
2 #
3 # Test points, pivots, pins
4
5 .swf version=5 fps=20 name="points.swf"
6
7 .box box 90 90 color=white fill=red line=5
8 .point center 45 45
9 .point corner1 0 0 
10 .point corner2 90 0 
11 .point corner3 90 90 
12 .point corner4 0 90 
13
14 .put b1a=box x=90 y=90 pin=center
15 .put b1b=box x=90 y=90 pin=center alpha=50%
16 # OR: .put b1=box x=90 y=90 pin=(45,45) rotate=0
17
18 .put b2=box x=90 y=90 pin=corner1 alpha=75% blue=+128 red=0.2
19 .put b3=box x=90 y=90 pin=corner2 alpha=75% blue=+128 red=0.2
20 .put b4=box x=90 y=90 pin=corner3 alpha=75% blue=+128 red=0.2
21 .put b5=box x=90 y=90 pin=corner4 alpha=75% blue=+128 red=0.2
22
23 .frame 100
24 .change b1a rotate-=720
25 .change b1b rotate+=720
26 .change b2 rotate+=360
27 .change b3 rotate-=360
28 .change b4 rotate+=360
29 .change b5 rotate-=360
30
31 .end
32