• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Community Beginner ,
Apr 24, 2020 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

463

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
community guidelines
Community Beginner ,
Apr 24, 2020 Apr 24, 2020

Copy link to clipboard

Copied

LATEST

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? 

Votes

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
community guidelines