RE: [flexcoders] What functions do I need to override to return correct component size?

2007-06-01 Thread Mark Ingram
: Re: [flexcoders] What functions do I need to override to return correct component size? Hi, Actually I have a really complicated selection manager component. It works great. It does multi selection so there is client selection rectangles and then a popup selection rectangle that encompases

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-06-01 Thread Michael Schmalle
*To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] What functions do I need to override to return correct component size? Hi, override protected function measure():void { super.measure(); measuredWidth = 120; measuredHeight = 120; } Note, that is just hard coding but, you will do

[flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Mark Ingram
Hi, I have a custom UIComponent that is 100x100 pixels. Around this component is a rectangle which I have drawn to a depth of 10 pixels (i.e. there is a 10 pixel border around my component). What functions do I need to override so I can return the correct width and height of 120 (instead of 100).

RE: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Mark Ingram
PROTECTED] On Behalf Of Michael Schmalle Sent: 31 May 2007 15:08 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] What functions do I need to override to return correct component size? Hi, override protected function measure():void { super.measure(); measuredWidth = 120

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
Hi, override protected function measure():void { super.measure(); measuredWidth = 120; measuredHeight = 120; } Note, that is just hard coding but, you will do your measurment calcs in that method. Peace, Mike On 5/31/07, Mark Ingram [EMAIL PROTECTED] wrote: Hi, I have a custom

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
@yahoogroups.com *Subject:* Re: [flexcoders] What functions do I need to override to return correct component size? Hi, override protected function measure():void { super.measure(); measuredWidth = 120; measuredHeight = 120; } Note, that is just hard coding but, you will do your measurment

RE: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Mark Ingram
] ups.com http://ups.com ] On Behalf Of Michael Schmalle Sent: 31 May 2007 15:08 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] What functions do I need to override to return correct component size? Hi, override protected function measure():void { super.measure(); measuredWidth = 120

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
. Mark -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* 31 May 2007 15:58 *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] What functions do I need to override to return correct component size? Hi

RE: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Mark Ingram
: 31 May 2007 16:45 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] What functions do I need to override to return correct component size? Hi, Yeah, I have a manager that does exactly this. Basically my advice is, keep the UIComponents seperate from your selection. Use some sort

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
-- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* 31 May 2007 16:45 *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] What functions do I need to override to return correct component size? Hi, Yeah, I have a manager that does exactly