Work expressions like this one step at at time.
Also, Application.application will resolve to the top-level application, which might ease the expression. Events are also a good way to effect change in distant components. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Sid Maskit Sent: Tuesday, July 15, 2008 3:40 AM To: [email protected] Subject: Re: [flexcoders] Accessing public function from a different mxml I can't say that I fully understand the distinction between the two, but I have found that sometimes this.parentDocument works better than this.parent Hope that helps, Sid ----- Original Message ---- From: andrewedwards39 <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, July 14, 2008 7:54:53 PM Subject: [flexcoders] Accessing public function from a different mxml Hello all, I have a public function in an mxml document (lets call it a.mxml, and pubfunction ) and I want to access it from another MXML. this is what I am trying (based on my old as2 knowledge :) this.parent. parent.a. pubfunction( ); where the mxml calling 'a' is two levels below 'a's parent. this is not working, so I was wondering if anyone had any tips? cheers andrew

