Skip to main content
joshe55299479
Participant
April 24, 2020
Question

Animate Components (checkboxes at least) can't be hidden?

  • April 24, 2020
  • 1 reply
  • 521 views

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.

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

joshe55299479
Participant
April 24, 2020

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?