|
|
TopPage > swftoolsを使ってみる > swftoolsを使ってみる[sample2] |
練習&サンプル2 |
.... <object width="240" height="240"> <param name="movie" value="sampleXXX.swf"> <embed src="sampleXXX.swf" width="240" height="240"></embed> </object> .... |
Number | Review | Source | Note |
sample.5 | .flash filename="sample005.swf" .png p1 "cup.png" ## top-right .put p1 x=100 y=-100 scalex=140 scaley=160 alpha=100% .frame 160 ## bottom-right ## red,green,blue invert .change p1 x=100 y=100 red=-1+255 green=-1+255 blue=-1+255 .frame 320 ## bottom-left ## green,blue invert .change p1 x=-100 y=100 red=+0 green=-1+255 blue=-1+255 .frame 480 ## top-left ## blue invert .change p1 x=-100 y=-100 red=+0 green=+0 blue=-1+255 .frame 640 ## top-right .change p1 x=100 y=-100 red=+0 green=+0 blue=+0 #### .end |
png scalex,scaley, red=±<multiplicator>±<shift> green=±<multiplicator>±<shift> blue=±<multiplicator>±<shift> |
|
sample.6 | .flash filename="sample006.swf" .png p1 "cup.png" .put p1 pin=center scalex=240 scaley=240 alpha=100% .frame 200 .change p1 pin=center scalex=200 scaley=200 luminance=0 .frame 400 .change p1 pin=center scalex=200 scaley=240 luminance=0.5+128 .frame 600 .change p1 pin=center scalex=240 scaley=200 luminance=-1+255 .frame 800 .change p1 pin=center scalex=240 scaley=240 luminance=+128 .end |
luminance=±<multiplicator>±<shift> |
|
sample.7 | .flash filename="sample007.swf" .font Sans "DejaVuLGCSans.swf" .png p1 "cup.png" .textshape hwSans font=Sans size="180%" text="Hello World!" .filled filled_text outline=hwSans fill=p1 line=2 color=#00ff00 .put filled_text x=0 y=0 scaley="400%" .end |
font,textshape,filled |
|
sample.8 | .flash filename="sample008.swf" .font Serif "DejaVuLGCSerif.swf" .png p1 "cup.png" .text rot_text font=Serif size=100% text="Rotate" .frame 1 .startclip rot_text pin=center x=0 y=0 scale=40% .put p1 scalex=360 scaley=360 pin=center x=0 y=0 .end .frame 120 .change rot_text rotate+=360 pin=center scaley=200% .frame 240 .change rot_text rotate+=360 pin=center scaley=40% .end |
startclip,rotate |
TopPage > swftoolsを使ってみる > swftoolsを使ってみる[sample2] |