RE: [flexcoders] Re: Scaling Custom Components

2007-03-28 Thread Alex Harui
removing and readding is a bit expensive. Are you scaling the content of a component? You should just set the scaleX,scaleY and reposition. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Wednesday, March 28, 2007 9:57

RE: [flexcoders] Re: Scaling Custom Components

2007-03-28 Thread Alex Harui
I think I need more context. If I had a component with a circle and triangle and the browser window resized, if I set the component's widht/height to use %, updateDisplayList will be called with different numbers and I would just set scaleX/scaleY on either the entire component or the circle and