Hi all,
Can anyone tell me why the following code doesnt work? Ive created a button with the below code in. When the button is clicked I want mts (mountains) to appear on screen, and when the button is clicked again I want them to be hidden.
Ive used “_root.mts._visible = false;” in the first frame to initially set it to hide.
on (release) {
if (_root.mts._visible = true) {
_root.mts._visible = false;
}else {
_root.mts._visible = true;
}
}
thanks,
Claire