3 Replies Latest reply on Oct 27, 2008 8:05 AM by john isaacks

    What folder does flex look in for embed?

    john isaacks Level 1
      When I start a new flex builder 3 project it creates several folders (eg: bin-debug, src, etc.)

      if I were to use this code:
      [Embed(source="logowithborder.jpg")]

      what folder should I put 'logowithborder.jpg' in?

      Thanks!
        • 1. Re: What folder does flex look in for embed?
          Level 7

          "john isaacks" <webforumsuser@macromedia.com> wrote in message
          news:ge4ih1$hvi$1@forums.macromedia.com...
          > When I start a new flex builder 3 project it creates several folders (eg:
          > bin-debug, src, etc.)
          >
          > if I were to use this code:
          > [Embed(source="logowithborder.jpg")]
          >
          > what folder should I put 'logowithborder.jpg' in?

          src


          • 2. Re: What folder does flex look in for embed?
            ericbelair Level 1
            Your source folder. Look in your application properties. Under "Flex Build Path", look for the "Main Source Folder" value. By default, Flex sets this to "src". This is the /src folder that is displayed below the root of the Flex Application. So, your image would be directly under "src". However, it's best to organize all of your files, so, you might want to create an "assets" folder under your source folder, and put your images in there. I actually have an assets folder with several other folders below it - "fonts", "icons", "images", "stylesheets" - for further organization.
            • 3. Re: What folder does flex look in for embed?
              john isaacks Level 1
              thank alot guys....I have been developing with flash for quite some time and I am trying to get into flex now.

              Thanks!