Hi Manish, Thanks for your reply. The mistake I made was to forget to set the bubbling argument in the Thumbnail.mxml so it wasn't bubbling up to the parent form --Too much time in front of the code can make one myopic.
this.dispatchEvent(new Event('thumbClicked',true)); // bubbles set to true Cheers, Tim --- In flexcoders@yahoogroups.com, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 2/9/06, sufibaba <[EMAIL PROTECTED]> wrote: > > 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. > > this.addEventListener("bubblingEvent", handleBubblingEvent); > > function handleBubblingEvent(event) > { > ... // event.target is the cell renderer > } > -- 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/