method setCaretPos

void setCaretPos(int32 x,int32 y);

Argumente

Zurückgegebener Wert

This method sets the text insertion caret at the specified coordinates. The coordinates provided must be relative to the upper-left hand corner of the box.
var box = scene.getBoxById("htmlBox");
if (box)
{
    box.loadURL("http://www.aol.com");
    box.setCaretPos(25, 268);
}