vim と make と swfmill で swf 作り (on windows)
- HelloSwfmill.xml
<?xml version="1.0" encoding="iso-8859-1" ?> <movie width="320" height="240" framerate="12"> <background color="#ffffff"/> <font id="font0" import="C:/Windows/Fonts/arial.ttf" glyphs="Helo Swfmi!" /> <textfield id="txt" width="200" height="50" size="15" font="font0" text="Hello Swfmill!"/> <place id="txt" name="output" depth="1"/> <frame /> </movie>
- makefile
targ_dir = C:/Documents and Settings/$(USERNAME)/My Documents/tmp targ_url = http://127.0.0.1/tmp swfmill="C:/tools/swfmill-0.2.10-win32/swfmill.exe" firefox = "C:/Program Files/Mozilla Firefox/firefox.exe" all: $(swfmill) simple HelloSwfmill.xml test.swf copy test.swf "$(targ_dir)/test.swf" copy test.htm "$(targ_dir)/test.htm" $(firefox) $(targ_url)/test.htm
- swfmill simple で デバイスフォントにする方法わからず。