hi Shri,
In the first repeater, the source for the image is with id of repeater but
in the second repeater, the source for the image is with id of that image.
I think u need to change with id of that repeater i.e.,
<mx:Repeater id="related" dataProvider="{rDataXML.image}" >
<mx:Image id="relatedImg" width="500" height="355"
source="{related.currentit...@src}"
toolTip="{related.currentit...@alt}" click="image_click(event)"/>
</mx:Repeater>
On 8/7/09, Shri <[email protected]> wrote:
>
> Hi,
>
> I am using two mx:Repeater in two different containers. Yet, when I
> compile the flex script, I get the above warning for the second
> Repeater. Can someone point me to what I'm doing wrong?
> I'm using flex3:
> Adobe Flex Compiler (mxmlc)
> Version 3.3.0 build 4852
>
> See my script below:
>
> <mx:HBox id="pHBox" height="10%" backgroundColor="gray">
> <mx:Repeater id="rep" dataProvider="{pDataXML.data}" >
> <mx:Image id="img" width="100" height="55"
> source="{rep.currentit...@src}" toolTip="{rep.currentit...@alt}"
> click="image_click(event)"/>
> </mx:Repeater>
> </mx:HBox>
> <mx:VBox id="rVBox" width="100%" height="100%">
> <mx:Repeater id="related" dataProvider="{rDataXML.image}" >
> <mx:Image id="relatedImg" width="500" height="355"
> source="{relatedimg.currentit...@src}"
> toolTip="{relatedimg.currentit...@alt}" click="image_click(event)"/>
> </mx:Repeater>
> </mx:VBox>
>
> Thanks in advance.
> -Shri
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---