How do i disable a button, then re-enable it?
Posted on 2007-08-05
In my flash project, I have a button that triggers a movie clip to transition from non-visible to visible. On this "pop-up" I have a button that makes it disappear again. However, the pop-up is sizable, taking up most of the page, but the user is still able to click on the buttons behind it. What I want is the button that triggers the pop-up to disable all of the other buttons, so the user cannot interact with them, and the button that hides the pop-up to re-enable them. Right now I have some buttons embedded in movie clips, while others are directly in the timeline. What actionscript can I use to achieve this desired effect?