Cool, thanks for the tip.

Hope Flex 2.0 has a display:none/block type setting for containers :)



--- In [email protected], Manish Jethani 
<[EMAIL PROTECTED]> wrote:
> On 5/10/05, pk_wasp <[EMAIL PROTECTED]> wrote:
> 
> > var e = new mx.effects.Resize( vbxDetails );
> > e.heightFrom = 0;
> > e.heightTo = undefined;
> > e.duration=750;
> 
> Try this:
> 
> vbxDetails.height = undefined; // set this to undefined first
> e.heightTo = vbxDetails.preferredHeight;
> vbxDetails.height = 0; // set back to 0 before effect start
> 
> I expect this to work because the component recalculates its 
preferred
> height if it is set to undefined and then you can set the effect's
> heightTo to the preferred height.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to