Setting text of textarea


I have a movieclip inside it is a textarea. It is in the libary and the MC is exported for actionscript as “bulletPoint”.

When trying to set the text I try

var bullet1:MovieClip = new bulletPoint();

1119: Access of possibly undefined property text through a reference with static type flash.display:DisplayObject.

is there a way to get this to work without giving the textarea a name? I would rather use getChildAt if possible.

I can get it to work using