To overcome the problem after i import the image from XML I read all elements and i reset an embed image. Because in this case is an logo that the app knows. Something nice to add would be an inline BASE64 image. So the basic idea is we have a Xhtml inline image for example in xml:<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot"> then when we import to TextFlow
we should load it to something like this: private function load(base64:String):void { base64 = "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="; var dec:Base64Decoder = new Base64Decoder(); dec.decode(imgString); var newByteArr:ByteArray=dec.toByteArray(); loader = new Loader(); loader.loadBytes(newByteArr); // In the loadBytes we write the Base64 String of the image. loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); } private function loadComplete(e:Event):void { var bmp:BitmapData=new BitmapData(loader.width,loader.height,true,0x0); bmp.draw(loader); img = new Bitmap(bmp); } That will help a lot. I think maybe that even with a url or path the load process is never finished. > Subject: Re: TLF and images > From: harbs.li...@gmail.com > Date: Thu, 18 Dec 2014 18:13:32 +0200 > CC: us...@flex.apache.org > To: dev@flex.apache.org > > Can you create a JIRA issue with a sample app which shows the problem?[1] > > On Dec 18, 2014, at 5:38 PM, Miguel Ferreira <miguel.cd.ferre...@hotmail.com> > wrote: > > > Neverthless the image problem is not fixed i saw that the > > InlineGraphicElement did not load the image i will search what i need to do > > to load it. > > I installed the SDK by the installer just to inform > > [1]https://issues.apache.org/jira/browse/FLEX/