5 Replies Latest reply on Jan 25, 2009 3:50 PM by Newsgroup_User

    Dynamic image display Problem

    mordsm
      Hi

      I am trying to display images in 2 ways static and dynamic
      unfortunately the dynamic display the last 2 doesn't show anything


      <mx:Image height="35" width="35" styleName="MediumIcon"
      visible="{r.currentItem.extramedicine=='true'?true:false}"
      source="@Embed('images/icon_extra-medicine.gif')"/> -> Display Image

      <mx:Image height="35" width="35" source="@Embed
      ('{r.currentItem.mood}')"/> -> Don't display image

      <mx:Image height="35" width="35" source="@Embed
      (source='{r.currentItem.mood}')"/> -> Don't display image


      mordsm