Button makes another disappear, but not vica versa.
///
/ Solved, I was using a graphic from another library which had
had it's it own personal agenda.......a button attached to it with it's own actionscript, back to square one then.
/
///
Probably one of those basic concepts that I miss sometimes, but this one has been bugging me for almost an hour now.
I want to make a checkbox, I have made two buttons, a tick and a cross.
They sit on the same place on the stage, here is the script.
On the first frame....
_root.tick._visible=false;
_root.tick.enabled=false;
On the cross button....
on(release){
_root.tick._visible=true;
_root.cross._visible=false;
_root.tick.enabled=true;
_root.cross.enabled=false;
}
On the tick button....
on(release){
_root.tick._visible=false;
_root.cross._visible=true;
_root.tick.enabled=false;
_root.cross.enabled=true;
}
What happens when I test the movie is that the cross button appears, after click the tick button appears, clicking on the tick button makes everything disappear.
:confused: