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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Tuesday, April 15, 2008 11:02 AM To: [email protected] 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?

