å¤é¨ã¤ã¡ã¼ã¸ããã¼ããã¦è²¼ãä»ããã«ã¯flash.display.Loaderã使ç¨ãã¾ãã åç´ãªãµã³ãã«(SWFã¨åããã¤ã¬ã¯ããªã®ç»åãèªãã§è¡¨ç¤ºãã): package { import flash.display.*; import flash.net.*; /** * ã¡ã¤ã³ã¯ã©ã¹ */ public class ShowImage extends Sprite { public function ShowImage(){ var l:Loader = new Loader(); // Loaderãçæã l.load(new URLRequest("./image.jpg")); // ç»åããã¼ã this.addChild(l); // è²¼ãä»ãã } } } ã³ã³ãã¤ã«ããçµæã¯ãã¡ã Loaderã®ããã«DisplayObjectæ´¾çã§ãSpriteã«ãã®ã¾ã¾è²¼ãä»
{{#tags}}- {{label}}
{{/tags}}