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

    


      

Reply via email to