source="data/folders/562114560/{docThumb.currentItem.name}"

DK

On 1/18/06, Robs <[EMAIL PROTECTED]> 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
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


--
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/
 


Reply via email to