1 Reply Latest reply on May 25, 2010 4:57 PM by ShankarFlex3

    Setting 100% width in Actionscript?

    jsd99 Level 3

      How do I make a component go to 100% width using ActionScript?

       

      component.setStyle('width', '100%');

       

      doesn't work, and you can't do component.width="100%" either.

       

      however you can say <mx:Button width="100%"> no problem...