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.
[AS]
anchorClass.prototype.onLoad = function() {
this.myColor = new Color(this);
};
[/AS]
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.
+myColor
+target
+myColor
+target
… this goes on forever…
Thanks,
Andy
PS - the attached fla uses a workaround but the above code is in it