X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=doc%2Fexamples%2Ftransparency.sc;fp=doc%2Fexamples%2Ftransparency.sc;h=7b9456e2b6c56261fbd244346dfa961b609639d3;hb=d5a70ae785b504b8bb82379150b6e339240d5513;hp=0000000000000000000000000000000000000000;hpb=a984e3f36f2998ebf05446d4c4cf3574c03e210d;p=swftools.git diff --git a/doc/examples/transparency.sc b/doc/examples/transparency.sc new file mode 100644 index 0000000..7b9456e --- /dev/null +++ b/doc/examples/transparency.sc @@ -0,0 +1,22 @@ +# transparency.sc +# +# Test transparency + +.swf bbox=200x200 version=5 fps=25 name="transparency.swf" + +.box box1 90 90 color=yellow fill=blue line=5 +.box box2 90 90 color=white fill=red line=5 + +.put b1=box1 75 75 rotate=0 +.put b2=box1 75 75 rotate=90 +.put b3=box1 75 75 rotate=180 +.put b4=box1 75 75 rotate=270 +.put box2 30 30 alpha=100% +.frame 300 +.change b1 rotate+=360 +.change b2 rotate+=360 +.change b3 rotate+=360 +.change b4 rotate+=360 +.change box2 alpha=0% +.end +