Looks like the right solution, but I get the following
error:
ReferenceError: Error #1069: Property repeaterIndex not
found on flash.display.Loader and there is no default value
at ProductDetails/___Image2_click()
at ProductDetails/___Image2_click()
any idea?
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani
Sent: Thursday, February 09, 2006 10:40 AM
To: [email protected]
Subject: Re: [flexcoders] Image loader from thumbnail repeater
> <mx:Repeater id="repImages" dataProvider="{product.image}">
> <mx:Image source="images/th/{repImages.currentItem}" width="69" height="93" click="img.load('images/booking/' + repImages.currentItem);" />
> </mx:Repeater>
Where does "img" come from? I think you meant "event.target".
"currentItem" is not available in the click handler. Instead of
current item, use getItemAt() and pass it the object's
"repeaterIndex".
--
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.

