I have something similar, not sure if it's the right way to do it, but
it works.
<mx:HTTPService url="{myURL}" id="myHTTPData" method="GET"
useProxy="true">
<mx:request>
<movieid>{movieIDInput.text}</movieid>
<similars>6</similars>
</mx:request>
</mx:HTTPService>
<mx:HBox height="300" width="400" id="boxShotsHBox" hScrollPolicy="on">
<mx:Repeater id="boxShots"
dataProvider="{myHTTPData.result.MOVIES.MOVIE}" >
<mx:VBox id="movie">
<mx:Image
source="http://www.domain.com/my/path/to/images/{myHTTPData.result.MOVIES.MOVIE[boxShots.currentIndex]}.jpg"
width="65" height="90" mouseOverEffect="bigBoxShot"
mouseOutEffect="smallBoxShot"/>
</mx:VBox>
</mx:Repeater>
</mx:HBox>
myHTTPData.result is the xml file
.MOVIES is the parent tag
.MOVIE is the indiviual movie child
so, myHTTPData.result.MOVIES.MOVIE is an indivdual xml tag.
<MOVIES>
<MOVIE>name here</MOVIE>
<MOVIE>name here</MOVIE>
</MOVIES>
notice the image source uses my fully qualified domain. and the
currentIndex.
hope that helps.
Jeff
--- In [email protected], Carolyn Cole <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I believe it should be:
>
> docThumb.currentItem.name
>
> -- Carolyn
>
> At 12:34 AM 1/18/2006, you wrote:
> >Hi all,
> > I'm facing issues while using the "Repeater" tag.
> > I have a xml file named "562114560.xml" which defines my data as
> >follows:
> >
> ><?xml version="1.0" encoding="iso-8859-1"?>
> ><folder>
> ><page>
> > <name>0000001.jpg</name>
> > <no>1</no>
> ></page>
> ><page>
> > <name>0000002.jpg</name>
> > <no>2</no>
> ></page>
> ></folder>
> >
> >As u can see I need to use the "name" tag value & append it with the
> >rest of the path so that the respective thumbnails generate within
> >the repeater tag.
> >
> >The code written till now is as shown below:
> >
> ><mx:Model id="pageSource" source="./data/folders/562114560.xml"/>
> ><mx:Tile marginLeft="20" marginTop="10" verticalGap="10"
> >horizontalGap="20" marginRight="55" marginBottom="90" width="100%"
> >height="100%" autoLayout="false" clipContent="false">
> ><mx:Repeater id="docThumb" count="20"
> >dataProvider="{pageSource.page}">
> > <mx:Image source="data/folders/562114560/tn{I am stuck up here}"
> >mouseOverEffect="docResize" mouseOutEffect="docDefault"
> >mouseOver="popToTop(event.target)" mouseOut="restore(event.target)"
> >borderColor="#99FF00" borderStyle="solid" borderThickness="1"
> >id="docu">
> > </mx:Image>
> ></mx:Repeater>
> ></mx:Tile>
> >
> >As shown above, I'm stuck with what value to provide within
> >the "source" attribute in the "Image" tag.
> >
> >
> >
> >
> >
> >--
> >Flexcoders Mailing List
> >FAQ:
>
><http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> >Search Archives:
>
><http://www.mail-archive.com/flexcoders%40yahoogroups.com>http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >
> >
> >SPONSORED LINKS
>
><http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>Web
> >site design development
>
><http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>Computer
> >software development
>
><http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>Software
> >design and development
>
><http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>Macromedia
> >flex
>
><http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>Software
> >development best practice
> >
> >
> >----------
> >YAHOO! GROUPS LINKS
> >
> > * Visit your group
> > "<http://groups.yahoo.com/group/flexcoders>flexcoders" on the web.
> > *
> > * To unsubscribe from this group, send an email to:
> > *
> >
<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
> >
> > *
> > * Your use of Yahoo! Groups is subject to the
> > <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
> >
> >
> >----------
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/