Component question

why does this throw me an error?

import fl.controls.*;
ta_txt.backgroundColor = 0xff0000;

because ta_txt doesn’t exist yet? If not then you’ll have to give some more info than that.

ta_txt is the instance name of my component on my stage