[flexcoders] access a component name using array variable

2007-09-19 Thread Ary
Hi, i have 3 images, with 'image1', 'image' and 'image3' as object id, and i have a function that will return an array index value of 1,2 and 3 i want to set the image source above depend on the value returned by the function so if the value returned 2, i want to set the source of image2 i know

RE: [flexcoders] access a component name using array variable

2007-09-19 Thread Tracy Spratt
To: flexcoders@yahoogroups.com Subject: [flexcoders] access a component name using array variable Hi, i have 3 images, with 'image1', 'image' and 'image3' as object id, and i have a function that will return an array index value of 1,2 and 3 i want to set the image source above depend on the value

RE: [flexcoders] access a component name using array variable

2007-09-19 Thread Ary
PROTECTED] On Behalf Of Ary Sent: Wednesday, September 19, 2007 12:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] access a component name using array variable Hi, i have 3 images, with 'image1', 'image' and 'image3' as object id, and i have a function that will return