# Help! setTransform problem

**URL:** <https://forum.kirupa.com/t/help-settransform-problem/176835>\
**Category:** Uncategorized\
**Created:** [January 27, 2006, 8:39am UTC](https://forum.kirupa.com/t/help-settransform-problem/176835 "2006-01-27T08:39:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lupong](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@lupong](https://forum.kirupa.com/u/lupong)\
**Post date:** [January 27, 2006, 8:39am UTC](https://forum.kirupa.com/t/help-settransform-problem/176835/1 "2006-01-27T08:39:53Z")

</div>

[SIZE=2]Hi!!! to all…

myColor = [/SIZE][SIZE=2][COLOR=#000080]new Color[/COLOR][/SIZE]SIZE=2;  
myColorTransform = [/SIZE][SIZE=2][COLOR=#000080]new Object[/COLOR][/SIZE]SIZE=2;  
myColorTransform = {ra:‘50’, rb:‘244’, ga:‘40’, gb:‘112’, ba:‘12’, bb:‘90’, aa:‘40’, ab:‘70’};  
myColor.[/SIZE][SIZE=2][COLOR=#000080]setTransform[/COLOR][/SIZE]SIZE=2;[/SIZE]

[SIZE=2]This script is working in keyframe but when I try to put it in button its not working. Thanks  
[/SIZE]
