Flex:如何在可编辑文本区域/文本输入中更改插入符号(文本光标)

问题描述:

我需要将一个可编辑的文本区域放在一起,该区域具有不同于默认闪烁垂直线的自定义插入符号(光标).

I need to put together an editable text area that has a custom caret (cursor) which is different from the default blinking vertical line.

插入符号是文本输入的可换肤"属性吗?

Is the caret a "skinnable" property of text input?

请注意,我不是在询问可以使用 CursorManager 设置的鼠标指针光标.

Please note that I am not asking about the mouse pointer cursor which can be set using the CursorManager.

谢谢.-拉吉

不,插入符号的外观和行为由 Flash 播放器本身控制.无法以编程方式访问它.

No, the look and behaviour of the caret is controlled by the Flash player itself. There is no programmatic access to it.