I have a series of previously created rectangles, all with a lineStyle(stoke), but later, when in the program, i highlight them via colorTranform with MOUSE_OVER, and and return the color back to its previous state with MOUSE_OUT, and try to re-apply the lineStyle, it returns the color, but not the lineStyle.
Here is my code:
function highlightSquare(e:MouseEvent)
{
if (building == true)
{
transform1.color = 0x00CCFF;
var temp1 = e.currentTarget;
temp1.transform.colorTransform = transform1;
}
}
function unHighlightSquare(e:MouseEvent)
{
if (building == true)
{
transform1.color = 0x00cc33;
var temp1 = e.currentTarget;
temp1.transform.colorTransform = transform1;
temp1.graphics.lineStyle(1,0x0033ff);
}
}
any help or suggestions? thanks.