Highlighted

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

Community Beginner ,
Apr 24, 2020

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.

TOPICS
ActionScript, Error, How to, Missing feature, Other, Performance

Views

359

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Community Beginner ,
Apr 24, 2020

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.

TOPICS
ActionScript, Error, How to, Missing feature, Other, Performance

Views

360

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 24, 2020 0
Community Beginner ,
Apr 24, 2020

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? 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 24, 2020 0