Now in ae cc 2014,I can not change the backgroudColor of EditText.I write a function to change the color below:
function setObjColor(Target, Colors)
{
var Brush = Target.graphics.newBrush(Target.graphics.BrushType.SOLID_COLOR, Colors);
Target.graphics.backgroundColor = Brush;
}
And I use setObjColor(EditText,[0.5,0,0]); In old versions of AE ,it works as expected,but it do not work at all in AE CC 2014.It seems that all graphics of edittext in cc 2014 has been ignored.No matter what I set,when I click the edit text field,the backgroup become bright white.When the edit text is inactive,the backgroud become grey.
I just want to know if we can change the backgroud color of EditText such as to [1,1,1],no matter the text field is active or inactive.
Another questions: Window.layout.resize() can resize the window and its child controls with the given alignment type.Can I tell the the resize() not to resize some child controls of Window who have been established by given alignment?I know delete the alignment and alignchild can works,but that will make sizes of controls change and need a lot of time to set the size value myself.