Flex SDKã§ä½ã£ãã¡ã¤ã³ã¯ã©ã¹ãFlash CS3ã®ããã¥ã¡ã³ãã¯ã©ã¹ã§è¨å®ããã°å³åº§ã«ç§»æ¤ã§ããã¨æãã¾ããããå ¨ããã¾ãããã¾ããã§ããã次ã®ãããªã©ã³ã¿ã¤ã ã¨ã©ã¼ãç¶çºã TypeError: Error #1007: ã³ã³ã¹ãã©ã¯ã¿ä»¥å¤ã«ã¤ã³ã¹ã¿ã³ã¹åã試è¡ããã¾ããã at Main$iinit() åå ã¯ç»åã®åãè¾¼ã¿æ¹æ³ã§ãã 以åã®ã¨ã³ããªã¼ã§ç´¹ä»ããããã¹ãã¨ãã£ã¿ã ãã§ä½ã£ããã«ãã©ãã·ã¥ãµã¤ãã§ãããããã¹ãã¨ãã£ã¿ã§ä½ãã¨ããäºã¯å ¨ã¦ã®ç»åé¨åã¯.asãã¡ã¤ã«(ã¯ã©ã¹)ã«Embedã¡ã¿ã使ã£ã¦åãè¾¼ã¿ã¾ãããã®Embedã¡ã¿ãFlash CS3ã§ã¯ä¸æããããªãæ§åãæ¹åæ¹æ³ã¯ä»¥ä¸ã®éãã å ã®Flexã½ã¼ã¹ ã¡ã¿ã使ã£ã¦ç»åãåãè¾¼ãã§ãã¾ãã // èæ¯ç»å [Embed(source="/asset/bg.png")] private var BackG
FlashãFlex,(Ajaxï¼,S2Flex2,ActionScript3,yui-frameworks,Akabanaããã¸ã§ã¯ããªã©ã®ã¡ã¢å¸³ Adobe Labsã«ãããActionScript 3.0 Libraries ã§å ¬éããã¦ããYouTubeã®APIã使ã£ã¦ã¿ã¾ããã ã¾ãã¯YouTubeã®ã¢ã«ã¦ã³ããå¿ è¦ã¨ã®ãã¨ãªã®ã§ãã¡ãã®ãã¼ã¸ãåèã«ã¢ã«ã¦ã³ããã¨ã£ã¦ãä½æéå§ã§ãã Flex Builder 2ã§æ°è¦ã«ããã¸ã§ã¯ããä½æãã¦ãActionScript 3.0 Libraries ã«ããcorelib㨠YouTubeããã¦ã³ãã¼ããã¦swcãã©ã¤ãã©ãªãã¹ã«ã¤ãªãã¾ãã (ããã¸ã§ã¯ããå³ã¯ãªã㯠->Properties-> Flex Build Path -> Library Path-> Add SWC..ã§è¿½å ãã¾ããã) corelib.swcyou
å°å·ãã ã¡ã¼ã«ã§éã ããã¹ã HTML é»åæ¸ç± PDF ãã¦ã³ãã¼ã ããã¹ã é»åæ¸ç± PDF ã¯ãªããããè¨äºãMyãã¼ã¸ããèªããã¨ãã§ãã¾ã ç±³ã·ã«ã´ã§éå¬ä¸ã®Adobe Max 2007ã«ããã¦ãAdobe Systemsã®æ°ããRIAéçºãã¼ã«"Thermo"ãæ«é²ããããPhotoshopãªã©ã§ä½æããç»åããRIAã®ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¼ã¹ï¼UIï¼ãä½æãããã®ã ãçæãããã¢ããªã±ã¼ã·ã§ã³ã¯Flexã¢ããªã±ã¼ã·ã§ã³ã¨ãªãããFlexã®ã³ã¼ããæ¸ãå¿ è¦ã¯ãªãããã¶ã¤ãã¼ã§ãFlexã¢ããªã±ã¼ã·ã§ã³ãä½ããã¨ãããµããã¿ã®Thermoãæ¬ç¨¿ã§ã¯ThermoãRIAéçºã«ä¸ããã¤ã³ãã¯ãã説æããã Thermoã¯ãã¼ããã¨ã«ã¬ã¤ã¤ã¼åããããPhotoshopãã¡ã¤ã«ãèªã¿è¾¼ã¿ãããããã®ãã¼ãã«ããã¿ã³ã»ããã¹ããã£ã¼ã«ãã»ã¹ã¯ãã¼ã«ãã¼â¦â¦ ã¨ãããµããªUIãã¼ãã¨
ActionScriptçWhite Curtainã3æéã§ä½ãããã¸ã§ã¯ã â ãã£ãã ActionScript3.0ãã¢ããã Flexã³ã³ãã¤ã©ãç¡åæä¾ã«ãªã£ã¦ãã¿ãã§ä¸éãã®ã²ã¼ã ãä½ããããã«ãªã£ã¦ãã¾ã£ãããã ã ã§ãä½ã£ã¦ã¿ããã¨æã£ãããã¿ããªãã ãã£ããæ°ããã¢ã¤ãã¢ãæãã¤ãã»ã©è¥ããªã俺ã¯ãã¿ä¸è¶³ã«è¦ããã§ããã ãããããããã°white curtainã£ã¦ã®ããã£ããªã ããã§ãããã ãããä½ãéç¨ã®è¨é²ã¨ããã¨ã£ã¨ããã ã¨ãããã¨ã§ã¯ããã¾ããç®æ¨3æé以å ã ã§ããã°2æé以å ã23:45ããéçºã¹ã¿ã¼ããã¾ãã ã¸ã£ããå ¥ã£ããããã¾ã§ã§ã æºå ç´ æã®å å·¥ ã°ã©ãã£ãã¯ã¹ãåºã ãã¼ç¶æ ãåããããã«ãã ã¡ã¤ã³ã®ã¯ã©ã¹ã®ä½æã¨ã¿ã¤ãã«ç»é¢ éªãéããã ã²ã¼ã ã®ã¡ã¤ã³ã®å¦çãå ¥ãã¦ã¿ã å½ããå¤å®ãå ¥ãã¦ä¸å¿å®æ ãã¾ã(ãã¤ã¹ã³ã¢ã®è¨é²ãªã©)
å æ¥ã®ç¼èã§æã£ã¦ãã¾ã£ãããç¥ããªãå¢ç©´ãå ·ä½åãããããActionScript3.0 㨠Flex2 SDK ã«æãåºãã¦ã¿ã¾ããã Flex2 SDK ã®ãã¦ã³ãã¼ã SDK ã®ãã¦ã³ãã¼ãã¯ãã¡ãããã(ã¡ã¼ã«ã¢ãã¬ã¹ã®ç»é²ãå¿ è¦ã§ã) Flex ããã¥ã¡ã³ãã¼ã·ã§ã³ ãã®ãã¼ã¸ã®ä¸çªä¸ã«ãããããã¥ã¡ã³ãã¼ã·ã§ã³ zip ãã¡ã¤ã«ãã« API ãªãã¡ã¬ã³ã¹ HTML ãå ¥ã£ã¦ãã¾ããå±éã㦠index.html ããã©ã¦ã¶ã«æ¾ãè¾¼ã¿ããã®ãã¼ã«ã«ãªãã¼ã¸ãããã¯ãã¼ã¯ãã¦ããã¾ãããããªã³ã©ã¤ã³ã®ãªãã¡ã¬ã³ã¹ãããã¾ãããã¿ããã©ã¦ã¶ã§ããããéãã¨ãªããã ãã ãéããªã£ã¦ããã¾ãããã¼ã«ã«ãªãå ¨ææ¤ç´¢ãã§ãã¾ãããé²è¦§ã¯ã¨ã¦ãå¿«é©ã§ãã ActionScript3.0 ã¡ã¢(ãã»ã±ãå·¥æ¿) æ¨å¹´ã®Sã¢ããªã®æã«ç¶ãããã¤ããä¸è©±ã«ãªã£ã¦ãã¾ããActionScript 3.
Flex1.5ã§ã®éçºææ³ã¯ç¤¾å ã§åºã¾ãã¤ã¤ããã®ã§ãããå®éFlexãæ¡ç¨ãã¦ããä¼æ¥æ°ã¯ã¾ã ã¾ã ããããã§ãç¾ç¶ã§ã¯Flashãæ¡ç¨ãã¦ããä¼æ¥ãå¤ãã§ãã ããã¦ã»ã»ã»ã æ²ãããã¨ã«ã©ã®ããã¸ã§ã¯ãã失æãã¦ããããã«æãã¾ãã åå ãèããã¨ã Flashãªã¼ãµãªã³ã°çãªéçºããã¦ããããã§ãã Flashã¨ã³ã¸ãã¢ã®å人ã®ãã¦ãã¦ã»ã©ã¤ãã©ãªã«ä¾åãã¦ããã ãªã¼ãã³ãªãã¬ã¼ã ã¯ã¼ã¯ãæ¢ãã¦ããªããªãè¦ã¤ããã¾ããã ããããFlashã¨ã³ã¸ãã¢ã¯ããã¶ã¤ã³ãã³ã³ãã³ãå¶ä½åºèº«è ãå¤ãã§ãã å¨å® ãããªã¼ã©ã³ã¹ã§ã®å¥ç´ã§å人活åãå¤ãããã§ãã Flashã®å¶ä½ãã¦ãã¦ã¯ãçæ´»ã®ããã®çå½ç·ã§ãããã¿ãã§äººã«æããã®ã¯åæ°ãããã¨æãã¾ããããã¦ã仲éå ã§ãã¦ãã¦ãæºã¾ãã¾ãã Flashã¨ã³ã¸ãã¢ãä¸äººæããã¨ããã¸ã§ã¯ãã¯å´©å£ãã¾ãã ä¸æ¹ã Javaã¨ã³ã¸ãã¢ã¯ã大ä¼æ¥ã
ã²ã¾ãã証å¸ã¯11æ6æ¥ã«å社ã®ã¤ã³ã¿ã¼ããã証å¸ããªããã£ãåå¼ã·ã¹ãã ããªãã¥ã¼ã¢ã«ï¼ãªããã¯ã©ã¤ã¢ã³ãåããã10æ18æ¥ã«ãã®ãã¢ãµã¤ããå ¬éãããéçºã«ããã£ã¦ã¯Adobeã®Flashã¢ããªã±ã¼ã·ã§ã³éçºç°å¢Flex2ï¼å½ç£ãªã¼ãã³ã½ã¼ã¹J2EEãã¬ã¼ã ã¯ã¼ã¯Seasar2ãªã©ãæ¡ç¨ããã ã²ã¾ãã証å¸ã®æ°ããã¤ã³ã¿ã¼ããã証å¸ããªããã£ãåå¼ã·ã¹ãã ã¯ï¼Flashã«ãããªããã¯ã©ã¤ã¢ã³ãã®ã¡ãªãããçããï¼åéæã®ãããã¢ããã«ãããã¿ã³ã®èª¬æãï¼ã«ã¬ã³ãã¼ä¸ã§ã®æå®ã«ããæ¥ä»å ¥åãªã©ï¼è¦ªãã¿ãããã¦ã¼ã¶ã¼ã»ã¤ã³ã¿ãã§ã¼ã¹ãå®ç¾ãã¦ãããã¾ãã·ãã¥ã¬ã¼ã·ã§ã³ç»é¢ã§ã¯ï¼3次å ã°ã©ãããã¦ã¹æä½ã§ä¸ä¸å·¦å³ã«å転ãããã¨ãã§ãããã²ã¾ãã証å¸ã«ããã°ãFlex2ã使ã£ããªããã¯ã©ã¤ã¢ã³ãã¯ï¼ãªã³ã©ã¤ã³ãã¬ã¼ãã·ã¹ãã ã§ã¯æ¥æ¬åãã¨ããã ãµã¼ãã¹é¢ã§ã¯ãæ¥çµ225miniããåãæ±ã
ãµã¼ãã¹çµäºã®ãç¥ãã ãã¤ãYahoo! JAPANã®ãµã¼ãã¹ããå©ç¨ããã ãèª ã«ãããã¨ããããã¾ãã ã客æ§ãã¢ã¯ã»ã¹ããããµã¼ãã¹ã¯æ¬æ¥ã¾ã§ã«ãµã¼ãã¹ãçµäºãããã¾ããã ä»å¾ã¨ãYahoo! JAPANã®ãµã¼ãã¹ããæ顧ãã ããã¾ãããããããããé¡ããããã¾ãã
ãã£ã¨ããããã¼ã¿å ¬éã«ããã¤ããamaznodeã®è£è©±ã Flash9襲æ¥ã«ããªãã¦ãFlex2ã¨9ã®ãã¬ãã¥ã¼ç使ã£ã¦ãã«ActionScript3ã§å®è£ ãã¦ã¿ãã®ã§ãããäºæ³å¤ã«æéãããã£ã¡ã¾ãã¾ããã確ãAdobeã®ã»ããã¼ã®æ¬¡ã®æ¥ããä½ãåºãããã©ãã¹ããªã³ã°ã¨ã³ã¸ã³ãã¢ãã¾ã³ã©ã¤ãã©ãªãåºæ¬ã³ã³ãã¼ãã³ããã³ãã³ãã¯ã©ã¹ãä¼¼éãã¥ã¤ã¼ã³ã©ã¤ãã©ãªä»ã§ç´ï¼ã¶æãåºæ¬AS2ããã®ç§»æ¤ã¡ã¤ã³ã«ãã¦ã¯æéããéãã»ã»ã» AS3ã¯ç¥éã®å¦çé度ã¯ããã®ã§ããããªãã¦ãªããããã¢ãã¡ã¼ã·ã§ã³ãã°ã©ãã£ãã¯ã®å¶å¾¡ããªã¹ãã¼ã®ç®¡çãçµæ§å¤§å¤ã§ãããã¢ãã¡ã¼ã·ã§ã³ç³»ã®AS3ã©ã¤ãã©ãªããããã¾ã§ããã®ãµã¤ãºã®ã³ã³ãã³ãã¯å½åä½ããããªããªã»ã»ã»ã¨ããã®ãæ£ç´ãªææ³ã ã¨ããããä»å¾ã®èª²é¡ã ã»è©³ç´°ç»é¢ã®æ¼åºããã£ã¨ã©ããªã¼ã«ã ã»è©³ç´°ç»é¢è¡¨ç¤ºããé¢é£ååã¸ç§»å ã»ååã®ç§»åããã¯ãã¢ã³ããã¯ã
æºå¸¯ãã©ãã·ã¥ä½æè¬åº§ 0. ã¯ããã« 0 - 0. Flashã«ã¤ã㦠0 - 1. FlashLiteã«ã¤ã㦠0 - 2. FlashLiteã®å¶é 0 - 3. FlashLiteã®ãã¼ã¸ã§ã³ 0 - 4. Flashã®åºç¤ç¥è 1. ã¤ã³ã¿ã¼ãã§ã¤ã¹ 1 - 0. å ¨ä½ 1 - 1. ãã¼ã«ãã¬ãã 2. å ¥éè¬åº§ 2 - 0. ä½ææºå 2 - 1. ãHelloFlashLiteã - ç»é¢è¡¨ç¤ºãã ã¼ãã¼ãã¬ãã¥ã¼ãã¢ãããã¼ã 2 - 2. ãDigitalWatchã - ActionScriptï¼fscommandï¼ããã¤ãããã¯ããã¹ããã¬ã¤ã¤ã¼ããã¬ã¼ã 2 - 3. ãMoveBallã - ActionScriptï¼æ¡ä»¶åå² ifï¼ãActionScriptãããã㣠2 - 4. ãTweenã - ã¢ã¼ã·ã§ã³ãã¥ã¤ã¼ã³ããã¿ã³
ãActionScript 3.0ã¯ãè¨èªçãªå¦çé度ã10åã«ãªã£ãããªãã¦ããããã¨ãè¨ããã¦ã¾ããã ã§ãããããã©ã®ãããã®ãã®ãªã®ããã¾ããã³ã¨æ¥ãªãã®ã§ãããããã人ã¨ããã£ã¦ã¿ã人ã£ã¦ãã¾ããï¼ ãã³ã¨æ¥ãªãã£ãã®ã§ãå°ãä½ã£ã¦è©¦ãã¦ã¿ã¾ããã ãä¸åº¦ã«ããè¨ç®å¦çããå¤ãããã¨å·®ããããã ããã¨æã£ã¦ã ã5000åã®ç¹ãã©ã³ãã ã«ç§»åããããã®ããä½ã£ã¦ãAS2ã¨AS3ã®ä¸¡æ¹ã§åããã¨ãããã¦ã¿ã¾ããã ããããã¨ãAS2ã§ã¯ä½¿ããªãã»ã©é ãã£ããã®ããAS3ã§ã¯ããããåãããã«ãªãã¾ããã 確ãã«éããã§ãããã©ãæãã¾ãï¼ ActionScript2.0ç ActionScript3.0çï¼Player 9ããªãã¨è¦ãã¾ããï¼ é¢ç½ãã®ã§ã5000åã®ãã¼ã«ã§ã®å£æã¡ã²ã¼ã ï¼Player 9ããªãã¨è¦ãã¾ããï¼ ãä½ã£ã¦ã¿ã¾ããï¼ç¬ï¼ã ï¼ãããªæãï¼ AS3ã®è©±é¡
ç¥ããªãã¨æãããActionScript3.0ã®æ°ææ³ãã¾ã¨ãã¦ç´¹ä»ãã¾ãã è¤æ°ã®å¤æ°ã®åºåã楽ã«ï¼trace å¼æ°ã«å¤æ°ãè¤æ°æ¸¡ãã¨ãèªåçã«ã¹ãã¼ã¹ã§åºåã£ã¦è¡¨ç¤ºããã¦ããã¾ãã var a:int = 0; var b:String = 'hgoe'; trace(a, b); // Output: 0 hoge è¦ç´ ã®å·¡åã楽ãã³ï¼for each ä»ã¾ã§ãé åã®è¦ç´ ãå·¡åããã®ã¯ã次ã®ããã«ããã®ãã»ãªãªã¼ã§ããã for (var i:Number = 0; i < list.length; ++I) { trace(list[i]); } ãããããããããªé¢åãªäºã¯å¿ è¦ããã¾ããã次ã®ããã«æ¸ãã°ãlistå ã®è¦ç´ ãã²ã¨ã¤ãã¤elementã«ä»£å ¥ããã¦ã«ã¼ããã¾ãã for each (var element:Object in list) {
ãActionScript 3ãã¨ã¯ããFlash Player 9ã以éã§å®è¡ã§ãããªãã¸ã§ã¯ãæåã®ã¹ã¯ãªããè¨èªãè¨èªä»æ§ãããã±ã¼ã¸è¨è¨ã¯Javaè¨èªã«ããè¿ããªããæ´ç·´ããããªãã¸ã§ã¯ãæåè¨èªã¨ãªã£ããJITã³ã³ãã¤ã©æè¼ã«ãããå¦çé度ãå¤§å¹ ã«åä¸ãã¦ããã éçºãã¼ã«ã¯ã³ãã³ãã©ã¤ã³ãã¼ã¹ã®ãFlex 2 SDKã(ç¡å)ã¨ãEclipseãã¼ã¹ã®ãFlex Builder 2ã(æå)ãããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}