Hi,
If I have a drawable list of shapes ( like a circle and a rectangle ) ,given the id (that i guess is the ID of the group ) how can i change in one step the color of all elements ?
thanks.
Marco
function onUpdate(dc) {
var circle = findDrawableById("circle");
if (circle != null) {
circle.setColor(mIsSomethingBad ? Gfx.COLOR_RED : Gfx.COLOR_GREEN);
}
// more stuff
}