iroha Tech Note åå¿é²ã§ããHTML5/JSãElectron(æ§Atom-Shell), NW.js(æ§node-webkit)ãAdobe AIR/Flexãæ¨æºåã®è©±ãªã©ãä¸å¿ã«ãæ¥ã å¦ãã ãã¨ãæ¸ãã¦ããã¾ãã æè¿ããã©ã¦ã¶ä¸ã§ã®é²é³ãããã³é²é³ããé³å£°ãã¡ã¤ã«ã®çæã転éã«ã¤ãã¦èª¿æ»ããæ©ä¼ããã£ãã®ã§ãã¾ã¨ãã¦ã¿ã¾ããã Chrome, Firefox, Edge ã«ãããé²é³ Chrome ãªã©ã®ã¢ãã³ãã©ã¦ã¶ã§ã¯ HTML5 ã® Web Audio API ã使ç¨ãã¦é²é³ãå¯è½ã§ãã (Web Audio API ã¨ã¯ãã©ã¦ã¶ä¸ã§é³å£°ã®åçãé²é³ãè¡ã API ã§ã¢ãã³ãã©ã¦ã¶ãä¸å¿ã«å®è£ ãé²ãã§ãã¾ãã) åãã©ã¦ã¶ã® Web Audio APIã®ãµãã¼ãç¶æ³ http://caniuse.com/#search=web%20audio å ·ä½çã«ã¯ä»¥ä¸ã®
ä»å㯠hoge-hoge-ws-as3-test.herokuapp.com ã¨ããä¾ã§é²ãã¾ãã ãµã¼ãã¼ã«ã¢ã¯ã»ã¹ ãµã¼ãã¼ã« http://hoge-hoge-ws-as3-test.herokuapp.com/ ã¢ã¯ã»ã¹ããã¨ã ã¨è¡¨ç¤ºããã¾ããWEBç»é¢ãã¡ãã»ã¼ã¸ãåãåã£ã¦ããã ãã§ãã WebSocketèªä½ã¯ãã¿ã¤ã ã¹ã¿ã³ã 2015-05-28T05:41:24.494Z ã¨ããæè¨ãåãç¶ãã¦ãã¾ãã AIRå´ã®å®è£ ç¶ãã¦ãAIRå´ã®å®è£ ã§ããã»ã¼åèè¨äºã®ã¨ããã§ãããããå°ãã¢ããªä¸ã§ç¶æ ãè¦ããããã«ãããã¹ããåãåºãããã«ãã¾ãã ã©ã¤ãã©ãªæã£ã¦ãã theturtle32/AS3WebSocket ããã©ã¤ãã©ãªãæã£ã¦ãã¦ã以ä¸ã®ããã«æ¸ãã¦ã¿ã¾ãããã å®éã®ã³ã¼ã package { import flash.display.Sprite; i
ãã£ãã·ã¥ã¢ã¤ã»ã¬ã³ãºï¼éç¼ã¬ã³ãºï¼ã§æ®å½±ããç»åãæ£ååè£æ£ããå ´åãé常ã¯ããã©ãå¤æã½ãããªã©ã§å¤æãã¾ãããFï½ï½ï½ï½ã§ç´æ¥ã«éç¼ç»åãèªã¿è¾¼ã¿ãå¹³é¢ã¸ç°¡æã«è£æ£ãããã®ã試ä½ãã¦ã¿ã¾ããããã¿ã³ãã¯ãªãã¯ããã¨å¤æãéå§ãã¾ãã ãã®å¤æã§ã¯ä¸ã®ã¢ãã¡ã¼ã·ã§ã³ã®ããã«ãï¼ï½ï½ãã¤å¼§ã移åãã¦å¹³é¢ã®ç´ç·ã¸æãç°¡æãã¸ãã¯ã使ç¨ãã¦ãã¾ãã®ã§ãè£æ£ãçãã§ããï¼è¿½è¨ï¼éç¼å¤æãã¸ãã¯ãç¨ãããã®ã¯ãã¡ãã§ãï¼ ï¼ï¼ï¼åº¦ã«ã¯å¯¾å¿ãã¦ãã¾ããããç»è§ï¼ï¼ï¼åº¦ã®ç»åï¼æã§ã¦ã§ããµã¤ãã¸æ軽ã«ã¢ããã§ãã¾ãã®ã§ãå¤ãã®ããã©ãç»åããµã¯ãã¨ç´¹ä»ããã«ã¯ä¾¿å©ããããã¾ãããä»å¾ã¯è£æ£ã®èª¿æ´ãå¤æé度ã®æ¹åããã¦ã¿ããã¨æãã¾ãã ä¸ã®åçã®ããã©ãæ©æã¯ç¾å¨ããªã¼ã¯ã·ã§ã³ãªã©ã§å®ä¾¡ï¼ï¼ï½ï¼ä¸åç¨åº¦ï¼ã«è³¼å ¥ã§ãã¾ãã®ã§ãããã©ãå ¥éç¨ã«ãããã§ããããã
[ãã®è¨äºã¯ç±³å½ Mozilla Future Releases ããã°ã«æ²è¼ããã "NPAPI Plugins in Firefox"ã®æ訳ã§ã] NPAPI ãå©ç¨ãããã©ã°ã¤ã³ã§ããå®ç¾ã§ããªãã£ãæ©è½ããã©ã°ã¤ã³ãªãã§å©ç¨ã§ããããã«ãMozilla ã¯å¸¸ã« Web ãã©ãããã©ã¼ã ãæ¹åãã¤ã¥ãã¦ãã¾ãããåç»ã®ã¹ããªã¼ãã³ã°ãææ°ã®ã°ã©ãã£ãã¯ã¹ãããã¦ã²ã¼ã ãå®ç¾ããããã«å¿ è¦ãªæ©è½ããããã¯æ°å¹´åã« Web API ã¨ãªã£ã¦ãã¾ãã以åã¯ãã©ã°ã¤ã³ãå¿ è¦ã¨ãã¦ããã¯ãªãããã¼ãã¸ã®ã¢ã¯ã»ã¹ãããã¾ã§ã¯ Web API ãå©ç¨ãã¦å®ç¾ã§ãã¾ãããã©ã¦ã¶ã¨ Web ãçºå±ãã¦ãããããNPAPI ã¯ãã®å½¹å²ãçµãããã¨ãã¦ãã¾ãããã©ã°ã¤ã³ã¯ããã©ã¼ãã³ã¹ä½ä¸ãã¯ã©ãã·ã¥ãWeb å©ç¨è ã«å¯¾ããã»ãã¥ãªãã£äºæ ã®æ¸©åºã¨ãªã£ã¦ãã¾ãã Mozilla 㯠Firefox ã® ã»
1.Crossbridgeã£ã¦ï¼ Adobeããªã¼ãã³ã½ã¼ã¹åããã¯ãã¹ã³ã³ãã¤ã«ãã¼ã«ã§ãã 以åã¯Alchemyã¨ãFlashCCã¨å¼ã°ãã¦ããããã§ãã å ¬å¼ãµã¤ããhttp://adobe-flash.github.io/crossbridge/ ãªãããã®ææ¸ã¯Crossbridge1.0.1ã¨ã64bitçWindows7 Professionalã対象ã«ãã¦ãã¾ãã 2.ä½ãã§ããã®ï¼ ãããç¨ãããã¨ã§ãéå»ã«ä½æããC/C++ã®ã©ã¤ãã©ãªãswcã«ã³ã³ãã¤ã«ãããã¨ãã§ãã¾ãã ããªã¨ãã¦ã¯Javaã®JNEã«è¿ãæè¦ã ã¨èãã¦ãã ãã ActionScript(以ä¸AS)ããå¼ã³åºãããã®ã©ããã¼ãè¨è¿°ãã¦ãããã¨ä¸ç·ã«C/C++ã®ã³ã¼ãããã«ããããã¨ã§ãswcãã¡ã¤ã«ãçæãã¾ãã é常ã®ASããã¯ããã®ã©ããã¼ãéãã¦ã¢ã¯ã»ã¹ãããã¨ã«ãªãã¾ãã å¶ç´ã¨ãã¦ã¯ã以ä¸
以åãè¨äºã«ããFlashã§ç»åã縮å°ãã¦åº§æ¨0.0ããé ãããã¨æç»ããããããªã件ã§ãã ä¸å¿ããããããããã£ãã·ã¥ãæå¹ã«ããã°å¤§ä¸å¤«ã£ã½ãæãï¼ï¼
Flashã§ãã«ã¹ã¯ãªã¼ã³ãå®è¡ããã¨ãä¸ã¤ã®PCã«è¤æ°ã®ã¢ãã¿ãã¤ãªãã¦ããä¸ã¤ã®ã¢ãã¿ã®ã¿ã§ã®ãã«ã¹ã¯ãªã¼ã³ã«ãªã£ã¦ãã¾ãã¾ãã è¤æ°ã®ã¢ãã¿å ¨ä½ã使ã£ã¦è¡¨ç¤ºããå ´åãIEã®ããªã¹ã¯ã¢ã¼ãã使ã£ãããAIRã使ã£ããã¨ãããããããæ¹ã¯ããã¾ãããããããããå¶ç´ãåºã¦ãã¦ãã¾ãã®ã§ãä¸æã«ããããããããã¯VisualStudioã®ãã©ã¼ã ã¢ããªã±ã¼ã·ã§ã³ã使ãã®ãä¸çªæã£åãæ©ãã£ãããã¾ãã ããã§ã¯ããã®ä¸ä¾ãç´¹ä»ãã¾ãã 以åç´¹ä»ããããC#ã®ã¢ããªã«Flash(swf)ãåãè¾¼ãããã®ç¶ãã®ä½æ¥ã«ãªãã¾ãã Form1.csã次ã®ããã«ç·¨éãã¾ãã æé ã®åºæ¬ã¯æ¬¡ã®ä¸ã¤ ï¼ï¼ãã©ã¼ã ã®å¢çï¼ã¦ã£ã³ãã¦ã®æ ï¼ãæ¶ã ï¼ï¼ã¢ãã¿ãµã¤ãºãåå¾ãï¼è¤æ°ã®å ´åã対å¿ï¼ ï¼ï¼swfãèªã¿è¾¼ã using System; using System.Drawing; using Syste
FLASH(youtubeçã )ããã«ã¹ã¯ãªã¼ã³ã§åºå®ããã¾ã¾ã«ããæ¹æ³ãããããåããã¾ãããï¼FireFoxç¨ã¯ãçµæ§åããå ¬éããã¦ããã®ã§ããâ¦ï¼ â»FLASHã«ã¯ãä»ã®ã¦ã¤ã³ãã¦ãéç¥ãããã¢ãããåºãã¨ãã«ã¹ã¯ãªã¼ã³ã解é¤ããã¦ãã¾ãåé¡ãããã¾ããã æ å ±å Dual monitor (or more) adobe flash fullscreen internet explorer moving the mouse è¦ã¤ãã¦ãã ãã£ãæ¹æè¬ã§ãã ï¼.FLASHã®ãã¼ã¸ã§ã³ãç¢ºèª IEç¨FLASHãã©ã°ã¤ã³ã®å®ä½ã¯ ãC:\Windows\System32\Macromed\Flashãã«ããã ãFlash10e.ocxãã§ãã ãªã³ã¯å ã§å ¬éããã¦ããã®ã¯10dã10eããã以å¤ã®ãã¼ã¸ã§ã³ã§ã¯ä½¿ãã¾ããã ï¼ï¼ãã¤ããªã¨ãã£ã¿ã®æºå Dump4w ãã¤ããªã¨ãã£ã¿ ç
ãAdobe Systemsã¯Flashã®çµäºæ¥ã宣è¨ããWebãã©ã¦ã¶ä¼æ¥ã«ãã®æ¥ã«Flashãç¡å¹åããããä¾é ¼ãã¹ãã ãââãç±³Facebookã®CSOï¼æé«ã»ãã¥ãªãã£è²¬ä»»è ï¼ã«å°±ä»»ããã°ããã®ã¢ã¬ãã¯ã¹ã»ã¹ã¿ã¢ã¹æ°ã¯7æ11æ¥ï¼ç¾å°æéï¼ãèªèº«ã®Twitterã¢ã«ã¦ã³ãã§ãããã¤ã¼ãããã ããã¯ãããæè¿ç¸æ¬¡ãã Flashã®èå¼±æ§çºè¦ãåãããã®ã7æ¥ã«ä¼Hacking Teamãçºè¡¨ãã顧客ãã¼ã¿æµåºã§çºè¦ããèå¼±æ§ã«å¯¾å¦ããããããæä¾ãããã®ã¯çºè¦ãã1æ¥å¾ã ã£ãã ãã®å¾ããã«2件ã®æ·±å»ãªèå¼±æ§ãå ±åãããAdobeã¯12æ¥ã®é±ã«è¨æã»ãã¥ãªãã£ã¢ãããã¼ããå®æ½ããã¨çºè¡¨ããã ã¹ã¿ã¢ã¹æ°ã¯å¥ã®ãã¤ã¼ãã§ãéçºè ã®å¤ããFlashã¯æ°¸é ã«æä¾ããç¶ããã¨æã£ã¦ãããããããããFlashããHTML5ã«ç§»è¡ããããã«æéã使ããã¨ããªãã®ã ãï¼çµäºã®ï¼ææ¥ã決ããå¿ è¦
ããå æ¸AGALã§ã·ã§ã¼ããæ¸ãã®ãè¾ããªã£ã¦ããã®ã§ã Flashã®Stage3Dã§ä½¿ããã·ã§ã¼ãè¨èªãä½ãã¾ããã ã¤ãã§ã«ã¬ã¤ãã¬ãã¦ã¿ã¾ããã >> Open ray tracing demo (Required Flash Player 16 or later) >> View source code ä½ãã§ããã®ï¼ OGSL â Oimo Graphics Shading Language ã使ã㨠Stage3Dã®ã·ã§ã¼ãããã°ã©ã ãGLSLã£ã½ãæ¸ãã¾ãã ã¢ã»ã³ããªã¨æ ¼éããæ¥ã ã¨ãå¥ãã§ãã¾ãã æ©é試ãã¦ã¿ã ããããã½ã¼ã¹ã³ã¼ãããã¦ã³ãã¼ããã¦ã½ã¼ã¹ãã©ã«ãã«é ç½®ããã Stage3Dã使ããããã«è¨å®å¾Sample.asãèµ·åããã ããããã表示ãããã°OKãä¸ã®ã»ãã«ããOGSL_SOURCEãããã£ã¦ã¿ã¾ãããã è¨å®ã¨ããããã⦠ä»ãã試ãããæ¹ã¯ãã¡
Flashãã©ãããã©ã¼ã ã¯ããããã©ããªãï¼ 2015å¹´ã®Flashã©ã³ã¿ã¤ã ã®ãã¼ããããï¼Stage3Dç·¨ï¼ ããã«ã¡ã¯ãICSå·åã§ãã 2015å¹´3æã«Adobeãã2015å¹´ã®Flashã©ã³ã¿ã¤ã ã®ãã¼ãããããçºè¡¨ããã¾ãããAdobeã¯å¼ãç¶ãFlashPlayerã¨AIRã©ã³ã¿ã¤ã ã®æ©è½åä¸ãé²ãã¦ãããååæãã¨ã®ãªãªã¼ã¹ã«ä»åçºè¡¨ã®ãã£ãæ©è½ãæå ¥ãã¦ããäºå®ã®ããã§ããä»åã¯ãã®ä¸ããStage3Dã«é¢ãããã®ãããã¤ãããã¯ã¢ãããã¦ç´¹ä»ãããã¾ãã ãã¹ã¦ã®AIRãã©ãããã©ã¼ã ã§Stage3Dã®ãã¼ãã¦ã§ã¢ãã³ã¼ãã«ããVideoTextureæ©è½ããµãã¼ã VideoTextureã¯ãã¼ãã¦ã§ã¢ã¢ã¯ã»ã©ã¬ã¼ã·ã§ã³ãæå¹ãªãããªåç»ãStage3Dã®Textureãªãã¸ã§ã¯ãã¨ãã¦æ±ããã¨ãã§ããæ©è½ã§ããå®è£ ä¸ã¯ãããªã¨VideoTextureã¨ã®ãªã³ã¯ãã
Chromeå èµã®Flashï¼PPAPIçï¼ã®SharedObjectã¯é常ã®Flashï¼NPAPIçï¼ã¨ã¯ä¿åå ´æãç°ãªãã®ã§ã¾ã¨ãã¦ãããã¨æãã PPAPI /Users/ã¦ã¼ã¶ã¼å/Library/Application Support/Google/Chrome/Default/Pepper Data/Shockwave Flash/WritableRoot/#SharedObjects/è±æ°å/ãµã¤ãå/ ï¼Macï¼ C:\Users\ã¦ã¼ã¶ã¼å\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot\#SharedObjects\è±æ°å\ãµã¤ãå\ ï¼Windows 7ï¼ ã¾ãã¾ãæ·±ããã¨ããã«ããã¾ããªããã¡ãªã¿ã«NPAPIçã®å ´æãæ¹ãã¦ã NPAPI /
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}