|
|
TopPage > swftoolsを使ってみる > swftoolsを使ってみる[01] |
swftoolsを使った動画バナーを作ってみる |
[hoge]$ ffmpeg -i banner_test_mo.avi -r 25 -b 256k banner_test_mo.swf .... |
.... <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="256" height="63"> <param name="movie" value="banner_test_mo.swf"> <param name="loop" value="{true/false}"> <embed src="banner_test_mo.swf" width="256" height="63" loop="{true/false}" type="application/x-shockwave-flash"></embed> </object> .... |
loop="true" | loop="false" |
[hoge]$ ffmpeg -i banner_test_LL.avi -r 25 -b 256k banner_test_LL.swf .... |
.flash filename="banner_test_LL_Btn.swf" .box buttonbox width=256 height=63 fill=black color=black .swf movie_board "banner_test_LL.swf" .button button .show buttonbox as=area .show buttonbox as=idle .show buttonbox as=hover .show buttonbox as=pressed .on_press: getURL("./njaLinkTest.html", "_top"); .end .end ## .put button pin=center scale=100% .put movie_board pin=center scale=100% .end |
[hoge]$ swfc banner_test_LL_Btn.sc |
loop="true" | loop="false" |
[hoge]$ ffmpeg -i banner_test_LPO.avi -r 25 -b 256k banner_test_LPO.swf .... |
.flash filename="banner_test_LPO_Btn.swf" .box buttonbox width=256 height=63 fill=black color=black .swf movie_board "banner_test_LPO.swf" .button button .show buttonbox as=area .show buttonbox as=idle .show buttonbox as=hover .show buttonbox as=pressed .on_press: getURL("./njaLinkTest.html", "_top"); .end .end ## .frame 1 .put button pin=center scale=100% .put movie_board pin=center scale=100% .action: movie_board.Play(); .end .frame 200 .action: movie_board.Stop(); .end .end |
[hoge]$ swfc banner_test_LPO_Btn.sc |
loop="true" | loop="false" |
TopPage > swftoolsを使ってみる > swftoolsを使ってみる[01] |