RE: [flexcoders] Image loader from thumbnail repeater

2006-02-10 Thread Stephane B.
It is working like a charm, thanks for helping! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish JethaniSent: Thursday, February 09, 2006 7:34 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Image loader from thumbnail repeater On 2/9/06

[flexcoders] Image loader from thumbnail repeater

2006-02-09 Thread Stephane B.
Hello everyone, I use a repeater to display a list of image thumbnails. I would like the main image to change when a thumbnail is clicked. This is a classic scenario of image gallery.I tried the following code which does not work, please note I'm new to Flex and my knowledge of Action

Re: [flexcoders] Image loader from thumbnail repeater

2006-02-09 Thread Manish Jethani
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

RE: [flexcoders] Image loader from thumbnail repeater

2006-02-09 Thread Stephane B.
a reply if I succeed. Thanks for helping, and congrat to the group owner for such effective initiative! Steph From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish JethaniSent: Thursday, February 09, 2006 10:40 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoder

Re: [flexcoders] Image loader from thumbnail repeater

2006-02-09 Thread Manish Jethani
On 2/9/06, Stephane B. [EMAIL PROTECTED] wrote: Would you have a syntax recommendation (actual code) for the suggestion (first reply below)? [old] click=img.load('images/booking/' + repImages.currentItem); [new] click=img.load('images/booking/' +

RE: [flexcoders] Image loader from thumbnail repeater

2006-02-09 Thread Stephane B.
] On Behalf Of Manish JethaniSent: Thursday, February 09, 2006 10:40 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Image loader from thumbnail repeater On 2/9/06, Stephane B. [EMAIL PROTECTED] wrote: mx:Repeater id="repImages" dataProvider="{product.image}" mx:Ima

Re: [flexcoders] Image loader from thumbnail repeater

2006-02-09 Thread Manish Jethani
On 2/9/06, Stephane B. [EMAIL PROTECTED] wrote: 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() Change event.target to