Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Toggle On/Off multiple checkboxes?

  • Toggle On/Off multiple checkboxes?

    Posted by Pdebster on October 17, 2007 at 7:48 pm

    Hi all,

    I’m trying to make a channel switcher control that runs the “Shift Channels” effect. I have a series of checkboxes for isolating red, green, blue or alpha channels.

    Despite my attempts at using if/else if conditionals, I get a mess when I try to toggle off a checkbox by turning on another – is this just a limitation imposed by not being able to pass variables between effects? Any suggestions beside making .ffx presets for each channel?

    thanks, pdebster

    Jhunyadi replied 18 years, 6 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    October 17, 2007 at 9:00 pm

    Are you trying to make a radio button control by linking check boxes together with expressions? I don’t think that will work because an expression applied to a check box would only have access to its own pe-expression value and its neighbors post-expression values. I can’t think of way to make that work.

    Maybe you could use a slider instead.

    Dan

  • Pdebster

    October 17, 2007 at 9:07 pm

    Thanks Dan, I thought that to be the case, so I think I’ll just make presets out of the original ‘Shift Channels’ effect

    Pdebster

  • Jhunyadi

    November 8, 2007 at 9:24 pm

    Late post, so I don’t know if this helps…

    Not understanding exactly what you are doing, but I’ve created complex check box features by writing code that references a null layer with check box/expression controls.

    The different layers can have code with different behavior based on the same null layer control.

    You can also have multiple expression controls on the null with conditional statements in the layer expressions (not the null) to make it work.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy