3 Replies Latest reply on Jun 20, 2008 12:55 PM by Developer504

    Inserting an image into a Flex App

    Developer504 Level 1
      I'm trying to put a .jpg logo into my Flex App, using this line

      <mx:Image x="394" y="10" width="624" height="63" source="image.jpg"/>

      but Flex isn't finding the image. What is the default path where Flex looks? I tried putting the image in the rooot of IIS, in my src directory, in an assets directory etc.

      What I want is to embed the image into the App so I don't have to worry about the path.

      If I point to an image on the web it displays correctly. I just want a default path or to be able to compile the image into the code.