Adding cursor to typewriter effect?

Is it possible to ad a cursor using this typewriter effect
[AS]myText = new LoadVars ()
myText.load (“test.txt”)
myText.onLoad = function () {
_root.holder = this.test
_root.index = 1
}
_root.onEnterFrame = function () {
if (_root.outputbox.length != 100) {
_root.typer = _root.holder.charAt (_root.index)
_root.outputbox.text += _root.typer
_root.index ++
}
}[/AS]
would i have to like use the setProperty to find the _x and_y of the current letter being typed and add the cursor moveclip after it??
I am trying to use a blinking Rectangle cursor like the DOS curor…
Thanks in advance