6 Replies Latest reply on Sep 5, 2006 12:29 AM by ali_kiyani

    How to access button object through its intance name?


      I have a button named "mybutton" and on a certain frame (no. 10) I have written this code in action script:

      mybutton.height = 500;a

      It doesn't work and button size remains the same. Seems like I can't access button like that!?
      What I want is on a certain frame I want to increase the button height. How can I do this?