# SWFobject and setRGB clashes

**URL:** <https://forum.kirupa.com/t/swfobject-and-setrgb-clashes/309946>\
**Category:** flash\
**Created:** [May 28, 2010, 8:58am UTC](https://forum.kirupa.com/t/swfobject-and-setrgb-clashes/309946 "2010-05-28T08:58:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [May 28, 2010, 8:58am UTC](https://forum.kirupa.com/t/swfobject-and-setrgb-clashes/309946/1 "2010-05-28T08:58:16Z")

</div>

Hello … I am using the most up to date version of SWFobject.

When i use a simple rollOver and out state on my mc’s … I have been using setRGB to change the colour depicting the state.

However since installing SWFobject - This setRGB property refuses to work.

Anyone know anything about how to get around this conflict …!?

```auto
t.onRollOver = function()
		{
			col = new Color(this);
			col.setRGB(0xFF0000);
		}

```

is how im doing it in flash - simple - but why is SWFO disabling it? … is it something to do with the parameters?  
Thanks…
