0 Replies Latest reply on Mar 22, 2010 3:31 PM by nitishFlex

    Display Two image in Canves from Arraylist

    nitishFlex

      Hi All,

      I am trying to compare two image.This is done by displaying both the image side by side in a convas.

      I am using HorizontalList to display the thumb nail of all the image.

       

      <mx:HorizontalList

       

      id="horizontalList"

      -

      -

      horizontalScrollPolicy="

       

      on"

      allowMultipleSelection="

      true"

      borderSides="

      2"

       

      />

      AND

      <mx:Image

       

      id="img" x="40" y="120"

      source="

      {horizontalList.selectedItem.fullImage}"/>

       

      <mx:Image source="{horizontalList.selectedItem.fullImage}" x="480" y="100"/>

       

      I am not able to display the two different selected image.Both the image displayed is the same.

      Could your provide me the code to accomplish this.