2 Replies Latest reply on Nov 10, 2006 1:24 PM by stratosnatcher

    Percentage in AS

    stratosnatcher
      If I have a Panel (resize done in tag to save space here, this is sort of an "academic" example)

      <mx:Panel id="testPanel" width="100%" height="100%" creationComplete="testPanel.width=275;" />

      How do I restore the width back to 100%. I don't know of a way to specify percentages except in MXML, which is a one-shot deal.