setRGB Halts my movie - WHY?

I have reduced this down to the simplest movie I can think of!

In my FLA I have a red circle that is a movieclip on frame 1 on the stage.

I am simply moving it across the stage.

It works just fine.

However, when I want to change its color in Actionscript using the following in frame 1,

var newColor = “0x00FF00”;
var colorful = new Color("_root.myCircle");
colorful.setRGB(newColor);

my movie stops at frame 1 and will not continue.

Anyone know why this is behaving this way?

I swear someone could write a book three times as thick as Moock’s by simply documenting all the weird behaviors of Flash!

i think your problem is in the var colorful… line
AS is thinking that the name of the object is actually “_root.myCircle” instead of _root.myCircle

there is a difference. try using this line instead:

var colorful = new Color(_root.myCircle);

Nope. Tried that earlier. It makes no difference.

No matter how you are moving a movieclip (tweening or setting it’s location frame by frame) as soon as you call setRGB, that movieclip stops moving! (Haven’t tried moving it using Actionscript yet but I assume that would work.)