Color object problems

Hello all-

I am having a problem using the color object. I have a class I created and want to assign it a color object upon creation.

anchorClass.prototype.onLoad = function() {
this.myColor = new Color(this);

Why doesnt this work? The result in the debugger when I select the instance and look under the variables tab shows the ‘myColor’ variable but when I expand it it goes on forever.

… this goes on forever…


PS - the attached fla uses a workaround but the above code is in it