# Fl.motion setTint example

**URL:** https://forum.kirupa.com/t/fl-motion-settint-example/234180
**Category:** Uncategorized
**Created:** [July 31, 2007, 8:52am UTC](https://forum.kirupa.com/t/fl-motion-settint-example/234180 "2007-07-31T08:52:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![joshon](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@joshon](https://forum.kirupa.com/u/joshon)
#### Post date: [July 31, 2007, 8:52am UTC](https://forum.kirupa.com/t/fl-motion-settint-example/234180/1 "2007-07-31T08:52:59Z")

</div>

I am trying to get the setTint() method of the fl.motion.Color class to work. I couldn’t find any examples. Here is what I tried.

import fl.motion.Color;  
var ct:Color = new Color();  
ct.setTint(0xFF0000,.5);  
mc.Color = ct;

Thanks,

Josh
