wonderfl build flash onlineã§ActionScriptãæ¸ãã¦ã¿ãããªã£ãã®ã§ãåå¼·ãã¦ã¿ããã¨æãã¤ã¤ãããã£ã±ãWebä¸ã ãã§ãªãèªåã®ãã¼ã«ã«ç°å¢ã§ãéçºã§ããæ¹ãä½ãã¨ä¾¿å©ããªï¼ã¨æã£ã¦éçºç°å¢ãæ´ãã¦ã¿ãã
SDK
ãã£ã±ãç¡åã§ä½¿ããã¢ããã¨ãããã¨ã§ãããã
第1回 無料でFlash作りに挑戦!Flex 3 SDKを導入してみよう:プログラマのためのFlash遊び方|gihyo.jp … 技術評論社
以ä¸ã®ãã¼ã¸ããFlex SDKããã¦ã³ãã¼ãã
無償のオープンソースフレームワーク | Adobe Flex
é©å½ãªã¨ããã«å±éãã¦ãã¹ãéãã
"Hello world!"ãæ¸ãã¦ã¿ã
package { import flash.display.Sprite; import flash.text.*; public class Hoge extends Sprite { public function Hoge() { // write as3 code here.. var tf:TextField = new TextField(); tf.text = "Hello World!!"; addChild(tf); } } }
ããããã£ã¦ãªããã©ããããªã«ã³ã¸ï¼
$ mxmlc Hoge.as è¨å®ãã¡ã¤ã« "/Developer/SDKs/flex/frameworks/flex-config.xml" ããã¼ããã¦ãã¾ã /Users/sugyan/codes/lang/as/hoge/Hoge.swf (624 bytes)
ãªããåºæ¥ãã£ã½ãããã£ããæéãããã®ãâ¦
Emacsã§ActionScriptãæ¸ãããã«
æ¨æºã§ã¯å
¥ã£ã¦ããªãããã ãã©ãå½ç¶actionscript-mode.elã¨ãããã®ãåå¨ããã
http://blog.pettomato.com/?p=22
ãããããã¦ã³ãã¼ããã¦ãEmacsã®loadãã¹ãéããã¤ã¤ã«ã³ã¸ã§è²ä»ãããããã¦ãããã£ã½ããç´°ããè¨å®ã¯ãã¨ã§è¦ã¦ã¿ãã
rascutã¨ããã®ãã¤ã±ã¦ãããã
ãã¡ã¤ã«ã®å¤æ´ãç£è¦ãã¦èªåã³ã³ãã¤ã«ãã¦ããã¦ããã©ã¦ã¶ããªãã¼ããã¦ãããã¨ãã
rubyã§åãã¦ããããããä¸è¨ãåèã«gemã使ã£ã¦ã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã
ActionScript やるなら入れとけ。rascut 導入と使い方。 - てっく煮ブログ
$ sudo gem install rascut --include-dependencies
0.2.1ã¨ããã®ãå ¥ã£ããç°å¢å¤æ°ãå¤æ´ããã¨ãã®ãããã¯å¿ è¦ãªãåããã
使ã£ã¦ã¿ã
$ rascut Hoge.as [01/02 02:41:48] Compile Start [01/02 02:41:49] Found update file(s)["./Hoge.as"] [01/02 02:41:50] fcsh: Assigned 1 as the compile target id Loading configuration file /Developer/SDKs/flex/frameworks/flex-config.xml /Users/sugyan/codes/lang/as/hoge/Hoge.swf (625 bytes) [01/02 02:42:05] Found update file(s)["./Hoge.as"] [01/02 02:42:05] Compile Start [01/02 02:42:05] Loading configuration file /Developer/SDKs/flex/frameworks/flex-config.xml Recompile: /Users/sugyan/codes/lang/as/hoge/Hoge.as Reason: The source file or one of the included files has been updated. Files changed: 1 Files affected: 0 /Users/sugyan/codes/lang/as/hoge/Hoge.swf (622 bytes)
ãã¡ã¤ã«å¤æ´ãã度ã«ã³ã³ãã¤ã«ãç´ãã¦ãããã£ã½ãã
ãµã¼ãã¼ã¢ã¼ã
rascutã®"-s"ãªãã·ã§ã³ã使ãã¨ãã©ã¦ã¶ã§èªåãªãã¼ãã¾ã§ãã¦ãããããã§ã
$ rascut -s Hoge.as [BUG] cross-thread violation on rb_gc() ruby 1.8.6 (2008-08-11) [universal-darwin9.0] zsh: abort rascut -s Hoge.as $ rascut -vs Hoge.as [01/02 02:45:24] config{:observe_files=>["."], :ext=>["as", "css", "mxml"], :fcsh_cmd=>"fcsh", :logger=>#<Rascut::Logger:0x56cdf4 @progname=nil, @logdev=#<Logger::LogDevice:0x56cda4 @dev=#<IO:0x2ddd4>, @shift_size=nil, @shift_age=nil, @filename=nil, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x56cd7c @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @mon_waiting_queue=[]>>, @level=0, @formatter=nil, @default_formatter=#<Logger::Formatter:0x56cdcc @datetime_format=nil>>, :interval=>1, :compile_config=>nil, :file_observing=>true, :server=>true} [BUG] cross-thread violation on rb_gc() ruby 1.8.6 (2008-08-11) [universal-darwin9.0] zsh: abort rascut -vs Hoge.as
ãããâ¦ããããããªããã©portsã§å
¥ããrubyãthreadã¾ããã§ãã¾ãåããªãï¼
ããªã¤ã³ã¹ãã¼ã«ããã¦ãrubyã®æ¹ã ã¨å¤§ä¸å¤«ãªãããªã®ã§ããã§åãã§ã¿ã
$ /usr/bin/ruby /opt/local/bin/rascut -s Hoge.as
ããã§åãã¦ããã£ã½ãï¼
ã¨ããããä»æ¥ã¯ããã¾ã§ã
ã¨ã¦ãåèã«ãªã£ããã¼ã¸
Flex SDK + Emacs + actionscript-mode.el + rascut + log.asで快適ActionScript開発環境 | ソフトウェア開発の株式会社システムフレンド
宣ä¼
ããããè²ã
ãªã³ã¼ããå¼ã£ã¦åå¼·ãããã®ã§ããã®ãã¼ã®åã楽ããã§åå¼·ã§ããã³ã¼ããä½ã£ã¦ä¸ããï¼
はじめてのActionScript |nengafl |争奪10万円 FORK合戦!