Search the help docs for outerDocument.
Google: dispatch event from itemRenderer bubble Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Tuesday, April 15, 2008 1:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: handling scope of functions inside an itemrender thanks Tracy do you have an example or a tutorial on the web covering this? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > You can use outerDocument, or one of the ancestor references, like > application.application, parentDocument. > > > > You can also dispatch a bubbling event and listen for it anywhere in the > ancestor chain. If you have something against bubbling events, there is > an example somewhere of subclassing DG to avoid them. > > > > Tracy > > > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of Jason B > Sent: Tuesday, April 15, 2008 11:02 AM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] handling scope of functions inside an itemrender > > > > im trying to figure out how inside a grid (itemrender) when a user > press's a button how they can call a function in script at the top of > the mxml. it seems out of scope says the IDE? >