1 Reply Latest reply on Dec 6, 2009 8:01 AM by Gregory Lafrance

    How to show an image Preview

    mliyanagamage

      In my app, there is a file system tree where people choose a certain image file, what is supposed to happen is that when they click on the image file, a preview should appear next to the file system tree box. I am unsure how to that... HELP

        • 1. Re: How to show an image Preview
          Gregory Lafrance Level 6

          Just to clarify what you want to do, when someone clicks an image in the tree, you want to display that image in an Image control next to the tree?

           

          FileSystemTree selectedItem is the File object for the selected item, so access the nativePath or url property for that file object and use it in the Image control source property.

           

          If this post answers your question or helps, please mark it as such.


          Greg Lafrance
          www.ChikaraDev.com

          Flex Development and Support Services

          1 person found this helpful