Hey all,
Is it improper to put functionality other than setting or getting data in your getter/setter functions? I just wrote my Connector class ( http://www.kirupa.com/forum/showthread.php?t=268245) and for example, in my linethickness setter, I have:
public function set lineThickness(value:uint):void {
_lineThickness = value;
drawTriangle();
drawConnector();
}
Is calling my draw methods in the setter improper? If so, what’s the alternative?