Radio buttons
I've got 2 buttons. I need it to function like radio buttons. When one is clicked I need the other to automatically be invinsible.
if echeck_mc is visible I need echeck_mc to be invinsible. If I'm doing this wrong (marked in red) please show me how should this be coded.
this.check_btn1.onRelease = function() {
_root.glv_mc.rotate_mc1._visible = !_root.glv_mc.rotate_mc1._visible;
_root.ltab_mc.echeck_mc._visible = !_root.ltab_mc.echeck_mc._visible;
if (_root.ltab_mc.echeck_mc._visible = true) {
_root.ltab_mc.tcheck_mc._visible = false;
}
};