Copy link to clipboard
Copied
hi people.Action script 2
i created a working movie clip that has a hidden password i set and is on a timeline so far, and when i use the mc name, which is password_1 (in the instance and in the original library folder) now i create a button and want the button to make the mc visible.
i used the following on the mc which did not work. password_1.visible = false;
and the following on the timeline for the button, called : ContactMe, :
ContactMe.onRelease = function(){
if(password1._visible == false){
password1._visible = true;
}
Copy link to clipboard
Copied
Ok sorry got the invisible part right now,
Copy link to clipboard
Copied
but the button still doesnt bring it back to a visible state.
Copy link to clipboard
Copied
okay got both part working, the invisible and the visible.