Cursor at end of input text field after updating

I’ve searched and I can’t find an answer to this problem. I’m using Flash 8 Professional.

I have a multiline input text box which a user can type stuff into, then click a button which will save what they typed and load another lot of text (all using XML). What I would like is to set the flashing cursor to the end of this box when it is updated. I’ve tried a few things:


Selection.setFocus(_parent.journalentry);
Selection.setSelection(0, 0);
_parent.journalentry.text = (c.firstChild ? c.firstChild.nodeValue : '');
Selection.setFocus(_parent.journalentry);
Selection.setSelection(_parent.journalentry.text.length, _parent.journalentry.text.length);

This works as expected on the first load but on subsequent loads the cursor will be where the user last left it, as if the setSelection is ignored. The Select.setSelection(0, 0) was to test a few theories - there are no changes in behaviour.

Is it possible to make this work?