Constraints like "left", "top", etc. are styles, so

 

    setStyle("left", 10);

 

should change them.

 

- Gordon

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Ethan Miller
Sent: Monday, January 08, 2007 1:11 PM
To: [email protected]
Subject: [flexcoders] Resizing Constraint-Based Layouts

 

Greetings -

I've asked about this before to no effect; let's try again =) Most of 
my layouts use constraints, that is, left="n" top="n", etc. In these 
layouts, I'd like to add minimize and maximize controls which would 
expand and contract the constraint-defined proportions of various 
screen areas.

It would seem to me that I should be able to simply change the value 
of "left", "top" etc., but his doesn't appear to work.

Any ideas?

cheers, ethan

 

Reply via email to