Yes, you could use the
altiaColorFgObj or
altiaColorBgObj animation in Control to set the color of a vector object.
You can also animate a color change. That is, you can set the color of an object, then define that state as an animation with the Animation editor. Then, change the color and define that as a different state of the animation.
You can also use a deck for this if you have different colors of LEDs as images that you want to display. For example, show the deck card that has the yellow image in it normally and switch to the other card when you want to show the blue image.
With the LEDs from led.dsn, you need to change the background color. For this example, the object ID was 10 (go to the property dialog and see which object ID the
LED Color property affects). So, I created some Control like so:
Code:
WHEN comfort == 1
EXPR altiaSetObj = 10
EXPR altiaColorBgObj = "blue"
END
WHEN comfort == 0
EXPR altiaSetObj = 10
EXPR altiaColorBgObj = "yellow"
END
The great thing about this approach is that you can easily change the colors. If you want to change to magenta and cyan, you just have to change those 2 text fields.
Jason