ByteArray ã«æ ¼ç´ããã¦ããç»åæ å ±ã Flex ã® Image ã³ã³ãã¼ãã³ãã«è¡¨ç¤ºãããã«ã¯ãLoader.loadBytes()㧠addChild ããã mxml as var dec:Base64Decoder = new Base64Decoder(); var decObj:Object; var byteAry:ByteArray; var ldr:Loader = new Loader(); dec.decode(encStr); // Base64Encoder ã§ã¨ã³ã³ã¼ãããã String decObj = dec.flush(); byteAry = ByteArray(decObj); ldr.loadBytes(byteAry); image.addChild(ldr); ã¡ã¢ Loader ã§èªã¿è¾¼ãã ãã¡ã¤ã«ï¼jpg, jpeg, png, g
{{#tags}}- {{label}}
{{/tags}}