1 Reply Latest reply on Aug 18, 2009 4:21 PM by Flex harUI

    How do you include images into the swf file?


      I have an application that dynamically loads images from a folder to display in the application. Images display fine in the app through the IDE. Since these are not embeded images, compiling the swf leaves them out. How do I get them in? Specifically, how do I do this through the mxmlc ANT task?



      This is what I am doing in the code:


      new BitmapFileMaterial("components/test/images/testimage.png")


      So basically the image needs to be in this location within the created swf file.


      Thanks for any help.