0 Replies Latest reply on Mar 2, 2009 6:01 PM by Toadsteraz

    Image Resize

    Toadsteraz
      I have an image located in a folder. I call the name from a database. I resize that image using the following:

      <mx:Image source="assets/images/news_images/{data.image}" maintainAspectRatio="true"
      horizontalAlign="center" height="125" id="List_Image" click="showImage(true);" scaleContent="true"/>

      I use this smaller resized image as a thumb. When the user clicks on the thumb it loads a popup window that has the FULL image in there (1024x768). HOWEVER the image still shows up as a thumb. It is as if Flex has taken the loaded file, resized it and I can no longer use the real dimensions of the image. How can I prevent this?

      Thanks for your help
      Todd