Buttons Hide After Click

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nablesea
    New Member
    • Sep 2008
    • 2

    Buttons Hide After Click

    Hey,

    I would like to know how to make a button dissapear after it has been clicked using actionscript 2

    i no it has something to do with onRelease

    but not sure on the rest!
    HELP!!!

    NAble Sea
  • joedeene
    Contributor
    • Jul 2008
    • 579

    #2
    Originally posted by nablesea
    Hey,

    I would like to know how to make a button dissapear after it has been clicked using actionscript 2

    i no it has something to do with onRelease

    but not sure on the rest!
    HELP!!!

    NAble Sea
    have you tried this...

    Code:
    on (press){
    MYBUTTON._visible = false;
    }
    now replace the mybutton with your button's name/id and you could also change the part where it says press to be for "release".. .

    joedeene

    Comment

    Working...