Lol, you ARE the man.

Now the question is how on earth did you know to do this? :)  It's 
not in the API and not in the Flex documentation.

And what is this really doing in the background?  Changing the 
preferred size I guess, but why does it obey that but not an explicit 
setting of the size using width and height?

Jason

--- In [email protected], Manish Jethani 
<[EMAIL PROTECTED]> wrote:
> On 5/13/05, temporal_illusion <[EMAIL PROTECTED]> wrote:
> 
> >   <mx:Button
> > 
click="display.width=display.width/2;display.height=display.height/2"
> > />
> 
> Call display.assignPreferredSize() after setting the width/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