fixed syntax.
[swftools.git] / doc / examples / transparency.sc
1 # transparency.sc
2 #
3 # Test transparency
4
5 .flash bbox=200x200 version=5 fps=25 name="transparency.swf"
6
7 .box box1 90 90 color=yellow fill=blue line=5
8 .box box2 90 90 color=white fill=red line=5
9
10 .put b1=box1 75 75 rotate=0
11 .put b2=box1 75 75 rotate=90
12 .put b3=box1 75 75 rotate=180
13 .put b4=box1 75 75 rotate=270
14 .put box2 30 30 alpha=100%
15 .frame 300
16 .change b1 rotate+=360
17 .change b2 rotate+=360
18 .change b3 rotate+=360
19 .change b4 rotate+=360
20 .change box2 alpha=0%
21 .end
22