Hi Robs,
Take a look at charpter 8(page 269) in the http://www.2flex.com.br/flex_dev_apps.pdf tuturial.
I hope that help you to solve your problem.
Hugs..
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
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Bruno Gustavo Martins
Mobile: (55)(11)9585-9587
[EMAIL PROTECTED]
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.