I would say that making assumptions about your parent is a bad idea for the 
outermost class of a component, but sub-components being composited to form the 
component can certainly make assumptions about the parent as that is within the 
encapsulation.

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
chrycheng
Sent: Friday, November 14, 2008 9:42 PM
To: [email protected]
Subject: [flexcoders] Referring to parent in components


Is it alright for a component to make references to its parent via the parent 
property?
Wouldn't this go against the principles of encapsulation/abstraction?

Reply via email to