import fl.motion.Color;

var rmColorTransform:Color;
var bgColorTransform:Color;

function highlight_pad(mc):void {

bgColorTransform = new Color();
bgColorTransform.setTint(0x666666, 1); //alpha is second parameter
mc.transform.colorTransform = bgColorTransform;

}

function clear_pad(mc):void {

rmColorTransform = new Color();
rmColorTransform.setTint(0xFF0000 , 0); //alpha is second parameter
mc.transform.colorTransform = rmColorTransform;

}

Sorry, the comment form is closed at this time.

© 2012 James Border Suffusion theme by Sayontan Sinha