onClipEvent (load) {
var select=false;
}
on (release) {
select=!select;
highlighting = new Color(_root.buttonything);
buttonhighlight = new Object();
if (select==true){
buttonhighlight = { ra: '40', rb: '44', ga: '50', gb: '112', ba: '100', bb: '90', aa:
'100', ab: '55'};
highlighting.setTransform(buttonhighlight);
}
if (select==false){
buttonhighlight = { ra: '100', rb: '0', ga: '100', gb: '0', ba: '100', bb: '0', aa:
'100', ab: '255'};
highlighting.setTransform(buttonhighlight);
}
}
And there you have it. This is a simple way to use setTransform, but you can apply it in more advanced ways.


