Page 1 of 1

Creating radio buttons with checkbox controllers

Posted: January 26th, 2015, 8:21 pm
by Raivion
Hey guys,

I'm trying to create radio buttons with checkbox controllers.

this is the setup: http://i.imgur.com/wRPCuR1.jpg

This only works if I dont move the time indicator. When I move it, or RAM preview it it just jumps back to the top checkbox selected. I think this is because I'm trying to create a "loop" which isn't possible in a way.

I have no idea what to do next, or if this is even possible in the first place. Is there perhaps a workaround/fix for this?

Thanks in advance.

Re: Creating radio buttons with checkbox controllers

Posted: January 29th, 2015, 1:33 am
by beginUndoGroup
If your fill color only takes two values, you can simplify your framework by using only one checkbox, named for instance "alt color",
and in the fill set an expression like:

if (effect("alt color")("Checkbox").value==1) [1,0,0,1] else [0,0,1,1];

With a bigger color range, checkboxes won't be very helpful i think.

Xavier.