OK trying again ...
I've worked out I can change a property of the dataProvider and the change is automatically reflected in the itemRenderer thanks

Now what I'm struggling with is where the user clicks on the itemRenderer (aka thumbnail) I can't seem to disable the thumbnails response (the clickability seems to belong to the TileList rather than the thumbnail) - I've got a display component that uses the TileList.selectedIndex as the dataProvider, but I don't see how I can stop it using the items who's properties I've set to "don't use".

See the old macromedia video gallery for the sort of functionality I'd like to emulate http://www.adobe.com/products/flash/flashpro/video/gallery/

So is there a way I can do a conditional response or conditional bind (bind to TileList.selectedIndex if the item has been set to "enabled = false" for instance?)

Cheers,

Phil

Tracy Spratt wrote:

With all flex data driven controls, you will want to work with the dataProvider.

 

What exactly do you mean by “…address subselections…”?

 

Tracy

 


From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Phil Marston
Sent: Monday, August 28, 2006 8:46 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] addressing items rendered in TileList

 

Hi All,

Anyone know how I can address items rendered in a TileList?
I have a tileList
<mx:TileList id="tipList"
dataProvider="{gallery.tips}"
itemRenderer="gallery.Thumbnail"/>
which renders c.50 thumbnails and now I'd like to address subselections
of those thumbnails and can't figure it out.

ANY help appreciated

Cheers,

Phil

--
__________________________________________________________
Phil Marston
Technology Enhanced Learning
Centre for Learning & Teaching
University of Aberdeen
Aberdeen
AB24 3QY

Email: [EMAIL PROTECTED]ac.uk
Tel: +44(0)1224 273329
Mob: +44(0)7798 723660
Web: http://www.abdn.ac.uk/clt/
__________________________________________________________

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]ac.uk
or call 0800 027 1495


-- 
______________________________________________________________ 
Phil Marston 
Technology Enhanced Learning
Centre for Learning & Teaching 
University of Aberdeen
Aberdeen
AB24 3QY

Email: [EMAIL PROTECTED]
Tel: +44(0)1224 273329
Mob: +44(0)7798 723660 
Web: http://www.abdn.ac.uk/clt/
______________________________________________________________

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495
__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to