æ£ç´ãä»æ´æã®ãããã®ã®â¦ãä»æ対å¿ãã¦ãªãã¨ããµã¤ã¿ããªç©ºæ°çãã§ãã Flashã«Macã®ãã¦ã¹ãã¤ã¼ã«å¯¾å¿ãããæ¹æ³ã ååãæ¸ããã®ã§ãããFlashåå¿è ããã¿ãç°¡å解説ãªã®ã§ãééããªã©ããããã§ããã ã¨ããããåãã®ã§åèã¾ã§ã«ã©ãã ããã®ãµã¤ããçµæ§è©±é¡ã«ãªã£ã¦ãã模æ§ã§ãã¿ãªããããã®ãã¼ã¹ã§å®è£ ãã¦ããã£ã½ãã ãµã³ãã«ããã¡ãããè½ã¨ããã®ã§ãè½ã¨ãã¦ãå³å®è£ ã ãããããªãã§æã£ã¦ããã¨ãããªçããããããããã¾ããã jsã¯ãããhtmlããããasããããããâ¦â¦ãFlaãã¯ãã£ã¨ããããªã ãµã³ãã«ãªã®ã«ãFlaãã¯ãã£ã¨ããããorz...ãä¸æ°ã«åå¿è ã«ã¯æ·å± ãé«ããªãã¾ãã(ToT; æ°æéæ¤è¨¼ããçµæãswfObjctã§ãFlashãé ç½®ããã¨ããã¾ã§ã¯ä»ã¾ã§éãã swfObjectã®JSè¨è¿°é¨åã®æå¾ã« attachSwf.write(
ç§ã餡åã®ãããªãéç«ã¡ã ã£ã¦ãã¾ããã ããããã¦ããã é£ã¹ããã¨æã£ããé£ã¹ããã®ã§ããã ãããåã«ãªãã©ã«ãã¢ã®çç°èã§ãããã¨ãç§ãããã¿ã¤ãé£ã¹ããã¨æãã°ãããã¿ã¤ã¯ä»ããä½ã£ã¦é£ã¹ãªãã¦ã¯ãããªããã®ã«ãªããé£ãããåã®æèã¯åã¾ããã åä¾ã観ã¦ããã¢ãã¡ã§ã赤ã¡ããã空ã®â¦
(2008.12.19 22:00追è¨) peer IDãnear IDã«ä¿®æ£ å æ¥ã®Adobe MAXã§Flashã®æ°ãããããã³ã«RTMFPãæ±ããã¨ãã§ãããµã¼ãã¹ãStratusãã«ã¤ãã¦çºè¡¨ãããã¾ãããããã¯ç°¡åã«è¨ãã¨ããã©ã¦ã¶ã§ä½ãã¤ã³ã¹ãã¼ã«ãããã¨ãªãP2Pãå®ç¾ã§ããç¥ããã£ããããã³ã«(=RTMFP)ã¨ãRTMFPããµãã¼ããããµã¼ãã¹(=Stratus)ãã¨ããä½ç½®ã¥ãã§ããä¸ã®åçã¯å®éã«Stratusãä»ãã¦RTMFPã«ããéä¿¡ã§åã®å®¶ã¨ãªãã£ã¹ï¼å¤ä¸ãªã®ã§çã£æã§ããï¼ãã¤ãªãã§ãããã®ã§ãã ãããã«ã¤ãã¦ã¯ãAdobe Labsã§ã®æ¬¡ã®æç« ãé常ã«åãããããã§ãã Stratus service for developing end-to-end applications using RTMFP in Flash Player ã§ããã®æç« ããã¾ãã«å
ãhttp://www.adrianparr.com/?p=83ã http://www.adrianparr.com/?p=83 AS3ã®åªç§ãªã©ã¤ãã©ãªã¼ãå¤æ°ç´¹ä»ããã¦ãã¾ã 使ã£ã¦ã¤ã¤æã£ãã©ã¤ãã©ãªã»APIãã¡ããã¾ã¨ãã¾ããã æ å ±ãä¹ããã©ã¤ãã©ãªãªã©ã¯è§¦ãã®ã«æéã®æµªè²»ãé¿ãããªãã®ã§ æåã©ããã§éã³ã¾ããã 3Dã¯ããã ãPapervision3Dã http://blog.papervision3d.org/ Flashã§3Dã¨ããã°PV3Dã§ãããã 3Dç©çã¨ã³ã¸ã³ã¯ããã ãWOW-Engineã http://seraf.mediabox.fr/wow-engine/ ãã ãWoWããç¥ããªããããã 2Dç©çã¨ã³ã¸ã³ã¯ããã ãBox2DFlashAS3ã http://box2dflash.sourceforge.net/ 触ã£ããã¨ãã人ãå¤ãã®ã§ã¯ï¼
å ã®ã¨ã³ããªã§ãä¼ãããéããPlayer10ç¨ã®FlexSDKãåºã¦ããã®ã§ãå¯ãã«æ³¨ç®åº¦ã®é«ããFlashPlayer10ã®æ°æ©è½ãVectorãã«ã¤ãã¦ãåãã£ã¦ããã¨ãã¾ã¨ãã¦ã¿ãã Vectorã¨ã¯ä½ã Vectorã¯ECMAScript4ããå è¡å°å ¥ãããæ©è½ã§ãä¸è¦Arrayã¨åãã§ãããå ¨ã¦ã®è¦ç´ ãåãåã§ãªããã°ãªããªãã¨ããå¶ç´ãä»ãã¾ããä¸è¬çãªè¨èã§è¨ãã°ãã¸ã§ããªã¯ã¹ã§ãã Vectorã¯ã次ã®ãããªæ°ææ³ã§å®£è¨ãã¾ãã var vec:Vector.<String> = new Vector.<String>(); .<String>ã¨ããé¨åã§ããã®Vectorã«ä»ããåå¶ç´ãæå®ãã¾ãããã®å ´åãä½ãããVectorå¤æ°vecã¯ãStringã®ã¿ã®é åã«ãªãã¾ãã ãã¾ã®ã¨ãããVectorã®å®ä½ã¯ã__AS3__.vec.Vectorã«ããã¾ã
ãªããæè¡ç³»ã®è©±é¡ã¯ä¹ ã ï¼ ä»æ¥ãç´¹ä»ããã®ã¯BitmapData.lock/unlockã¡ã½ããã§ãããçãããåç¥ã§ãããããããã¥ã¡ã³ããè¦ãã¨ã ãã® BitmapData ãªãã¸ã§ã¯ããå¤æ´ãããã¨ãã«ãBitmapData ãªãã¸ã§ã¯ããåç §ãããã¹ã¦ã®ãªãã¸ã§ã¯ã (ãã¨ãã° Bitmap ãªãã¸ã§ã¯ã) ãæ´æ°ãããªãããã«ãã¤ã¡ã¼ã¸ãããã¯ãã¾ããããã©ã¼ãã³ã¹ãåä¸ãããã«ã¯ãsetPixel() ã¡ã½ããã¾ã㯠setPixel32() ã¡ã½ãããä½åº¦ãå¼ã³åºãåå¾ã«ããã®ã¡ã½ããã unlock() ã¡ã½ããã¨ã¨ãã«ä½¿ç¨ãã¦ãã ããã ã¨æ¸ãã¦ããã¾ãã å¤åã»ã¨ãã©ã®äººãBitmapDataã表示ããããã«ãaddChild(new Bitmap(bitmapData))ã¨ããã£ã¦ãã¨æãã¾ãããå®ã¯setPixelãsetPixelsãããã¨ãç»é¢ã®è¡¨ç¤º
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}