asActionScript ã使ã£ã¦ å¤é¨ãã¡ã¤ã³ã®ç»åãèªã¿è¾¼ãã¨ãã®æ³¨æç¹ã調ã¹ã¦ã¿ããAS3 ã§èª¿ã¹ããã©ãAS2 ã§ãã»ãã¥ãªãã£ã®æ©æ§èªä½ã¯åãï¼ã ã¨æãï¼ãèªã¿è¾¼ã¿æ¹Loader ã¯ã©ã¹ã使ãã°å¤é¨ãã¡ã¤ã³ã®ç»åããã¼ãã§ããã var loader:Loader = new Loader(); var req:URLRequest = new URLRequest("http://www.example.com/sample.gif"); loader.load(req); addChild(loader); ç»åå½¢å¼ã¯ PNGãGIFãJPEG ã®ã¿ãBMP ã¯ãã¡ãã¢ãã¡ã¼ã·ã§ã³ GIF ã®å ´åã¯ï¼ãã¬ã¼ã ç®ããæç»ãããªããèªã¿è¾¼ã¿å®äºãããã¨ãç¥ãããã«ã¯ãcontentLoaderInfo ããããã£ã® complete ã¤ãã³ããç£è¦ããã°ããããã¡ã¤ã«ãåå¨ã
Flashãç¨ããã¯ãã¹ãã¡ã¤ã³ã¢ã¯ã»ã¹ ååã¾ã§ã¯ãã¯ãã¹ãã¡ã¤ã³ã¢ã¯ã»ã¹ãè¡ãããã®æ¹æ³ã¨ãã¦ããªãã¼ã¹Proxyã使ãæ¹æ³ã¨JSONPã使ãæ¹æ³ãç´¹ä»ãã¾ããããã©ã¡ãã®æ¹æ³ãå°ãå¤ãã£ãæ¹æ³ã ã£ãã¨æãã¾ãããªã«ãç¡çããã®ããã«æããæ¹ãããã®ã§ã¯ãªãã§ãããããä»åç´¹ä»ããFlashã使ã£ãæ¹æ³ã§ã¯ååã¾ã§ã®æ¹æ³ã¨ã¯éããèªç¶ãªå½¢ã§ã¯ãã¹ãã¡ã¤ã³ã¢ã¯ã»ã¹ãè¡ããã¨ãã§ãã¾ãã Flashã§ã¯ãå¼ã³åºãããå´ã§è¨å®ãè¡ããã¨ã§ã¯ãã¹ãã¡ã¤ã³ã¢ã¯ã»ã¹ãå¯è½ã«ãªãã¾ãã è¨å®ã¨ãã£ã¦ãé常ã«ç°¡åã§ãå¼ã³åºãããå´ã®Webãµã¼ãã«crossdomain.xmlã¨ãããã¡ã¤ã«ãè¨ç½®ããã ãã§ãããã®ã¨ãã®URL㯠http://www.example.com/crossdomain.xml ã¨ãªãã¾ãã ãã¡ã¤ã«ã®å 容ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã crossdomain.xmlã®å 容 <cr
å é±ã®æ«ã«ãã¯ã¦ãªã®ã¦ã§ãã»ãµã¼ãã¹APIã使ã£ãMash-upã¢ããªãFlashä¸ã§ä½ãå§ãã¦ãããªãã¤ã¾ãããã®ããCross-Domainã»ãã¥ãªãã£ãsatoshi.blogs.comããåå¾ããswfãã¡ã¤ã«ä¸ã®ActionScriptããb.hatena.ne.jpä¸ã«ããRSSãã£ã¼ãã ã¨ãXML-RPCã«ã¢ã¯ã»ã¹ãã§ããªãã®ã ã ã確ãæ¹æ³ããã£ãã¯ããã¨èª¿ã¹ã¦ã¿ãã¨ãã¯ã¦ãªå´ããµã¼ãã¼ã«crossdomain.xmlã¨ãããã¡ã¤ã«ãç½®ãã¦æ示çã«Cross-Domainã¢ã¯ã»ã¹ã許å¯ãã¦ããªããã°ãªããªããã¨ãããããã§è¦ã¤ããã®ãããFlashããåAPIã®æä½ããã¼ã¿ã®ãã¼ããã§ããããããµã¼ãä¸ã«ãcrossdomain.xmlãã¨ããããªã·ã¼ãã¡ã¤ã«ã®è¨ç½®ããé¡ããããããã¨ããã¯ã¦ãªã¢ã¤ãã¢ã¸ã®ãªã¯ã¨ã¹ãã2006å¹´ã®2æã«ãªã¯ã¨ã¹ããåºããã¦ããã®ã ãã11æ
crossdomain.xml ãå®æã«è¨ç½®ãã㨠CSRF èå¼±æ§ãå¼ãèµ·ããå¯è½æ§ãããã¾ããã¨ããã®ããããæ°ãæããããªãã®æ°ã® crossdomain.xml ã«ãã CSRF èå¼±æ§ãçºè¦ã(ç¾å¨ããããã®ãµã¤ãã§ã¯å¯¾çããªããã¦ãã¾ã)ãã¾ã ã¾ã Web ããã°ã©ãã«èå¼±æ§ãå¼ãèµ·ããå¯è½æ§ããããã¨ããèãæ¹ã浸éãã¦ãªãããããªãããã¨æã£ãã®ã§ã å æãLife is beautiful: ã¦ã§ããµã¼ãã¹APIã«ããããæããã¾ãåé¡ãã«é¢ããä¸èå¯ã«ã crossdomain.xml ã«ã¤ãã¦æ¸ããã¦ãã®ã§ããããã®å¾ãããã¤ãã®ãµã¼ãã¹ã§ crossdomain.xml ã許å¯ãã¡ã¤ã³ãã¹ã¦ã«ãã¦ãããµã¼ãã¹ããã£ãã®ã§ã注æåèµ·ã¨ãã¦ã¨ã³ããªã¼ã«æ¸ãèµ·ããã¾ãã èªåãä¸å¹´åãããåã¯ãcrossdomain.xml ã許å¯ãã¡ã¤ã³ãã¹ã¦ ('*') ã«ãã¦è¨ç½®ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}