Might be time to extend Container instead of UIComponent

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of reflexactions
Sent: Friday, June 15, 2007 2:09 AM
To: [email protected]
Subject: [flexcomponents] Clipping Content

 

I am currently masking a composite component to prevent its children 
being drawn outside its bounds when being animated by an effect.

I have now added a border and I want the masking/clipping to apply only 
to the child controls not the border. 

Is the way to do this to create a child "body" display object and add 
the controls to the "body" (I dont want to extend a container as this 
is a simple composite control with just a couple of child controls).

What methods of UIComponent would I need to override to make sure 
everything still works?

tks

 

Reply via email to