PDA

View Full Version : Buttons and animation


DHornsey
02-27-2002, 10:35 AM
Hi, I'm new to this forum and have a probably very simple question. I have an animation that is triggered by a button press. How can I make the button inactive once it has been pressed so that the animation only happens once?

FiZzIk
02-27-2002, 11:01 AM
you could put the button in a movie clip and use _root.yourMovie._visibility = 0

http://www.actionscripts.org/tutorials/beginner/set_property/index.shtml

what was i thinking?