Control the visibility of the buttons

Is it possible to control the visibility of a GUI button via a checkbox?

If the checkbox is ticked visibility box = 0 (the button is not visible)

If the checkbox is not checked = button is visible

Does anyone know how it is possible to do?

Quentin

Yes. You can use an onClick for the checkbox itself and the method for the on/off switch.

var myButton = buttonElementGoesHere;

var myCB = checkboxElementGoesHere;

myCB.onClick = function() {}

{Switch (myCB.value)}

real deal:

myButton.visible = false;

break;

by default:

myButton.visible = true;

break;

}

}

Tags: After Effects

Similar Questions

  • Click on the button control symbol Manager feature

    Hello

    I have a picture of remote control that has 2 buttons (button slide & graphical button bar).  With the help of resdesign , the first button controlling a slide show of 15 images works.  In the show, there is question slides that should launch a symbol of motion graphics bar showing the results.  I am able to launch the first chart bar to slide 3.  I use the container method to place the graphic bar on the stage.  The graphic symbol bar can be closed using a click event in the symbol.   Here are my questions:

    1. How to toggle the bar graph off OR remove the graphic barcode symbol when the graphic bar button is clicked again.
    2. How to prevent multiple instances of the bar graph to launch in the container?
    3. How to close the bar chart, if the user moves to the next slide?

    Here's the code to control the button of the bar graph on compositionReady:

    bgOn var = false;

    {sym.$("buttonbg"). Click (Function ()})

    If (bgOn == false) {}

    sym.createChildSymbol ("bg1", "bargraph_container3");

    container var = sym.getSymbol ("bargraph_container3");

    SYM. Container ("BG1"). Play();

    bgOn = true;

    }

    else {}

    SYM.deletesymbol ();  If graphic symbol bar is already activated, when buttonbg is pressed again then delete 'bg1.

    bgOn = false;  back to false, click will revive "bg1.

    }

    Here's the project file.

    http://DL.dropbox.com/u/10647145/necc_viewer_nov2012.zip

    Thanks for your time,

    -Robert

    ==> the file attached.

    (1) symbol 'stage', compositionReady:

    sym.bgOn = false;

    {sym.$("buttonbg"). Click (Function ()})

    If (! sym.bgOn) {}

    SYM. BG1 = sym.createChildSymbol ("bg1", "bargraph_container3") .play ();

    container var = sym.getSymbol ("bargraph_container3");

    Container ("BG1"). Play();

    sym.bgOn = true;

    } else {}

    SYM. BG1.deleteSymbol ();  If graphic symbol bar is already activated, when buttonbg is pressed again then delete 'bg1.

    sym.bgOn = false;  back to false, click will revive "bg1.

    }

    });

    (2) "bg1" symbol, close.click:

    sym.getParentSymbol("bargraph_container3").getParentSymbol ("step") .bgOn = false;

    sym.deleteSymbol ();

  • Scripts external movies to the buttons in the main movie, help please?

    I'm building a site based entirely flash using Flash CS3 and ActionScript 2. I use external movies for different pages and put the buttons that control these films in the main movie file. Normally, I would simply put the script to control the buttons on the file in the main sequence, not the external ones, but because he has more than two different pages, and I'm fading each external clip in and out, I wonder if possible put the script for the buttons on the main sequence, on the external movies.

    I hope I've explained it right, any help appreciated.

    Thank you.

    Use the following.

    var tl:MovieClip =;

    This ._parent. CV_button.onPress = function() {}

    loadMovie ("' Creative - Outrage_portfolio_goto_cv.swf ', tl");

    };

  • Adobe Captivate 7 - control the visibility of the two navigation buttons according to by clicking on the "sending answers" - button

    Hello

    How can I do the following:

    The navigation of my e-learning consists of two arrows. By clicking on one that you can move forward, by clicking on the other, you can go back.

    When users reached a Drag and Drop exercise slide in e-learning, should not go backward or forward, so the navigation should be disappear. The learner must answer the drag and drop exercise by clicklng the button 'send reply '. After that, the navigation should appear.

    I have UN-click on the checkbox for the two arros 'visible in the output' in the settings for the group that contains the two arrows, so they are not visible in the output for the moment

    How to go on?

    I think I have to combine the "submit answer" button action, but I can't assign an action on the button "send the answers."

    So should I assign an action to the slide? But which?

    Thanks for your help!

    Greetings

    Erica

    You can use the Drag and Drop action success of interaction to DISPLAY the missing arrows when a user correctly place all objects to slide on their targets.

  • Control a symbol by a button inside the symbol

    I hope that this explanation makes sense:

    I have a file with buttons on the main stage that control symbols.

    (buttons are circles labeled 1876 and 1877)

    The symbols just move a PNG on and off the stage.

    For example, the two circles called 1876 and 1877 are PNG files to create buttons that control two different symbols.

    Symbols of moving the image of dashboard on and off the stage.

    In the Bulletin Board image is an X, I'm hoping to put a button on top of the side to close the symbol.

    scoreboard1.jpg

    The code I use to move the symbols on the stage and is:

    var = sym.getVariable ("current") courses;

    If (current! = "") {}

    sym.getSymbol (current) ("out") .play;

    sym.getSymbol("syboard1876").play ("in");

    }

    else {}

    sym.getSymbol("syboard1876").play ("shortIn");

    }

    sym.setVariable ("current", "syboard1876");

    syboard1876 is the png of green card.

    No idea how I can get the symbol to move off the stage by pressing on it?

    And that I'll be able to have several buttons under the symbol (which are hidden under the b = green card when it is visible)?

    This is the original tutorial that I adapted the EEG of the animation to work so far.

    Tutorial: Relying on the independent symbol a calendar «Adobe Edge leading Team Blog»

    Now, I just need to find a way to give the user the possibility to use the X to close the symbol.

    Any suggestions?

    1. you could use $each () with jquery in compositionReady
    2. If not you need to go back to the stage with sym.getComposition () .getStage () or
    3. You can use this in compositionReady

    function useButtons (element) {}

    {sym. $(element) .bind ("Click", Function ()}

    SYM.$('image').Attr('src','images/'+element+'.PNG'). CSS({"Opacity":1.00});)  This is an example of code - I used the same name for the buttons and image names.

    });

    }

    Add here the names of button

    ["," "," "] .forEach (useButtons);

  • Use a button or an object to control the scrollable content

    I'm relatively new to DPS. I've looked everywhere to get the effect I want, but haven't found a solution. I have seen this in two publications now, so I know it's possible. One was a solution for an ad that took place in the press as a spread. There is a small button at the bottom that says low use to scroll for more content. When you move the button, done through the content of the page. The rest of the page is like a normal page and control slide it to the next page. I created a scrolling frame who has worked for the part of scrolling, but I can't drag to cange pages. Any suggestions? Thank you!!

    You can't control a setting floating with something other than your finger.

    The only way around this is to create everything with HTML.

    A solution would be to create this MSO content and use a

    button to make it visible but not scroll it, it will just appear.

  • How can I configure the button or the download icon in my taskbar? It is therefore visible without always having to look for downloads

    The download button never displays on my screen or the taskbar. How do I set it so it doesn't? I couldn't find the answer to this on my research...

    If you mean the animation down arrow/progress bar icon described in support- where to find and manage files in Firefox downloaded article - it should be there by default. Sometimes if you find yourself with too many buttons/icons on the toolbar, some controls 'overflow' on a drop-down list. The button for the menu drop-down has an > > icon. If you find that you can use customize to set the download button to a more useful location.

    If it isn't here either, consider using the "Restore default settings" button down in the center of tab customize to return toolbars "defect". This article is for details on customize: Customize Firefox commands, buttons, and toolbars.

  • I usually have a group of 3 visible boxes | less | 100% | a plus | used to control the size of the screen.

    They disappeared, and I can't find how to resurrect them. CTRL + and Ctrl - is available but not so convenient.

    You have removed the buttons on the Navigation toolbar by accident.

    If you right click on an item to toolbar in normal mode (non-personnaliser) mode, then you can remove this item from the toolbar.

    • "Remove from toolbar" will remove this element of the Navigation toolbar and moves it to the palette to customize (Firefox '3-bar' menu button > customize)
    • "Go to the Menu" will move this point '3' dropdown menu Firefox button bar
    • "Move to the toolbar" in the "3-bar" Firefox dropdown menu button will move that point to the toolbar

    Open the Customize and set the toolbar to display items.

    • Firefox '3-bar' menu button > customize
    • If the missing elements are in the palette to customize then drag them back into the window to customize the toolbar
    • If you don't see an item on a toolbar in the Customize palette, then click the Reset default button to restore the default toolbar configuration

    See:

  • I would like to move the button reload of the address bar. I also have a visible 'next' button and the back button.

    Simple as that. Because I have OCD, it is extremely unpleasant to have both forward and back buttons is not always visible. How can I return to this appearance?

    I also want to separate the button reload of the address bar, as I had before the update. I'm reloading of pages often enough and have the button smaller and in the address bar, it's... a little counterintuitive.

    Ideally I would have ordered it, from left to right: back, forward, reload, address bar.

    Firefox has always been very friendly and very customizable. A few hiccups here and there, well sure, but you can usually get what you want to do, one way or another. So can you guys help out me? It drives me crazy. I installed classic restaurant theme, and it does not change that I can't do now.

    The classic theme restaurant has a very rich set of features and options can be difficult to find. I think that those you want is in all of the check boxes under 'UI General"as shown in the screen shot on the site of modules:

    Note that 'Mobile back-forward button' is on, and "Combines stop & reload" is disabled. It works for you?

  • I have version 9.0.1 on 2 pc, both xp sp3. 1 the button "open new tab" is visible, on the other hand, the "Open new tab" button is not yet available in the menu "Customize toolbar" drag / drop. Why?

    I used the same setup file, but on 1 pc, the "Open new tab" button is available in the menu 'Customize toolbar' and can be dragged and drop on the navigation bar. On the other pc, the "Open new tab" button/icon is not yet available for drag / drop. I uninstalled firefox completely, including the settings and preferences, then reinstalled, but that has not fixed the missing button.

    Hello

    Please try to restore the default value in the Customize... window. If it is still not visible, one of the reasons could be that the button is already placed on the toolbar, but can be hidden behind a different icon or toolbar.

    ...............................................................................................................................

    Useful links:

    Everything on tools > Options

    Beyond the tools > Options - about: config

    Subject: config entries

    Information page (Alt + T) tools > Page Info, right-click > view Page information

    Keyboard shortcuts

    View without Plugins

    Files & Firefox profile folder

    Firefox commands

    Basic troubleshooting

    After the upgrade

    Safe mode

    Extensions of the issues

    Troubleshooting Extensions and themes

    Troubleshooting Plugins

    Test Plugins

  • Control of Toshiba Satellite A100: Buttons no longer work after the Xp update

    Toshiba satellite A100 iOwn and use Windows XP Edition family.
    After installation of windows update a few days ago from the functional buttons on the left side of the keyboard stop working - I can use the top running internet explorer or windows media player, but the other 3 buttons do not respond.

    I tried to run the system in the previous point, but it gives me error...
    Utility Toshiba for the buttons has been downloaded and reinstalled but still not result

    Download and install CCleaner tool. This windows registry repair tool. It s for free. Repair you the OS.
    Download the right modules common to you notebook series from Toshiba page, then reinstall it.

    After new control restart if the Toshiba control buttons functions!

  • Blue contours appeared and I can't control my iphone 5 s. I can't go to settings. I triple click on the button "home" and gives a message to go into settings and enter the password but I can't get to the settings. What does not work? Thank you

    Blue contours appeared and I can't control my iphone 5 s. I can't go to settings. I triple click on the button "home" and gives a message to go into settings and enter the password but I can't get to the settings. What does not work? Thank you

    The blue plan is switch control.

    s http://gettecla.com/blogs/News/15538916-what-is-switch-control-mode-in-apples-IO

    Triple click to get rid of him.

    "Siri to the rescue.  I said turn off the control switch. »

    Re: How to disable the switch control

    I don't get a request for an access code.  What is a school system?

    switch control

    Settings > general > accessibility > switching control

    R

  • Smart Z580 Fan Noise Control - I found the button, but how does it work?

    I just bought a Z580 with Windows 8. It has a Smart Fan Noise Control sticker. My understanding is that it can be used to control the fan speed. How? I don't find it in the manual. The button is the right most of five white labels under the badge of lenovo under the screen. Then, the fan (not really a button) button is one that looks like a sign with a quarter moon on the right. If I press on it, it does the cleaning thing fan but how do I speed?

    I would try to change the speed of the fan because my fan made a very slight sound pulse. Otherwise I love this computer. It has so many interesting features and works well.

    I think that you must install the version of Win7 power management software, as I think the Win8 version has only the option "dusting", when the Win7 version has 'standard', 'silent' and 'effective heat dissipation", also the"dusting"option by pressing the sensitive, stars and moon symbol.

    Make a system restore point before changing anything.

    John.

  • Whence the full featured controls the location of the button pause/repeat of the UI?

    TestStand 2012, 2012 LabVIEW, Windows 7, Full Featured UI: LabVIEW

    I'm changing the complete UI featured in response to the needs of businesses.

    I've added a new tab (operator) to show just the buttons on input control Point 1 and 2, and restart/Terminate/Pause/Resume.

    I placed these buttons on this tab and then modified the code to their location on the tab to start.

    I modified the code to set the entry Point 1 and 2 buttons where I want that they on the new tab, it works fine.

    I used a similar code to Pause/Resume, Terminate / restart on the new tab, but they keep themselves moved to the execution to the boot tab.  What is happening and how can I stop?

    Thank you in advance.

    Thank you to look at my problem, I actually found my own solution.

    I changed the code in such a way that he was stacking the buttons on top of the other and they are hiding.

    Problem solved.  I guess I'm now a step upward from the beginner because I've solved my own rookie mistake?

  • VI, who controls the action only when you press the button

    I have two stepper motors that control a cart on each axis.  My goal is to make a program that helps others in my lab to easily assign a direction and the distance they want the cart to move and then run the command.  I want them to be able to update the direction and the distance and then press a GO button which will be sent the signal to the basket.  To do this, use a VISA resource.  I have the MOST done program.  The question that I am running is my button does not work as I want.  It is not always save the push or he sends the signal several times on the drive.  I am attaching the 2 screws that are implementing the mechanics of my button in two ways.  Any help as to what I can to one or the other VI so he could make the order only once while leaving the operator make additional entry changes constantly and the start of the VI.  Thank you.

    You should use the structure of the event so good for you on one of these examples to try to use it.  Tied, is implementation that actually works.  You press once on the button and acts on it once.  Pressing stop or close the window works as well.

    EDIT: If you have some free time you must follow some training and try to find examples on the structure of the event.

    Training center of NOR

    NEITHER start-up

    -Hardware Basics

    -LabVEW databases

    -DAQ Application tutorials

    Introduction to LabVIEW for 3 hours

    Introduction to LabVIEW for 6 hours
    Paced self-study for students
    Self Paced Training beginner to advanced, required SSP
    LabVIEW training Wiki

Maybe you are looking for