HI...can u plz give more details of ur requirement and what is
r.currentItem.mood ... by are using souce twice (source inside a
source ) ...it doesnt work this way .... mostly for dynamic image
loading ...u shd make a class and associate an image to it ... and
then us that class in ActionScript
moshe wrote:
> 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
>
>
> moshe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---