fixed bug in jpeg2000 decoding
[swftools.git] / doc / examples / boxes.sc
1 # boxes.sc
2 #
3 # Do things with rectangles.
4
5 .flash bbox=autocrop version=6 fps=50 name="boxes.swf" compress
6
7     .box box1 width=100 height=100 color=red fill #filled red box
8     .box box2 width=100 height=100 color=white    #white hollow frame
9     .box box3 width=100 height=100 color=green line=10 fill=blue #filled blue box, with thick green border
10     
11 .frame 0  
12         .put box1 x=30 scalex=30
13         .put box2 x=30 scalex=30
14         .put box3 x=30 scalex=30
15 .frame 100
16         .change box1 x+=300 scalex=100
17         .change box2 y+=300 scalex=100
18         .change box3 x+=300 y-=300 scalex=100
19 .frame 150
20         .del box1
21         .del box2
22         .del box3
23 .end
24