First of all why do you need to do this?

I'm not sure I understand exactly what you are trying to do but you can inject 
data into item renderer form parent document and access that data inside the 
renderer.

Or you can hold references to your component (visual component) inside a model 
class dispatch an event which will be handled by a command and inside that 
command get the reference to that visual component. 

HTH,
Claudiu




________________________________
From: oneworld95 <[email protected]>
To: [email protected]
Sent: Monday, February 23, 2009 10:05:15 PM
Subject: [flexcoders] Accessing parentDocument using custom events?


Is it possible to have a custom component in an itemRenderer access a
variable in the parentDocument using a custom event? Not sure how to
do this so I'm looking for an example. 


   


      

Reply via email to