Okay I am using four radio buttons.
Each button has code on it to say that if it’s value is true, certain movie clips visibility is supposed to become false.
I have one movie clip that is placed directly on the time line, but about 50 frame down from where the components are place on the timeline-
It is not setting the visibility to false on this movie clip, is it because it will not apply it to a clip that is not yet used?
code:
<hr>
function checkradio() {
if (radiogroup.getValue() == “a.”) {
_root.default_al._visible = false;
_root.al_waiting._visible = false;
_root.question_window1._visible = true;
_root.attachMovie(“nosignal”,“nosignalnew”,2) ;
nosignalnew._x = 860;
nosignalnew._y = 460;
}
else if (radiogroup.getValue() == “b.”) {
_root.default_al._visible = false;
_root.al_waiting._visible = false;
_root.question_window1._visible = true;
_root.attachMovie(“alclapping”,“alclappingnew”,2) ;
alclappingnew._x = 860;
alclappingnew._y = 390;
}
else if (radiogroup.getValue() == “c.”) {
_root.default_al._visible = false;
_root.al_waiting._visible = false;
_root.question_window1._visible = true;
_root.attachMovie(“nosignal”,“nosignalnew”,2) ;
nosignalnew._x = 860;
nosignalnew._y = 460;
}
else if (radiogroup.getValue() == “d.”) {
_root.default_al._visible = false;
_root.al_waiting._visible = false;
_root.question_window1._visible = true;
_root.attachMovie(“alnoslot”,“alnoslotnew”,2) ;
alnoslotnew._x = 1085;
alnoslotnew._y = 530;
}
}
<hr>