Setting text of textarea

Hi,

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();
bullet1.getChildAt(1).text=“hello”;

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

bullet1.bulletText.text=“hello”;