On Wed, Jun 3, 2009 at 10:26 PM, Manish Jethani
<[email protected]> wrote:
> 2009/6/3 j2me_soul <[email protected]>:

>>   override protected function measure():void{
>>    this.explicitMinWidth = this.explicitMinHeight = 50;
>>   }
>>  }
>
> Here you should set the meauredWidth, measuredHeight, and optionally
> measuredMinWidth and measuredMinHeight (they can be set to the same as
> measuredWidth and measuredHeight respectively).

I forgot to say how to do the measurement. Here's how I'd do it:

  function measure():void
  {
    measuredWidth = lal.getExplicitOrMeasuredWidth();
    measuredHeight = lal.getExplicitOrMeasuredHeight();
  }

Manish

Reply via email to