Xcodeã«ActionScript3ç°å¢ãæ§ç¯
Xcodeã§ActionScript3ãæ¸ãããã¨ãããã¨ãªã®ã§å°å
¥ãã¦ã¿ãã
å°å
¥ç°å¢ã¯OSX10.5.7 ãXcode3.0ã
ã¾ãã¯Flex SDKã®ã¤ã³ã¹ãã¼ã«ã
å±é
ãã¦ã³ãã¼ããã.zipãå±éãå ´æã¯ã©ãã§ããããããã
ãã£ã¬ã¯ããªåãflex_sdk_3ã«å¤ãã/Developer/SDKs/ã¸ã
PATHãéã
PATHãéã = ã©ãã«ããã°ã©ã ããã¡ã¤ã«ããããæå®ãã
é©å½ãªã¨ãã£ã¿ã使ã£ã¦.bash_profileãç·¨éãããä»åã¯miã§ã
ãä¸å¯è¦ãã¡ã¤ã«ãéããã§ããã¼ã ãã£ã¬ã¯ããªã«ãã.bash_profileãéãã
ãªãã£ããã¤ããã
ä¸ã®ä¸è¡ã追å ãä¿åã
PATH=$PATH:/Developer/SDKs/flex_3/bin
ãããªãã·ã¥
ã¨ãã£ã¿ã§HelloWorld.asãæ¸ãããã¹ã¯ãããã«ä¿åã
package { import flash.display.*; import flash.text.*; public class HelloWorld extends Sprite { public function HelloWorld() { var textField:TextField = new TextField(); textField.text = "Hello World."; addChild(textField); } } }
ã¿ã¼ããã«.appãéãã
cd ~/Desktop/
ã¨æã¡ããã¹ã¯ãããã¸ç§»åã
mxmlc HelloWorld.as
ã§ãããªãã·ã¥ã
HelloWorld.swfãçæãããFlash Playerã§éãã°HelloWorldã®æåãï¼
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
åèè¨äº
Mac OS XにFlex 3 SDKを入れてみる - Yasu Log::Flash/Flex/AIR::ブログ
Xcodeã«ããã¸ã§ã¯ãã追å ã
å¿ è¦ãªãã®ããã¦ã³ãã¼ã
ここããAS3ãã³ãã¬ã¼ãããã¦ã³ãã¼ãã
ここããFlex for Xcode 3(ã³ã¼ãè£å®ãã¡ã¤ã«)ããã¦ã³ãã¼ãã
å±éãã¦ç§»å
Flex for Xcode 3ã®å±éãã¡ã¤ã«ä¸å¼ã¯ããã¸ã
/Developer/Library/Xcode/Specifications/
ãã³ãã¬ã¼ãã¯ããã«Flashãã©ã«ããä½ã£ã¦ãã®ä¸ã¸ã
/Developer/Library/Xcode/Project Templates/
Flex SDKã¾ã§ã®ãã¹ãä¿®æ£
ãã®ãã³ãã¬ã¼ãã®Flex SDKã¾ã§ã®ãã¹ã¯
ã¨ãªã£ã¦ããã®ã§ãèªåç¨ã«ä¿®æ£ã
ActionScript3Template.xcodeprojãé¸æã
å³ã¯ãªãã¯âããã±ã¼ã¸ã®å
容ã表示âproject.pbxprojãéã
30è¡ç®ã«ãã
ã
ã«å¤æ´ããä¿åã
ãã«ã
Xcodeãèµ·åããæ°è¦ããã¸ã§ã¯ããé¸æã
Flash > ActionScript 3.0 Template ãé¸æããããã¸ã§ã¯ãåã¨ä¿åå ´æã決ããã
Hello World!ãªActionScript3.0ã®ã½ã¼ã¹ã³ã¼ããä½æãããã®ã§ã
ãã«ããã¿ã³ãæ¼ãã
ããã¨ãbinãã£ã¬ã¯ããªã«.swfãçæãããã
Flash Playerã§éãã°HelloWorldã®æåãï¼
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
åèè¨äº
YOPPA BLOG » XCode 3でActionScript
Xcode用のActionScript 3.0テンプレートを作った: シン石丸の電脳芸事ニッキ
XcodeでAction Script - Shaped memorandum