Re: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed

2006-05-19 Thread Michael Schmalle
Just to wrap this thread up with an answer; What I discovered was happening is this; My 'Container' does not use scrollbars, so in the Container.viewMetrics I didn't notice one simple line, or really read through it. It happened to be that if all the checks IE scrollbars, scrollpolicy equals t

Re: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed

2006-05-19 Thread Michael Schmalle
Thanks Gordon, Manish I know about references but, this taught me a new angle of it. BTW, I have now got things balanced out, last night I basically discovered what Gordon was talking about. It's funny, you think you know sometihing and life teaches you a new perspective of what you thaught yo

Re: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed

2006-05-19 Thread Manish Jethani
On 5/19/06, Gordon Smith <[EMAIL PROTECTED]> wrote: > var v:EdgeMetrics = super.viewMetrics; > your local variable v now contains a reference to the SAME EdgeMetrics instance that the Container is using; v and some var in the Container instance are "sharing" the same object. When you then

RE: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed

2006-05-18 Thread Gordon Smith
er an API returns a copy or a reference to the original object.   - Gordon   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Thursday, May 18, 2006 2:28 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2B3 :: view

Re: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed

2006-05-18 Thread Michael Schmalle
ifying it. EdgeMetrics has a clone() method for making your own copy. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Manish Jethani Sent: Thursday, May 18, 2006 8:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Fle

RE: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed

2006-05-18 Thread Gordon Smith
- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Thursday, May 18, 2006 8:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed On 5/18/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: &

Re: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed

2006-05-18 Thread Manish Jethani
On 5/18/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: > Please refer to this post for more information. > > Flex2B3 :: Container subclass :: viewMetrics - borderMetrics Okay, this one:     override public function get viewMetrics():EdgeMetrics     { var v:EdgeMetrics = super.viewMe

Re: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed

2006-05-18 Thread Michael Schmalle
Manish, Thanks, but I have been looking at the source for this for 2 days straight. I understand that borderMetrics is just simple but... Please refer to this post for more information. Flex2B3 :: Container subclass :: viewMetrics - borderMetrics  There is something that is fishy. I am NOT

Re: [flexcoders] Flex2B3 :: viewMtrics - borderMetrics :: What changed

2006-05-18 Thread Manish Jethani
On 5/18/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: > What changed from Beta2 to Beta3 dealing with borderMetrics and viewMetrics??? I have no idea what changed, but basically borderMetrics is the size of the border, and viewMetrics is borderMetrics plus the size of any chrome (like scroll