tint color image to grayscale
tint color image to grayscale
Out of context: Reply #9
- Started
- Last post
- 12 Responses
- CyBrain0
Well, the laco scripts have a tintTo method, but it's not much different fromt eh colorTo function.
Click the image to see what happens. Here's my script on frame 1 with theImage_mc on the stage.
Look here:
http://www.talesfromthehead.com/…#include "lmc_tween.as"
var isTinted:Boolean = false;
theImage_mc.onRelease = function() {
if (!isTinted) {
theImage_mc.tintTo(0x333333, 80, 3, "easeOutQuad");
isTinted = true;
} else {
theImage_mc.tintTo(0x333333, 0, 3, "easeOutQuad");
isTinted = false;
}
};