On 2/9/06, Stephane B. <[EMAIL PROTECTED]> wrote:
> <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
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/