1 Reply Latest reply on Jun 25, 2008 8:22 PM by atta707

    Size Change

    BudHud
      <mx:Button id="button4" label="" click="IW(event)" x="38" y="80" width="80"/>

      Here is my button, and I wonder if it is possible within an ActionScript Function to resize the button.

      I click another button, it sends me to a Function, and within that Function there is ActionScript code which resizes id="button4".

      Thanks for your help. I'm new to the scheme of things.

      BudHud
        • 1. Re: Size Change
          atta707 Level 2
          assuming your function is being called on the click of the other button, all you have to is:

          this.button4.width = 100
          this.button4.height = 40

          of course, this keyword is not really necessary.

          ATTA