I was trying the following
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Canvas id="myBox">
<mx:Box id="myBox2">
<mx:Image source="img/hippo.bmp"></mx:Image>
<mx:Image source="img/close_button.gif"></mx:Image>
</mx:Box>
</mx:Canvas>
</mx:Application>
I got the image of close_button.gif while the other hippo.bmp is not displayed. What is the problem with bitmap file in Flex?
Short Answer:
var image1:BmpReader=new BmpReader;imageObjectOnScreen.addChild(image1.BmpReaderEx(“MyPicture.bmp”));You must definitely check this.