Hi,
first of all, I am just learning Flex and this is an easy question, so
this Group may not be the place to post it.  If there is a better
forum for people learning to post, kindly redirect me.  Thanks.

Ok, I need to programmitically change the size of a canvas from 100%
to 60 pixels when a button is clicked, and vice versa.  This code
works when I minimize, but the "100%" throws errors:
case 'A':

    stateA==0 ? stateA=1 : stateA=0; 
    if(stateA==0)
        {
         Container_A.height="100%";
         buttonSizerA.label = "<";
        } 
        else 
        {
         Container_A.height=60;
         buttonSizerA.label = ">";
        }                               
        break;

How can I programmitcally set the container to "100%"?

Thanks,
-- Ann, the Original Giggle Girl

Reply via email to