id:nishiohirokazuããã®å°ãåã®ã¨ã³ããªã¼ãPointã¨Arrayã§é度æ¯è¼ãã®ã ActionScriptã®é åã¯Cçãªé åãããªããããããéã«ã¯ã©ã¹ã®ã¡ã³ãå¤æ°ã¯ãã§ã«é åã¨ãã¦ç¢ºä¿ããã¦ããããxã¨ããæ´æ°ã«ãããããã¦ããã ã¨ããæ¨æ¸¬ãæ£ããã®ãã調ã¹ã¦ã¿ã¾ããã ã¾ãã¯ç§ãããããã£ã¸å®æ°ãä»£å ¥ããå¼ã®å®è¡é度ãæ¯è¼ãã¦ã¿ã¾ããã 以ä¸ã¯ãè©ä¾¡å¯¾è±¡ã®å¼ã®ä¸è¦§ã«ãªãã¾ããåå¼ã10,000,000åã«ã¼ãã§å®è¡ããæã®å®è¡æéã//ã®å¾ãã«è¨è¼ãã¦ããã¾ãã ã¾ããpãPointåãaãArrayåãoãObjectåã¨ãªãã¾ãã p.x = 1; //216ms (1) p["x"] =1; //1631ms (2) a[0] = 1; //567ms (3) a["0"] = 1; //2681ms (4) o.x = 1; //2028ms (5) o["
åãããã£ã¨æ°ã«ãªã£ã¦ããParticle Systemã®å®è£ æ¹å¼ã«ã¤ãã¦èª¿ã¹ã¾ããã 調æ»ãé²ãã¦ã¿ãã¨ãSpriteãããBitmapDataã使ã£ã¦æç»ãããã¨ããé¸æè¢ãããã¨ãããã¨ãåããæ°é®®ã§ããã ã¨ãããã¨ã§ãä»åã¯BitmapDataã使ã£ãParticleSystemã®å®è£ ã解説ãã¾ãã ããããParticle Systemã¯ãç²å(particle)ã®åããã·ãã¥ã¬ã¼ã·ã§ã³ãç²åã®ç¶æ ã«åºã¥ãã¦ç»é¢æç»ããã¨ããåä½ãç¹°ãè¿ãã¾ãã ãã®ãåãã®ã·ãã¥ã¬ã¼ã·ã§ã³ãã¨ãç»é¢æç»ããåããã®ãé常ã«éè¦ã§ã調æ»åã®ç§ã®ç解ã§ã¯ãã®å¢çãææ§ã§ããã Spriteã使ã£ã¦æç»ããParticle Systemã®å®è£ ã¯ããã¾ã«è¦ãããã®ã§ããã¦ç§ã¯ããã¦BitmapDataã«ç´æ¥æ¸ãè¾¼ãæ¹å¼ã§å®è£ ãã¦ã¿ã¾ããã å®è£ ããã«ããã£ã¦ãaM laboratoryã®partic
ã¨ããäºæ ã§åãåã£ãflaãã¡ã¤ã«ã«ã次ã®ãããªactionscriptãè¨è¿°ããã¦ãã¾ããã getURL('javascript:doSomething()'); getURL('./somewhere.html'); ããããããªãã·ã¥ããã¨ãï¼ã¤ç®ã®getURL()ã®å¼ã³åºãã ããå®è¡ãããã®ã確èªã§ãã¾ãã ã©ããã¦ããã®ãããªæåã«ãªãã®ãåä½æ¤è¨¼ãããªããåå ã究æãã¦ãããã¨æãã¾ãã ããããgetURL()ã£ã¦ã©ãããé¢æ°ãªã®ãï¼ ã¾ãã¯Flash CS3 ããã¥ã¡ã³ãã¼ã·ã§ã³ã®èª¬æãè¦ã¦ã¿ã¾ãããã ç¹å®ã® URL ããã¦ã£ã³ãã¦ã«ããã¥ã¡ã³ãããã¼ãããããå®ç¾©æ¸ã¿ã® URL ã«åå¨ããå¥ã®ã¢ããªã±ã¼ã·ã§ã³ã«å¤æ°ã渡ããããã¾ãã ã¤ã¾ããã®é¢æ°ã使ãã¨ãFlashãèªè¾¼ã¾ããwindowã«å¥ãªURLã®htmlãèªè¾¼ããã¨ãªã©ãã§ãã¾ããã¾ãã"javascrip
ã¢ããªã±ã¼ã·ã§ã³è¨è¿°ãã¡ã¤ã«ã®systemChromeãnoneã«è¨å®ããtransparentãtrueã«ããã°ããã è¨è¿°ä¾ã¯ä»¥ä¸ã®éãã Test Test app! Sample app copyright information Test.swf true none true 800 600 ããããã·ã¹ãã ã®ã¦ã£ã³ãã¦æ ããªãã¨éãããã¿ã³ããªãããã¢ããªå´ã§ã¢ããªã±ã¼ã·ã§ã³ãçµäºãããæ¹æ³ãæä¾ããå¿ è¦ãåºã¦ããã ã¢ããªã±ã¼ã·ã§ã³ãçµäºãããã«ã¯ãç¾å¨éãã¦ãããã¹ã¦ã®NativeWindowã®ã¤ã³ã¹ã¿ã³ã¹ãåå¾ããclose()ã¡ã½ãããå¼ã¹ã°è¯ããã³ã¼ãã¯ä¸è¨ã®éãã¨ãªãã import flash.display.NativeWindow; import flash.system.Shell; function closeAllWindows():void { She
Webãµã¤ãã®å¦çã§ã©ãã«æéãããã£ã¦ãããç¥ãããã ãããªã¨ãã«ãããããªã®ãããJiffy Firefox ExtensionããFirebugã«ããã©ã¼ãã³ã¹ã測ãæ©è½ãã¤ããããã¨ã¯ã¹ãã³ã·ã§ã³ã ã ããã使ãã°ããã¼ããAjaxã®ã¬ã¹ãã³ã¹ãªã©ã詳細ãªããã©ã¼ãã³ã¹ã¿ã¤ã ãè¨æ¸¬ãããã¨ãã§ããã ãµã¤ãã軽ããããã¨ãã«ä¾¿å©ã ããã Firebugã«ããã©ã¼ãã³ã¹ã測ãæ©è½ãã¤ããããã¨ã¯ã¹ãã³ã·ã§ã³ããã§ãã¯ãã¦ãã²ä½¿ã£ã¦ã¿ã¦ã¯ãããã ãããã ã¡ãã£ã¨æ°ã«ãªã£ã¦ããã«ãã§ã«è¡ã£ã¦ããããããã¾ããã¦ãããã¨ã¦ãå± å¿å°ã®ããã¨ããã ã£ãã ãã°ã¡ããããããAirï¼ãã£ã¦èãã¦ãããããã£ãããåºå¡ããã«ã俳åªããã§ããï¼ãã¨èããããã¨ããããã ãe-mobileã¯ã¤ãªããã«ããã£ããã©ãã
ã«ã¡ã©ããåãè¾¼ãã ç»åã使ãFlashãéæã§è¦ãããããã«ãªãã¾ããããè¤æ°ã®ã«ã¡ã©ãã¤ã³ã¹ãã¼ã«ããã¦ããç°å¢ãèæ ®ããã¦ããªãå ´åãå¤ãããµã³ãã«ãåãããªãã¨ãããã¨ãããããã¾ãã ã¦ã¼ã¶ã¼ã«è¤æ°ã®ã«ã¡ã©ãã使ããããã®ãé¸æãããããã®è¨å®ããã«ã表示ããããã«ã¯ã Security.showSettings(SecurityPanel.CAMERA); var cam:Camera = Camera.getCamera(); if ( cam != null ) { vid.attachCamera(cam); } ã¨ãã£ãæãã§ãCamera.getCamera()ãå¼ã³åºãåã«ä¸è¡è¿½å ããã ãã§ãã ã¡ãªã¿ã«ããã®æ¹æ³ã¯ããã¥ã¢ã«ã®Cameraã¯ã©ã¹ã®getCamera()ã®ä½¿ç¨æ¹æ³ã«ã¦è§£èª¬ããã¦ãã¾ããè¨è¼ããã¦ããã³ã¼ãã«èª¤æ¤ãããã¾ãã System.showSe
ActionScript ã®ã³ã¼ãã«ã³ã¡ã³ããããã¯ãæ¿å ¥ãã Vim ã¹ã¯ãªãããæ¸ãããã«ã¼ã½ã«ä½ç½®ã«ä»»æã®æåãããã¯ãæ¿å ¥ããã¹ãã¼ããªæ¹æ³ããããããããæ³¥èãæ¸ãæ¹ã«ãªã£ãã function! ASCommentWriter() let c = col(".") let l = a:firstline - 1 let s = '' while len(s) < (c - 1) let s = s . " " endwhile call append(l, s . ' */') call append(l, s . ' *') call append(l, s . '/**') endfunction autocmd FileType actionscript map <C-c> :call ASCommentWriter()<CR> é©å½ãªé¢æ°ã®å é è¡ã«ã«ã¼ã½ã«ã移åãã¦ã
ã¿ã¤ã ã©ã¤ã³ã Vim (Vi) ã®ãã¼ãã¤ã³ãã§ç§»åã§ããããã«è¨å®ãããCtrl/Cmd-Shift-HJKL ã§é¸æç¶æ ã®ãã¬ã¼ã ã移åãããã©ã®ãã¼ãæ¼ãã¦ããããä¼ãããªããã¢ã ãã¼ããããã«å¥ã ã® JSFL ã³ãã³ããå²ãå½ã¦ãã®ãé¢åãé¢æ°å¼ã³åºããã§ããã楽ãªã®ã ãã FrameMoveLeft.jsfl //left (function () { var timeline = fl.getDocumentDOM().getTimeline(); var selectedFrames = timeline.getSelectedFrames(); if (selectedFrames[1] - 1 >= 0) { timeline.setSelectedFrames([selectedFrames[0], selectedFrames[1] - 1, selectedFr
Flex 㧠Alert ä¸ã® Button ã® buttonMode ã true ã«ããããï¼ã¨ãããæã®ããã®ã¡ã¢ã var alert:Alert = Alert.show("hoge", "fuga", (Alert.OK|Alert.CANCEL|Alert.YES|Alert.NO)); // OK var okButton:Button = (alert.getChildAt(0) as UIComponent).getChildByName("OK") as Button; // ã¯ã var yesButton:Button = (alert.getChildAt(0) as UIComponent).getChildByName("YES") as Button; // ããã var noButton:Button = (alert.getChildAt(0) as
Perlã®Tipsã«ãªããããªãã®ãéå»ãã°ããå¼ã£å¼µãåºãã¦ã¿ã¾ããã ã©ã³ãã ãªæååãçæããString::Random - Unknown::Programming local our $hoge; - Unknown::Programming whileã§ãã¡ã¤ã«ãã³ãã«ãã«ã¼ãããæã®æé»ã®$_ã«ã¤ã㦠- Unknown::Programming ãªã¹ãã®è¦ç´ æ°ãåå¾ãã - Unknown::Programming Perl6::Say-0.10 - Unknown::Programming ã¯ã©ã¹ã¡ã½ããã®ã¤ã³ãã¼ããModule::Compileã§ãã£ã¡ããã - Unknown::Programming ã¡ã½ããå¼ã³åºãã§ç¶æ¿ãã - Unknown::Programming ã©ãæ¸ãã§ãªãã㪠- Unknown::Programming ã¡ã½ããåä¸è¦§ã©ã¼ããï¼
å æ¥ãç´¹ä»ãããAirã¢ããªãArthropodãã§Flashã®ãããã°ãã®ãããªAirãã¼ã¹ã®Actionscript3.0ãããã¬ãã¼ã«ãWS-Blogã§ç´¹ä»ããã¦ãã¾ããã Arthropodã¯è²åãã§ãããã©ãThunderBoltAS3Consoleã¯ä½¿ç¨ããã¡ã½ããï¼infoãerrorãwarnï¼ã«ãã£ã¦åºåå 容ã®åãæ¿ããå¯è½ã ãã¨ãæ¥æ¬èªã«å¯¾å¿ãã¦ãããããã§ThunderBoltã®åã¡ã æé 1:ãã¹ãç¨Flashãã¡ã¤ã«ã®ä½æ 1-1.ThunderBoltAS3_v2.01beta.zipããã¦ã³ãã¼ã flash-thunderbolt - Google Code 2-1.Loggerã¯ã©ã¹ãimport import org.osflash.thunderbolt.Logger; 3-1.ã¡ã½ããè¨è¿° Logger.info(Logger.memor
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}