When using findImg(), use actor.red instead of red, and so on. Keep in mind the defaults of the rgb values are 1 here, so you have to set something lower if you want to change something. Example:
PHP Code:
with (findImg(666)) {
ani = "idle";
layer = 4;
x = y = 200;
actor.red = 1;
actor.green = 1;
actor.blue = 0;
}
Yellow idle gani.