Connecting Tech Pros Worldwide Help | Site Map

Buttons Hide After Click

Newbie
 
Join Date: Sep 2008
Posts: 3
#1: Sep 26 '08
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's Avatar
Site Addict
 
Join Date: Jul 2008
Location: US of A
Posts: 587
#2: Oct 3 '08

re: Buttons Hide After Click


Quote:

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...

Expand|Select|Wrap|Line Numbers
  1. on (press){
  2. MYBUTTON._visible = false;
  3. }
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
Reply