http://www.laaan.cn/?p=940 ã«ãã£ãã import mx.core.FlexGlobals; var params:Object = FlexGlobals.topLevelApplication.parameters; var title = params.title;
å æ¥ç´¹ä»ããFlash Builder 4ã§ãããçããã¯ãã試ããã¾ããã§ããããï¼ ã¢ããã°ã¬ã¼ãããã°ããã§ãã©ã®ãããªä½¿ç¨æãªã®ãæ°ã«ãªãã¨ããã§ããããä»åã¯Flash Builder 4ã®ç´¹ä»ã«å ãã¦ãããã«ã³ã¼ãè£å®ãåçã«å¼·åãããã©ã°ã¤ã³ã®ç´¹ä»ã§ãã Flash Builder 4ã¯æ§ã ãªæ©è½ãè±å¯ã§ã¨ã¦ãå¼·åãªãã¼ã«ãªã®ã§ãããä»ã³ã¼ãã¨ãã£ã¿ã¼ã®é²åã«æ¯ã¹ãã¨è¥å¹²ã³ã¼ãè£å®ã®ã¿ãç©è¶³ããªãå°è±¡ãããã¾ããAdobeã¨ã´ã¡ã³ã¸ã§ãªã¹ãã§ããLeeæ°ã®ããã°The Flash Blogã§ç¥ã£ãã®ã§ãããSourceMateã¨ãããã©ã°ã¤ã³ãã¨ã¦ãåªç§ã§ã³ã¼ãæ¯æ´æ©è½ãå¼·åãã¦ããã¾ãã Flash Builder 4ã§ActionScript 3.0ãã³ã¼ãã£ã³ã°ããæ§åããããªã«ã¾ã¨ããã®ã§ãã¾ãã¯ã覧ãã ããã¾ãã90ç§ã®ã ã¼ãã¼ã§ãFlash Builder 4ã¨S
æµ·è³çããããç· ããã§ããããã«ã¡ã¯ã AIR for Android 㧠mp3 ãåçããæ¹æ³ã¨ãã¦ã以ä¸ã®ï¼éããæ¯ã¹ã¦ã¿ã¾ããã ã»Embed ãã mp3 ã Sound ã¨ãã¦åçãã ã»SoundEffect ã³ã³ãã¼ãã³ããå©ç¨ãã Embed ãã mp3 ã Sound ã¨ãã¦åçãã import flash.media.Sound; [Embed(source="assets/se/GridTouch.mp3")] public var GridTouch:Class; private var _gridTouchSound:Sound = new GridTouch() as Sound; // mp3 åç _gridTouchSound.play(); SoundEffect ã³ã³ãã¼ãã³ããå©ç¨ãã SoundEffect ã¯ã¾ã spark ã³ã³ãã¼ãã³
ä¹ ãã¶ãã«AIRããããããªã£ãã®ã§ãã¾ã èªåã試ãããã¨ããªããã¡ã¤ã«ã¨ãã£ã¬ã¯ããªæä½ã«é¢ãã¦åå¼·ãã¿ã¾ãã åå¼·ããé¨åã®ã¾ã¨ã ãã使ããããªFileã¯ã©ã¹ã®ãããã㣠exists: æå®ãããã¡ã¤ã«ããã©ã«ããåå¨ãããã©ããã調ã¹ã isDirectory: ãã©ã«ããã©ããã調ã¹ã parent: 親ãã©ã«ãã調ã¹ã size: ãã¡ã¤ã«ãµã¤ãºã調ã¹ã desktopDirectory: ãã¹ã¯ãããã¸ã¢ã¯ã»ã¹ documentDirectory: ããã¥ã¡ã³ããã£ã¬ã¯ããªã¸ã¢ã¯ã»ã¹ userDirectory: ã¦ã¼ã¶ã¼ãã©ã«ãã«ã¢ã¯ã»ã¹ ã¡ã½ãã copyTo: ãã¡ã¤ã«ããã©ã«ããã³ãã¼ãã createDirectory: ãã©ã«ãã®çæ createTempDirectory, createTempFile: ä¸æãã©ã«ãããã¡ã¤ã«ã®çæ deleteDirect
ãã£ããAndroidã§ã¿ããããã«ã使ããã£ã¨ãããã¨ã§ãã¼ã¸ãããããã£ã¦ã¿ã¾ããã ãããªæãã«ãºãã£ã¨ããã¾ãã Flexã§ä¸»æµã ã£ã Flexbook ã¯ãã¾ãaddChildãã§ããªãã¦ä»åã¯è¦éãã¾ããã 代ããã«è»½ãã㪠â¢Leaflip ã使ç¨ãã¦ã¾ãã ã¾ããç»åãªã©ã®è¤æ°ãã¼ãã¼ã«ä¾¿å©ãª BulkLoader ã使ç¨ãã¦ãã¾ãã ã¡ãªã¿ã«ã¢ããªã横ç¶æ éå®ã«ããã«ã¯app.xmlã«ä»¥ä¸ãè¨è¿°ãã¾ãã ã»ã»ã» <aspectRatio>landscape</aspectRatio> <autoOrients>false</autoOrients> <fullScreen>true</fullScreen> <visible>false</visible> </initialWindow> ã¡ã¤ã³ãã¥ã¼ viewHome.mxml ãµã¼ãã¼ããåçã®JSONãã¼ã¿ã¼ãåå¾
ããã§ã¯ãçè ãç´¹ä»ããã¦ããã ãããFlex 4.5ï¼Heroï¼ã«ããã¢ãã¤ã«ã¢ããªã±ã¼ã·ã§ã³éçºã¨ãµã¼ãã¼é£æºãã«ã¤ãã¦ãã³ã¡ã³ãã交ãã¦æ¯ãè¿ã£ã¦ã¿ããã¨æãã¾ãã AIRã¨ã¯ AIR ã¨ã¯ãã«ããã©ãããã©ã¼ã ä¸ã§FlashãHTMLã¢ããªã±ã¼ã·ã§ã³ããã¼ã«ã«ï¼ã¯ã©ã¤ã¢ã³ãï¼ã§åããããã®ã½ãã ã¦ã§ã¢ã§ãããã®ã½ããã¦ã§ã¢ã¯ã¢ããã·ã¹ãã ãºãæä¾ãã¦ãã¾ããã²ã¨ã¤åã®ãã¼ã¸ã§ã³ã¾ã§ã¯ã主ã«ãã¹ã¯ãããä¸ï¼Windows , Mac , Linuxï¼ã§åãäºãç®çã«ä½ããã以ä¸ã®ãããªæ©è½ãæä¾ãã¦ãã¾ããã ãªã½ã¼ã¹ã¢ã¯ã»ã¹ ãã¡ã¤ã«ã·ã¹ãã ã¢ã¯ã»ã¹ å¤é¨ã¹ãã¬ã¼ã¸ã¢ã¯ã»ã¹ ãã¼ã«ã«DB ãã¼ã«ã«ãã¤ã¯ ãããã¯ã¼ã¯ ãªã³ã©ã¤ã³ï¼ãªãã©ã¤ã³æ¤ç¥ ãããã¯ã¼ã¯Socketæ¥ç¶ï¼ã¯ã©ã¤ã¢ã³ãï¼ãµã¼ãã¼ï¼ UDP, TLS/SSL, IPv6 表示 HTML5 CSS3 PDF ãã®ä»
æµ·è³çããããç· ããã§ããããã«ã¡ã¯ã æ¢ é¨ã§ããã¼ã Flash Builder 4 ã§ãTwitter ã®ç¹å®ã®ã¦ã¼ã¶ã¼ã®ã¿ã¤ã ã©ã¤ã³ã表示ããã¢ãã¯ãã¤ããã¾ãã 1. æ°è¦ Flex ããã¸ã§ã¯ããã¤ããã¾ãã 2. [ãã¼ã¿ã¨ãµã¼ãã¹] ã¦ã£ã³ãã¦ããããã¼ã¿ã¨ãµã¼ãã¹ã«æ¥ç¶ ãã¯ãªãã¯ã 3. ãµã¼ãã¹ã¿ã¤ããé¸æã[HTTP]ãé¸æãã¾ãã 4. HTTP ãµã¼ãã¹ãè¨å® ååï¼user_timeline URLï¼http://twitter.com/statuses/user_timeline.xml?id=hoge ãµã¼ãã¹åï¼Twitter 5. [ãã¼ã¿ã¨ãµã¼ãã¹] ã¦ã£ã³ãã¦ã«è¿½å ããã¾ããã¾ããservices.twitter ããã±ã¼ã¸ã«ã¯ã©ã¹ã追å ããã¾ãã 6. [ãã¶ã¤ã³]ã¢ã¼ãã§ãDataGrid ã³ã³ãã¼ãã³ããé ç½®ãã¾ãã 7. DataGrid
ActionScript 3 ã¯ããã¯ããããï¼ ããã©ã¼ãã³ã¹ã®åä¸ã«å ãã¦ãStringã¯ã©ã¹ã¨å種æåã³ã¼ãã®ãã¤ãé åéã®ã¨ã³ã³ã¼ãï¼ãã³ã¼ãã flash.utils.ByteArray ã§ãã£ãã解決ã package {     import com.d_project.qrcode.ErrorCorrectLevel;     import com.d_project.qrcode.QRCode;         import flash.display.Graphics;     import flash.display.Sprite;     public class QRCodeDemo extends Sprite {         public function QRCodeDemo() {             var width : Number =
Adobe MAX 2010 RETWEET çºè¡¨è³æãã¹ãã¼ããã©ã³ã¢ããªéçºã¨Flexãã¬ã¼ã ã¯ã¼ã¯"Hero"å ¥éã 2010 å¹´ 11 æ 25 æ¥ã«éå¬ãã Adobe MAX 2010 RETWEET ã®ãã©ãã¼ã¢ããã¨ãã¦ãã¹ãã¼ããã©ã³ã¢ããªéçºã¨ Flex ãã¬ã¼ã ã¯ã¼ã¯ âHeroâ å ¥éãã®ã¹ã©ã¤ãã¨ãµã³ãã«ãã·ã§ã¢ãã¾ãã ã¹ã©ã¤ãè³æ ãµã³ãã«ï¼ã½ã¼ã¹ãã¡ã¤ã«ä»ãï¼ ãµã³ãã«ã«ã¤ã㦠çºè¡¨ä¸ã«ç´¹ä»ãããµã³ãã«ã¯ Flex SDK Hero ï¼ãã¬ãã¥ã¼çï¼ãå©ç¨ãã Android ãµã³ãã«ã¢ããªã§ãããããã®ãµã³ãã«ã¯ Adobe Flash Builder âBurritoâ ï¼ãã¬ãã¥ã¼çã«ã¤ãç¡åï¼ã§ãï¼»èªã¿è¾¼ã¿ï¼½âï¼»Flash Builder / Flash Builder ããã¸ã§ã¯ãï¼½âï¼»ããã¸ã§ã¯ããã©ã«ãã¼ï¼½ãé¸æãããã¨ã§è©¦ããã¨ãã§ãã¾ãã
ã¯ã©ã¹ã¡ã½ããæ ªå¼ä¼ç¤¾ ç¦ç° å¯ æ 2010/10/22 Adobe CS5ã®æ°ããä¸æ ¸ãæ ãFlex 4ã®ãã¬ã¼ã ã¯ã¼ã¯ãã¯ã¼ã¯ããã¼ãåãRIAéçºç¾å ´ãã©ãå¤ãããããFlash Builder 4ãFlash CatalystãAdobe AIR 2ãªã©ã®æè¡ã»ãã¼ã«ã»ãã¬ã¼ã ã¯ã¼ã¯ãªã©ã®æ©è½ãç´¹ä»ããªãã解説ããé£è¼ï¼ç·¨éé¨ï¼ Flexéçºã«ããããã¹ãã»å質åä¸ãã¼ã«ã®å å® å¾æ¥ãFlexã§ã®ã¢ããªã±ã¼ã·ã§ã³éçºã§ã¯ãæåã§ã®ãã¹ããã主ã§ããã¼ã«ãå©ç¨ããèªåãã¹ãã¯è¡ããã¦ãã¾ããã§ããããããããã¼ã«ãåå¨ããªãã£ãããã§ãããã®ãããActionScriptã¯ã©ã¹ã®åä½ãã¹ããã³ã¼ãã£ã³ã°è¦ç´ã®å¼·å¶ãªã©ã¯å®æ½ãããã¨æã£ã¦ãFlexéçºãã¼ã«ä¸ã«ãã®ç°å¢ããªãæ念ããããå¾ãªãç¶æ³ã§ãã Flexã§ã®ã¢ããªã±ã¼ã·ã§ã³éçºã®ãµã¼ããµã¤ãå´ã§ããç¨ããããJavaã§ã¯ããã¾
Flex ãã¥ã¼ããªã¢ã«ï¼è¨äº
Flash Builder 4 ã®ç¥ã£ã¦ãã¨ä¾¿å©ãªã·ã§ã¼ãã«ãããã¼ã®ç´¹ä»ã§ããã¨ãã£ã¿ã¼ã¨ãã¦ã¯è±å¯ãªæ©è½ãæ㤠Flash Builder ã¯ãæ©è½ãå¤ãå ï¼ADC è¨äº: Flash Builder 4 æ°æ©è½ï¼ 使ãæ¹ãè¦ã¤ããã®ã«æéãããã£ãããããã¨ãããã¾ããããããªã¨ãã«å½¹ã«ç«ã¤æ å ±ã§ããããã§ãã³ã¼ãã£ã³ã°ä¸ã»ã¨ãã©ãã¦ã¹ã使ããã¨ã¯ãªããªãããï¼ ä»¥ä¸ã®èª¬æã¯ãWindows ã®ãã¼ãåæã«èª¬æãã¦ãã¾ãããMac ã®å ´å㯠Ctrl = Cmd Alt = Option ã§ãã Ctrl-3 : ã¯ã¤ãã¯ã¢ã¯ã»ã¹ Ctrl-3 ãã¿ã¤ãããã¨å°ããªã¦ã¤ã³ãã¦ãéãã¾ãããã®ã¦ã¤ã³ãã¦å ãããã¡ãã¥ã¼ã®å®è¡ãè¨å®å¤æ´ããããããã¥ã¼ã®åãæ¿ããªã©ãè¡ããã¨ãã§ãã¾ãã éããç´å¾ã®ç¶æ ã§ã¯ãååã¾ã§ã«é¸æããã¢ã¤ãã ã®å±¥æ´ã表示ããããããããå©ç¨ãããã®ã¯ãããã
ä¹ ãã¶ãã« Flex ã®è©±é¡ãFlash ã¯ä¸è¬çã« Mac ç°å¢ã®ãã©ã¦ã¶ã§ãã¦ã¹ãã¤ã¼ã«ãå¹ãã¾ããããã®ãã Flex ã§ã¯ DataGrid ã ComboBox ãªã©ã¹ã¯ãã¼ã«ãã¼ãå©ç¨ãããã®ã¯ãMac ç°å¢ã§ä½¿ãåæãå¤å°è½ã¡ã¦ãã¾ãã¾ãã 対å¦æ¹æ³ã¨ãã¦ã Flash åç¬ã§ã¯ Mac ã®ãã¦ã¹ãã¤ã¼ã«ã«å¯¾å¿ã§ããªãã®ã§ãJavaScript ã¨é£åãããä»çµã¿ãå®è£ ãã¾ããããé£ããå®è£ æ¹æ³ã¨ãªããããå°æ°æ´¾ã®ã¦ã¼ã¶ã¼ã®ããã«å¤§ããªå´åããããå¿ è¦ãããã¾ããããã®ãã対å¿ããã¨ããã«éçºè ã®è¯å¿ã®ãããªãã®ãè¦ããã¨ããã³ã¡ã³ããããã»ã©ã§ãã åç½®ããé·ããªãã¾ããããæè¿ã§ã¯è¤æ°ç°å¢ã®ãã¦ã¹ãã¼ã«ã¤ãã³ãã«å¯¾å¿ãã SWFWheel ã©ã¤ãã©ãªã使ç¨ãããã¨ã§ç°¡åã«è§£æ±ºã§ãã¾ããFlex ã¢ããªã±ã¼ã·ã§ã³ããããã§ãSWFWheel ã使ãäºã§ mx.control
Flex ã§ãããã使ããã¹ã¯ãã¼ã«ãã¼ ã³ã³ãã¼ãã³ãï¼RichScrollBar.swcï¼ãã¤ããã¾ããã ã¹ã¯ãã¼ã«ãããã target ãªãã¸ã§ã¯ã㨠mask ã¨ãªããªãã¸ã§ã¯ããæå®ãããã¨ã§ããããªãã®ãã¹ã¯ãã¼ã«ã§ãã¾ãã ç¹å¾´ ã»ã¹ã¯ãã¼ã«ãã¼ã®ãã¶ã¤ã³ã¯ãfla ãã¡ã¤ã«ãç·¨éãããã¨ã§å¯è½ã ã»fla ãã¡ã¤ã«ã®ã·ã³ãã«ã Flex ã³ã³ãã¼ãã³ãã«å¤æã§ãã¾ãã ã»mask ã®å¤§ããã«ãããã¦ã¹ã¯ãã¼ã«ãã¼ã®ä½ç½®ãé«ããèªåã§ã»ãããã¾ãã ã»Mac ãã¦ã¹ãã¤ã¼ã«å¯¾å¿ãï¼MacMouseWheel 使ç¨ï¼ ããã¢ã ããã¦ã³ãã¼ãã ãã°ããã£ãã®ã§ä¿®æ£ãã¾ããã2010/01/07 ãããåã«ãã¦ã³ãã¼ããããæ¹ã¯ãææ°ã§ãããå度ãã¦ã³ãã¼ãããããããã¾ãã Tweener 㨠MacMouseWheel ãããããå¥éãã¦ã³ãã¼ããã¦ãã ããã 使ãæ¹
ä»æ¥ãå¼ç¤¾ã«åã®ç¨å調æ»ãæ¥ãã®ã§å°ã ç·å¼µãã¦ãããããã§ãã ããã«ã¡ã¯ã flexã§éçºãã¦ãã¨ãã«ãã³ã¼ãã®ãã©ã¼ããã¿ã欲ããï¼ã¨æã£ã人ãå¤ãã¨æãã¾ãã ç¡æã®ãã©ã¼ããã¿ã¼æ¬²ããï¼ï¼ ãããªæã«ãããã®ãããï¼ã¨id:shot6ããæ å ±ãé ããã®ã§ Flexã®ã³ã¼ããã©ã¼ããã¿ãä¸æ¨æ¥ä½¿ã£ã¦ã¿ãã®ã§ä½¿ãæ¹ã¨èª¬æãã¡ã¢ãã¦ããã¾ãã asãã¡ã¤ã«ã¨mxmlãã¡ã¤ã«ã®ãã©ã¼ãããå¯è½ã§ãã ã¤ã³ã¹ãã¼ã« Eclipseã®ãã©ã°ã¤ã³ã¨ãã¦æä¾ããã¦ããã®ã§ã以ä¸ããFlexPrettyPrintCommand_0.6.5.jarããã¦ã³ãã¼ããã¾ãã ååãããããã§ãã http://sourceforge.net/projects/flexformatter/ FlexBuilderã使ã£ã¦ãEclipseã®pluginsãã©ã«ãã«ã³ãã¼ãã¾ãã ããããã¨ä»¥ä¸ã®ãããªãã¿ã³ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}