RE: [flexcoders] Scaling Custom Components

2007-03-27 Thread Alex Harui
ehalf Of Bjorn Schultheiss Sent: Tuesday, March 27, 2007 6:19 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Scaling Custom Components Hey Alex, if 0 == childA can you insert childB at 99 for example. if so if you remove childA does childB's index change? can you ensure that you&

Re: [flexcoders] Scaling Custom Components

2007-03-27 Thread Bjorn Schultheiss
5:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Scaling Custom Components I have a custom component that adds multiple shapes during UpdateDisplayList. When I scale the browser it calls update display list and draws over all of my shapes. I have tried: j = this.numChildren; for (i=0; i

RE: [flexcoders] Scaling Custom Components

2007-03-27 Thread Alex Harui
[mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Tuesday, March 27, 2007 5:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Scaling Custom Components I have a custom component that adds multiple shapes during UpdateDisplayList. When I scale the browser it calls update display

Re: [flexcoders] Scaling Custom Components

2007-03-27 Thread Bjorn Schultheiss
Do you require to move change any shape properties when the scale occurs. If not you cant just avoid redrawing them again by setting a flag after they've been drawn. If so, you could approach it a few ways. I guess the only way you could ensure removeChildAt() to work is to use addChildAt

[flexcoders] Scaling Custom Components

2007-03-27 Thread Nate Pearson
I have a custom component that adds multiple shapes during UpdateDisplayList. When I scale the browser it calls update display list and draws over all of my shapes. I have tried: j = this.numChildren; for (i=0; i