Yes, I meant to say object reference. > The cell renderer can dispatch an event that would bubble up to the > Form1.mxml component. The component can catch the event and get a > reference to the object using "event.target".
What would be the code in Form1.mxml be in order to catch the bubling event from the Thumbnail. thanks --- In [email protected], Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 2/8/06, sufibaba <[EMAIL PROTECTED]> wrote: > > To clarify the above situation, basically, below is the situation: > > > > Form1.mxml -- > > contains a Tilelist component that has a > > listItemRenderer="Thumbnail" > > > > Thumbnail.mxml --- > > contains images > > > > Question: When the thumbnail is clicked, it sends an event to > > Form1.mxml with the Id of the thumbnail. > > What do you mean id of the thumbnail? Do you mean the object reference? > > The cell renderer can dispatch an event that would bubble up to the > Form1.mxml component. The component can catch the event and get a > reference to the object using "event.target". > > > Does anyone have a suggestion on how to do this with flex2. Flex 1.5 > > coding seem to not work -- flex2 doesn't have listowner. > > If you're using a IDropInListItemRenderer as your renderer, your > "listData" property contains an "owner" property that holds a > reference to the parent TileList. > -- 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/

