Define a Bindable property imageWidth in both the main and thumbnail mxml
file.  Then when you set up the tilelist bind the thumbnail imageWidth to
main's imageWidth.  Then you can use SetProperty to set main's imageWidth
property which will be broadcast to all thumbnails.

HTH,

Sam


-------------------------------------------
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of zul_se7en
Sent: Friday, February 02, 2007 2:27 AM
To: [email protected]
Subject: [flexcomponents] mx:SetProperty help

i'm having trouble solving this problem. trying to change a property
of tilelist(id=tl_pictures) item, which is in main.mxml, that has a
itemrenderer from a different mxml file (thumbnail_pictures.mxml).

<mx:SetProperty target="{___}" name="___" value="___"/>

how do i change the image(id=img) width property in the
thumbnail_pictures.mxml?

Reply via email to