Copy link to clipboard
Copied
So here is my code:
function show_controlPanel(onOff, frame, offOn) {
_.controlPanel.visible = onOff;
_.controlPanel.checkBoxes = onOff;
_.panelButton.visible = offOn;
};
Simple: click the button show the panel and hide the button. The panel has eight checkboxes on it. Problem is, once the checkboxes are brought to the stage I am then unable to hide them.
I've tried putting them all in a movieclip and hiding that (ie 'checkBoxes') but they persist to display.
Can ANYONE please assist with this as it's holding me up on some work! If it turns out to be Clay again, Thanks in advance Clay! You're a saint.
Copy link to clipboard
Copied
For now, I have resolved by adding the components to a separate frame and having the movieclip flit between them when needed. Still, does anyone have a more elegant solution?